You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, it is operating as designed. Term selection looks for exact patterns, and would have used owl:deprecated if it were "true"^^xsd:boolean, but it needs to match that value pattern, and not a native value. JSON-LD only takes native types into consideration for from and to RDF transformation.
which means that ALL json native values are useless or harmful, and only strings should be used . Right?
Pretty much :) native values generally loose fidelity, and the algorithms intentionally ignore them. JSON-LD is really about interpreting string values.
Given this context
This instance data
is compacted to
As you see, the prefix
owl:
is not used for the property.If I remove the prop type from the context
Then the prop is shortened.
Same happens in playground and https://github.com/digitalbazaar/jsonld-cli/releases/tag/v2.0.0
@msporny @gkellogg is this expected?
The text was updated successfully, but these errors were encountered: