Joseki SPARQL End Point Not Working Correctly With Named Graphs Local or Global Inferencing (Doc ID 1574109.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Spatial - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

Joseki SPARQL End Point not working correctly with named graphs

If Joseki points to a model with rules defined, in our case OWLPRIME, and the non infered triples have a named graph associated, then the output of the SPARQL query using the GRAPH syntax misses all the inferred triples. The reason is the select of the infered data view :
SELECT * FROM "MDSYS"."RDFI_MS3_IDX2" WHERE G_ID IS NOT NULL
G_ID in our case is null because no named graph is associated to the infered data.
Even if you do so, they is no way you can give the same name graph found in the loaded triples to the inferred triples, and therefore the output would be still wrong.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms