I have a midsize dataset (55k triples) and a model of eventually a hundred triples. what is the preferred mode to manage these?

during development of the mode: should i include the dataset as ja:content and load the model after each change using the browser? I understand there is no way for the reasoner to use data not stored in the default graph. correct?

i appreciate any advice!

andrew



On 12/12/2017 04:47 AM, Dave Reynolds wrote:
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"
         .



--
em.o.Univ.Prof. Dr. sc.techn. Dr. h.c. Andrew U. Frank
                                 +43 1 58801 12710 direct
Geoinformation, TU Wien          +43 1 58801 12700 office
Gusshausstr. 27-29               +43 1 55801 12799 fax
1040 Wien Austria                +43 676 419 25 72 mobil

Reply via email to