afs commented on issue #2196: URL: https://github.com/apache/jena/issues/2196#issuecomment-1894161522
Hi @Tomvbe, Jena uses [Titanium JSON-LD](https://github.com/filip26/titanium-json-ld) for parsing JSON-LD. Tracing the example, Jena calls Titanium with ```java private void read(Document document, String baseURI, StreamRDF output, Context context) throws JsonLdError { // JSON-LD to RDF JsonLdOptions opts = getJsonLdOptions(baseURI, context); RdfDataset dataset = JsonLd.toRdf(document).options(opts).base(baseURI).get(); extractPrefixes(document, output::prefix); JenaTitanium.convert(dataset, profile, output); } ``` `opts` is `new JsonLdOptions()`, `baseURI` is null. It seems the URI coming back from Titanium in `RdfDataset` is "http://example/documentRestaurant" so it looks like an issue within Titanium. cc: @filip26 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
