The current reasoners are not graph aware and so do indeed only work
over the default graph.
Dave
On 12/12/17 00:03, Andrew U. Frank wrote:
i try to use the OWL reasoner in fusekii and the browser and have
followed instructions on the web. I can make a reasoner work, if the
reasoner and the data are in the same default graph. if i have the data
in a different graph (i tend to separate my data into various graphs -
perhaps this is not a good idea?) i have no reasoning.
i wish i could - at least - include in the reasoning one graph
containing data. how to achieve this? is the reasoner only working on
the data in the default graph?
i appreciate help!
andrew
my TDB file is:
@prefix : <http://base/#> .
@prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix fuseki: <http://jena.apache.org/fuseki#> .
:service_tdb_all a fuseki:Service ;
fuseki:dataset :dataset ;
fuseki:name "animals" ;
fuseki:serviceQuery "query" , "sparql" ;
fuseki:serviceReadGraphStore "get" ;
fuseki:serviceReadWriteGraphStore "data" ;
fuseki:serviceUpdate "update" ;
fuseki:serviceUpload "upload" .
:dataset a ja:RDFDataset ;
ja:defaultGraph <#model_inf> ;
.
<#model_inf> a ja:InfModel ;
ja:baseModel <#graph> ;
ja:reasoner [
ja:reasonerURL <http://jena.hpl.hp.com/2003/OWLFBRuleReasoner>
] .
<#graph> rdf:type tdb:GraphTDB ;
tdb:dataset :tdb_dataset_readwrite .
:tdb_dataset_readwrite
a tdb:DatasetTDB ;
tdb:location "/home/frank/corpusLocal/animalsTest"
.