I am new to Apache Jena and Fuseki. I was able to run the docker version of Fuskei (jena-fuseki-docker-3.17.0 distribution) successfully. However, I am not that successful with being able to run Fuskei with any reasoner. Appreciate any help you can
In order to narrow down the problem, I am now running Fuseki in Standalone mode in Windows 10 > fuseki-server --tdb2 --loc data -v --update /ds I modified the Template file (config-tdb2-dir) at ./run/templates/config-tdb2-dir # Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0 # PREFIX : <#> 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 with all services enabled. <#service_tdb_all> rdf:type fuseki:Service ; rdfs:label "TDB2 {NAME}" ; fuseki:name "{NAME}" ; fuseki:serviceQuery "" ; fuseki:serviceQuery "sparql" ; fuseki:serviceQuery "query" ; fuseki:serviceUpdate "" ; fuseki:serviceUpdate "update" ; fuseki:serviceUpload "upload" ; fuseki:serviceReadWriteGraphStore "data" ; fuseki:serviceReadGraphStore "get" ; # fuseki:dataset <#tdb_dataset_readwrite> ; fuseki:dataset <#inferred_dataset> ; . <#tdb_dataset_readwrite> rdf:type tdb2:DatasetTDB2 ; tdb2:location "{DIR}" ; ##tdb2:unionDefaultGraph true ; . <#inferred_dataset> a ja:RDFDataset ; ja:defaultGraph <#inference_model> . <#inference_model> a ja:InfModel ; ja:reasoner [ja:reasonerURL <http://jena.hpl.hp.com/2003/GenericRuleReasoner>] ; ja:baseModel <#tdb_graph> . <#tdb_graph> a tdb2:GraphTDB ; tdb2:dataset <#tdb_dataset_readwrite> ; I am getting the following exception 21:16:19 INFO Config :: Template file: templates/config-tdb2-dir 21:16:20 ERROR Server :: Exception in initialization: cannot find a most specific type for :tdb_graph, which has as possibilities: ja:Model tdb2:GraphTDB. 21:16:20 WARN WebAppContext :: Failed startup of context o.e.j.w.WebAppContext@2c88a3e8{Apache Jena Fuseki Server,/,file:///C:/developer/graph/bin/apache-jena-fuseki-3.17.0/webapp/,UNAVAILABLE} org.apache.jena.assembler.exceptions.AmbiguousSpecificTypeException: cannot find a most specific type for :tdb_graph, which has as possibilities: ja:Model tdb2:GraphTDB. at org.apache.jena.assembler.assemblers.AssemblerGroup$PlainAssemblerGroup.open(AssemblerGroup.java:142) ~[fuseki-server.jar:3.17.0] at org.apache.jena.assembler.assemblers.AssemblerGroup$ExpandingAssemblerGroup.open(AssemblerGroup.java:93) ~[fuseki-server.jar:3.17.0] at org.apache.jena.assembler.assemblers.AssemblerBase.openModel(AssemblerBase.java:74) ~[fuseki-server.jar:3.17.0] I could figure out what I am missing. Appreciate any help you can with this. Thank You Gowrisankar