@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 tdb:     <http://jena.hpl.hp.com/2008/tdb#> .
@prefix tdb2:    <http://jena.apache.org/2016/tdb#> .
@prefix ja:      <http://jena.hpl.hp.com/2005/11/Assembler#> .
@prefix :        <#> .

[] rdf:type fuseki:Server .

<#service> rdf:type fuseki:Service ;
    rdfs:label          "SystemDesignOntology2Layers" ;                             # Human readable label for dataset
    fuseki:name         "SystemDesignOntology2Layers" ;                             # Name of the dataset in the endpoint url
    fuseki:serviceReadWriteGraphStore "SystemDesignOntology2Layers" ;               # SPARQL Graph store protocol (read and write)
    fuseki:endpoint     [ fuseki:operation fuseki:query ; fuseki:name "sparql"  ] ; # SPARQL query service
    fuseki:endpoint     [ fuseki:operation fuseki:shacl ; fuseki:name "shacl" ] ;   # SHACL query service
    
    # Joeri: I added these, because the enactment service expects a single endpoint for query and update:
    fuseki:endpoint     [ fuseki:operation fuseki:update ];
    fuseki:endpoint     [ fuseki:operation fuseki:query ];
    
    fuseki:dataset      <#dataset> .

<#dataset> rdf:type tdb2:DatasetTDB2 ;
    tdb2:location "run/databases/DB2" ;
    ja:context [ ja:cxtName "arq:queryTimeout" ; ja:cxtValue "1000" ] ;
    # Make the default graph be the union of all named graphs.
    tdb2:unionDefaultGraph true ;
