home » zplus/dokk.org.git
ID: e4e476f1bbfab5e46d0d03510dc00474f0cf2b69
39 lines — 1K — View raw


PREFIX :        <dokk:configuration:>
PREFIX fuseki:  <http://jena.apache.org/fuseki#>
PREFIX ja:      <http://jena.hpl.hp.com/2005/11/Assembler#>
PREFIX rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs:    <http://www.w3.org/2000/01/rdf-schema#>
PREFIX tdb1:    <http://jena.hpl.hp.com/2008/tdb#>
PREFIX tdb2:    <http://jena.apache.org/2016/tdb#>

:g1
    ja:graphName :graph:graph ;
    ja:graph [
        a tdb2:GraphTDB2 ;
        tdb2:location "/home/fuseki/fuseki_base/databases/graph"
        # tdb2:graphName ... None, use default unnamed
    ] .

:g2
    ja:graphName :graph:manpages ;
    ja:graph [
        a tdb2:GraphTDB2 ;
        tdb2:location "/home/fuseki/fuseki_base/databases/manpages"
    ] .

:dataset
    a ja:RDFDataset ;
    # ja:defaultGraph ...
    ja:namedGraph :g1 , :g2 .

:endpoint
    # Without a name: /endpoint?query=
    # With a name:    /endpoint/name/?query=
    # fuseki:name "query" ;
    fuseki:operation fuseki:query .

:service
    a               fuseki:Service ;
    fuseki:name     "dokk" ;
    fuseki:dataset  :dataset ;
    fuseki:endpoint :endpoint .