You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jena.apache.org by GitBox <gi...@apache.org> on 2022/07/07 09:43:27 UTC

[GitHub] [jena] natebowang commented on issue #1431: OWLFBRuleReasoner do not work

natebowang commented on issue #1431:
URL: https://github.com/apache/jena/issues/1431#issuecomment-1177324543

   Not sure if this is the case. But someone [mentioned `ja:content` doesn't go with presistent db](https://stackoverflow.com/a/65225260/6943364). 
   
   My config looks like yours except for the `ja:content` part, and it works: 
   
   ```ttl
   # Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
   
   PREFIX :        <https://github.com/site-bender#>
   PREFIX fuseki:  <http://jena.apache.org/fuseki#>
   PREFIX rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
   PREFIX rdfs:    <http://www.w3.org/2000/01/rdf-schema#>
   PREFIX tdb2:    <http://jena.apache.org/2016/tdb#>
   PREFIX ja:      <http://jena.hpl.hp.com/2005/11/Assembler#>
   
   ## ---------------------------------------------------------------
   ## Updatable TDB2 dataset im-memory with all services enabled.
   
   :service
       rdf:type                          fuseki:Service ;
       rdfs:label                        "TDB2 ds" ;
       fuseki:name                       "ds" ;
       fuseki:serviceQuery               "" ;
       fuseki:serviceQuery               "sparql" ;
       fuseki:serviceQuery               "query" ;
       fuseki:serviceUpdate              "" ;
       fuseki:serviceUpdate              "update" ;
       fuseki:serviceReadWriteGraphStore "data" ;
       fuseki:serviceReadGraphStore      "get" ;
       fuseki:dataset                    :dataset ;
   .
   
   :dataset
       rdf:type        ja:RDFDataset ;
       ja:defaultGraph :defaultInferenceModel ;
   .
   
   :defaultInferenceModel
       rdf:type     ja:InfModel ;
       ja:baseModel :tdbGraph ;
       ja:reasoner  [ ja:reasonerURL <http://jena.hpl.hp.com/2003/OWLFBRuleReasoner> ] ;
   .
   
   :tdbGraph
       rdf:type     tdb2:GraphTDB2 ;
       tdb2:dataset :tdbDataset ;
   .
   
   :tdbDataset
       rdf:type      tdb2:DatasetTDB2 ;
       tdb2:location "--mem--" ;
   .
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org