I cannot piece together a workable configuration for fuseki2 with an
OntModel.

Combining the config-tdb-dir template with info from
http://jena.markmail.org/message/wr3f6gy5orxbszyd I get the config shown
below.

When I put this as file "tdb-owl.ttl" in the FUSEKI_BASE/configuration
directory, fuseki says "Can't find .../tdb-owl.ttl" on startup. When I
point to it with --config option on fuseki-server.bat command line,
fuseki starts but the dataset does not appear.

<#service_tdb> rdf:type fuseki:Service ;
    rdfs:label                      "TDB DB" ;
    fuseki:name                     "db" ;
    fuseki:serviceQuery             "query" ;
    fuseki:serviceQuery             "sparql" ;
    fuseki:serviceUpdate            "update" ;
    fuseki:serviceUpload            "upload" ;
    fuseki:serviceReadWriteGraphStore      "data" ;
    # A separate read-only graph store endpoint:
    fuseki:serviceReadGraphStore       "get" ;
    fuseki:dataset           <#dataset> ;
    .

<#dataset> rdf:type       ja:RDFDataset ;
   ja:defaultGraph       <#model_inf> ;
    .

<#model_inf> rdf:type ja:OntModel ;
    ja:baseModel <#tdbGraph> ;
    ja:ontModelSpec ja:OWL_DL_MEM_RULE_INF;
.

<#tdbDataset> rdf:type tdb:DatasetTDB ;
   tdb:location "DB" ;
   .

<#tdbGraph> rdf:type tdb:GraphTDB ;
   tdb:dataset <#tdbDataset> 
.

Thanks,
--Paul

Reply via email to