Github user fpservant commented on the issue:
    I have reverted to an unmodified version of RDFDataMgr (without write 
methods with a context param). 
    I am sorry that I take so long to finalize this stuff. Remember that one 
thing that we want to be able to do is to pass a (JSONLD) context (as a jena 
context) to the Writer, in order to have it used when computing the output. But 
there is a problem with JSONLD java (see [issue 
184]( it doesn't seem 
possible (or at least, easy) to let the user set the (JSONLD) context to 
something like ``"@context": ""``. The best that I can do is 
to pass the content corresponding to the URL (downloaded and converted to a 
map) to the JSONLD API, and then to substitute the @context value with 
""; at the end of the process (just before writing the output).
    (I hadn't seen this problem when I created the pull request, because at 
this time, there was no way to have JSON-LD java download externally defined 
contexts, because of incompatible versions of HttpClient used by jena and 
json-ld java).
    Regarding the way to expose the Symbols that can be set it the (jena) 
context, and the classes expected for the corresponding values, are you OK with 
a JSONLDWriteContext class (extending Context), with methods such as:
            public void setOptions(JsonLdOptions opts) {     
                set(JSONLD_OPTIONS_SYMBOL, opts);
    I try to finalize something quickly and I update this.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

Reply via email to