Hi,

I try to get a TDB dataset with a union default graph and a reasoner to work.

For a simple TDB dataset with a union default graph I used:

tdb:DatasetTDB  rdfs:subClassOf  ja:RDFDataset .
<#dataset> a tdb:DatasetTDB ;
     tdb:location "ds" ;
     tdb:unionDefaultGraph true .

For reasoning with TDB I used:

<#dataset> a ja:RDFDataset ;
     ja:defaultGraph <#model> .
<#model> a ja:InfModel ;
     ja:baseModel <#tdbGraph> ;
     ja:reasoner [
         ja:reasonerURL <http://jena.hpl.hp.com/2003/OWLFBRuleReasoner>
     ] .
<#tdbGraph> a tdb:GraphTDB ;
     tdb:location "ds" .

Now I have no clue how to bring them together. The domain of tdb:unionDefaultGraph is tdb:DatasetTDB, but the example with reasoning uses ja:RDFDataset.

Is it even possible to use reasoning with a union default graph?

Regards,
Niclas

Reply via email to