violetcyl opened a new issue, #1431:
URL: https://github.com/apache/jena/issues/1431

   ### Version
   
   apache-jena-fuseki-4.5.0,apache-jena-4.5.0
   
   ### Question
   
   I want to use jena OWLFBRuleReasoner for rule reasoning,but if fails.
   I can get query results but no inference results with OWLFBRuleReasoner. I 
confirm ontology.ttl is correct, because I can get inference results  by using 
protege.
   If I customize the rules with GenericRuleReasoner ,I can get inference 
results.
   I can't figure out it,could you help ?
   
   
   Fuseki_conf.ttl
   @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#> .
   
   
   :service1        a                fuseki:Service ;
   fuseki:dataset                    <#dataset> ;
   fuseki:name                       "privilegeGuide" ;
   fuseki:serviceQuery               "query" , "sparql" ;
   fuseki:serviceReadGraphStore      "get" ;
   fuseki:serviceReadWriteGraphStore "data" ;
   fuseki:serviceUpdate              "update" ;
   fuseki:serviceUpload              "upload" .
   
   
   <#dataset> rdf:type ja:RDFDataset ;
       ja:defaultGraph <#model_inf> ;
       .
   
   <#model_inf> a ja:InfModel ;
       ja:baseModel <#tdbGraph> ;
   
       #本体文件的路径
       ja:content [ja:externalContent 
<file://Users/Jena_Fuseki/apache-jena-fuseki-4.5.0/run/databases/ontology.ttl > 
] ;
       
       #启用OWL推理机
       ja:reasoner [
           ja:reasonerURL <http://jena.hpl.hp.com/2003/OWLFBRuleReasoner>
       ]; .
   
   <#tdbGraph> rdf:type tdb:GraphTDB ;
       tdb:dataset <#tdbDataset> ;
       .
   
   <#tdbDataset> rdf:type tdb:DatasetTDB ;
       tdb:location "../apache-jena-4.5.0/tdb" ;


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to