RDFWriter.create()
   .base(baseURI)      // <------ Valid URI.
   .lang(Lang.JSONLD)
   .source(model)
   .output(System.out);

On 17/09/2020 22:44, Erich Bremer wrote:
I have JSONLD that looks like this:

{
"@context": [
"https://schema.org/";
],
"@graph": [
{
"@type": "CreativeWork",
"description": "An impressive description",
"name": "This is an example of JSONLD",
"@id": "./"
}
]
}

I can import it into Jena and convert to Turtle fine.  How can I write from
a Jena Model back to JSON-LD but without a base getting @id like the one
above "./"?   - Erich

Reply via email to