Open adlerfaulkner opened 2 years ago
Thanks for your issue! This is a consequence of using the RDF4J writers, see https://github.com/eclipse/rdf4j/issues/3643. There's not much we can do at this moment (I also cannot find a way, e.g., via JSONLD compacting, to fix this).
Got it. Thanks for the info! Handled it with a hack on my end.
When exectuing a mapping with serialization set to
jsonld
and with arr:predicateObjectMap
that hasrr:predicate rdf:type
, the resulting jsonld useshttp://www.w3.org/1999/02/22-rdf-syntax-ns#type
as a key instead of@type
.For example with the mapping:
The jsonld I get as response is:
I would expect this to give me: