Hello,
I would like to load an ontology file *.ttl and a file containing Jena rules *.rules to a Fuseki 3.10.0 server and perform interactive SPARQL queries on http://localhost:3030/ Uploading the *.ttl file via the GUI and executing SPARQL queries on those triples works fine. Uploading the *.rules file via the GUI results in a parse error on the very first character in the file (@prefix ) Result: failed with message "Parse error: [line: 1, col: 1 ] Content ist nicht zulässig in Prolog." I then consulted this post: <https://github.com/jfmunozf/Jena-Fuseki-Reasoner-Inference/wiki/Configuring -Apache-Jena-Fuseki-2.4.1-inference-and-reasoning-support-using-SPARQL-1.1:- Jena-inference-rules,-RDFS-Entailment-Regimes-and-OWL-reasoning> https://github.com/jfmunozf/Jena-Fuseki-Reasoner-Inference/wiki/Configuring- Apache-Jena-Fuseki-2.4.1-inference-and-reasoning-support-using-SPARQL-1.1:-J ena-inference-rules,-RDFS-Entailment-Regimes-and-OWL-reasoning I followed the instructions and added a configuration file, specifying both *.ttl and *.rules file. :dataset rdf:type ja:RDFDataset ; rdfs:label "ArtOntology" ; ja:defaultGraph [ rdfs:label "ArtOntology" ; a ja:InfModel ; #Reference to ontology file ja:content [ja:externalContent <file:///C:/apache-jena-fuseki-3.10.0/run/databases/ArtOntology_en.ttl> ] ; #Disable OWL-based reasoner #ja:reasoner [ja:reasonerURL <http://jena.hpl.hp.com/2003/OWLFBRuleReasoner>] ; #Disable RDFS-based reasoner #ja:reasoner [ja:reasonerURL <http://jena.hpl.hp.com/2003/RDFSExptRuleReasoner>] ; #Enable Jena Rules-based reasoner and we point the location of rules file ja:reasoner [ ja:reasonerURL <http://jena.hpl.hp.com/2003/GenericRuleReasoner> ; ja:rulesFrom <file:///C:/apache-jena-fuseki-3.10.0/run/databases/ArtOntology.rules> ; ] ; ] ; . However, on Fuseki server startup, the files are not loaded and the specified rules have no effect on SPARQL queries. How to load the *.rules file to the Fuseki server? Thank you for your help Bernhard
smime.p7s
Description: S/MIME cryptographic signature
