Replies: 1 comment
-
Hi, hmz indeed, currently there is no setting to pass the processing mode to the underlying jsonld-java library, though it should be easy to add... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm just trying to parse some JSON-LD, but getting the error:
com.github.jsonldjava.core.JsonLdError: invalid term definition: 1.1
.I think the problem is that I need to tell the JSON-LD parser to use version 1.1 processing mode (and I suspect something to do with pruning BNodes, which my sample JSON-LD does indeed contain), but my question is: can I set the JSON-LD processing mode when using RDF4J to create the parser for me (i.e.,
Rio.createParser(format)
)?Here's my sample code (which works fine on 'simple' JSON-LD):
...and here's the sample JSON-LD that I'm trying to parse:
Beta Was this translation helpful? Give feedback.
All reactions