Created
September 6, 2017 16:37
Star
You must be signed in to star a gist
Fuseki Configuration with inference
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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 tdb: <http://jena.hpl.hp.com/2008/tdb#> . | |
@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> . | |
[] rdf:type fuseki:Server ; | |
fuseki:services ( | |
<#fedoraService> | |
) . | |
<#fedoraService> rdf:type fuseki:Service ; | |
# URI of the dataset -- http://host:port/fedora | |
fuseki:name "fedora" ; | |
fuseki:serviceQuery "sparql" ; | |
fuseki:serviceQuery "query" ; | |
fuseki:serviceUpdate "update" ; | |
fuseki:serviceUpload "upload" ; | |
fuseki:serviceReadWriteGraphStore "data" ; | |
fuseki:serviceReadGraphStore "get" ; | |
fuseki:dataset <#dataset> . | |
<#dataset> rdf:type ja:RDFDataset ; | |
ja:defaultGraph <#model> . | |
<#model> rdf:type ja:InfModel ; | |
ja:baseModel <#tdbGraph> ; | |
ja:content <#skos> , <#dc> , <#dcterms> , <#foaf> , <#wgs84> , <#ldp> , <#fedora> ; | |
ja:content <#appTriples> ; | |
ja:reasoner [ | |
ja:reasonerURL <http://jena.hpl.hp.com/2003/OWLFBRuleReasoner>] . | |
<#tdbGraph> rdf:type tdb:GraphTDB ; | |
tdb:dataset <#tdbDataset> . | |
<#tdbDataset> rdf:type tdb:DatasetTDB ; | |
tdb:location "Fedora" . | |
# Ontologies | |
<#skos> ja:externalContent <file:///etc/fuseki/skos.rdf> . | |
<#dc> ja:externalContent <file:///etc/fuseki/dc.rdf> . | |
<#dcterms> ja:externalContent <file:///etc/fuseki/dcterms.rdf> . | |
<#foaf> ja:externalContent <file:///etc/fuseki/foaf.rdf> . | |
<#wgs84> ja:externalContent <file:///etc/fuseki/wgs84.rdf> . | |
<#ldp> ja:externalContent <file:///etc/fuseki/ldp.rdf> . | |
<#fedora> ja:externalContent <file:///etc/fuseki/fedora.rdf> . | |
# Application-specific assertions | |
<#appTriples> ja:literalContent "<http://fedora.info/definitions/v4/repository#hasParent> owl:inverseOf <http://www.w3.org/ns/ldp#contains>" . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment