home » zplus/dokk.org.git
ID: 863b9960eb44c7f508d14913f3d3245ca898b061
43 lines — 1K — View raw


# This is a configuration file for Fuseki if using multiple databases.
# To query the union of all graphs, the quey must be sent to
# https://example.org/endpoint?default-graph-uri=urn:x-arq:UnionGraph'

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 .