Oracle:namedModelURI Does Not Provide Expected Functionality (Doc ID 1954128.1)

Last updated on FEBRUARY 08, 2017

Applies to:

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

Symptoms

When using the oracle:allGraphs the SPARQL queries in joseki works fine

## --------------------------------------------------------------
## Datasets
#
[] ja:loadClass "oracle.spatial.rdf.client.jena.assembler.OracleAssemblerVocab" .

oracle:Dataset rdfs:subClassOf ja:RDFDataset .

rdf:type oracle:Dataset;
  joseki:poolSize 2 ; ## Number of concurrent connections allowed to this dataset.
  oracle:connection
  [ a oracle:OracleConnection ;
  oracle:dataSourceName "OracleSemDS"
  ];
  oracle:allGraphs [ oracle:firstModel "census_lod_named" ] .


The problem arise when they try to config the service to restrict the access to only the triple having the three defined namedGraphs (http//..Territorio, .... DatasetPopolazioneSez, etc ...) as specified in 7.2.2 particularly to specify named graph in datset; below the piece of doc where described

  Specify named graphs in the dataset. For example, you can create a named graph called <http://G1> based on two Oracle models and an entailment, as follows.

   rdf:type oracle:Dataset;
  joseki:poolSize 1 ; ## Number of concurrent connections allowed to this dataset.
  oracle:connection
  [ a oracle:OracleConnection ;
  ];
  oracle:namedModel [ oracle:firstModel "ABOX";
  oracle:modelName "TBOX";
  oracle:rulebaseName "OWLPRIME";
  oracle:namedModelURI <http://G1> ] .

  The object of namedModel can take the same specifications as defaultModel,....

This is being used in a particular case that shows below:

oracle:namedModel [ oracle:firstModel "census_lod_named";
  oracle:rulebaseName "OWLSIF";
  oracle:namedModelURI <http://rdf.istat.it/graph/Territorio>;
  oracle:namedModelURI <http://rdf.istat.it/graph/DatasetPopolazioneSez>;
  oracle:namedModelURI <http://rdf.istat.it/graph/DatasetPopStranieraSez>] .

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