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
Statements with type declarations are being written out with the expanded rdf:type IRI rather than the @type shorthand when using the JSONLD Writer. Changing the JSONLDSettings. USE_RDF_TYPE property appears to have no effect on the out.
When writing out a model that has an individual with types other than owl:NamedIndividual, the JSONLD Writer prints out the full IRI for rdf:type for the non owl:NamedIndividual types but will correctly write out the @type for owl:NamedIndividual.
Current Behavior
Statements with type declarations are being written out with the expanded
rdf:type
IRI rather than the@type
shorthand when using the JSONLD Writer. Changing theJSONLDSettings. USE_RDF_TYPE
property appears to have no effect on the out.When writing out a model that has an individual with types other than
owl:NamedIndividual
, the JSONLD Writer prints out the full IRI forrdf:type
for the nonowl:NamedIndividual
types but will correctly write out the@type
forowl:NamedIndividual
.For example,
Becomes:
Expected Behavior
All types for a given subject should be written out with the
@type
annotation.The above example should become:
Steps To Reproduce
https://github.com/daltontc/rdf4jTest/tree/bug/multiple_types
Version
3.7.4
Are you interested in contributing a solution yourself?
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: