-
Notifications
You must be signed in to change notification settings - Fork 203
Open
Description
Given this context
{"@context":
{"owl": "http://www.w3.org/2002/07/owl#",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"owl:deprecated": {"@type": "xsd:boolean"}
}
}
This instance data
{
"@id": "ex:Ontology",
"http://www.w3.org/2002/07/owl#deprecated": true
}
is compacted to
{
"@context": {
"owl": "http://www.w3.org/2002/07/owl#",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"owl:deprecated": {
"@type": "xsd:boolean"
}
},
"@id": "ex:Ontology",
"http://www.w3.org/2002/07/owl#deprecated": true
}
As you see, the prefix owl:
is not used for the property.
If I remove the prop type from the context
"owl:deprecated": {"@type": "xsd:boolean"}
Then the prop is shortened.
Same happens in playground and https://github.com/digitalbazaar/jsonld-cli/releases/tag/v2.0.0
Metadata
Metadata
Assignees
Labels
No labels