-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The RO-Crate context contains a few prefixes, such as:
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfa": "http://www.w3.org/ns/rdfa#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
These are occasionally used to introduce terms such as rdfs:label - such as in Add local definitions of ad hoc terms. This is valid within compacted JSON-LD.
However, using such terms causes an error in the validator:
[ ro-crate-1.1_2 ]: File Descriptor JSON-LD format
The file descriptor MUST be a valid JSON-LD file
Failed checks
[ ro-crate-1.1_2.1 ] Validation of the compaction format of the file descriptor:
Check if the file descriptor is in the compacted JSON-LD format
Detected issues
- [Violation]: The 1 occurrence of the JSON-LD key "rdfs:label" is not allowed in the compacted format because it is not present in
the @context of the document
Expected behaviour
Terms which include prefixes that appear in the @context should be considered valid.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working