On 26/02/18 10:24, Svensson, Lars wrote:
This one works (but doesn't use inferencing):
And same config.ttl file?
What happens if you add the inference layer to one of these models in
this configuration?
(I'm not a HDT user so all I can do is help you debug this.)
Andy
@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#> .
@prefix hdt: <http://www.rdfhdt.org/fuseki#> .
@prefix : <#> .
<#standard> rdf:type fuseki:Service ;
fuseki:name "standard" ;
fuseki:serviceQuery "query" , "sparql" ;
fuseki:serviceReadGraphStore "data" ;
fuseki:dataset <#all> .
<#all> rdf:type ja:RDFDataset ;
rdfs:label "All DNB data" ;
tdb:unionDefaultGraph true ;
This does not do anything. This is not a TDB dataset.
ja:defaultGraph <#dnb-all-graph> ;
ja:namedGraph [
ja:graphName<http://my.domain/graph1> ;
ja:graph <#authorities-graph>
] ;
ja:namedGraph [
ja:graphName<http://my.domain/graph2> ;
ja:graph <#dnb-all-graph>
] ;
ja:namedGraph [
ja:graphName<http://my.domain/graph3> ;
ja:graph <#MACS-graph>
] ;
ja:namedGraph [
ja:graphName<http://my-domain/graph4> ;
ja:graph <#dnb-all:dma-graph>
].
<#authorities-graph> a hdt:HDTGraph ;
rdfs:label "Authorities Graph from HDT-File" ;
hdt:fileName "/path/to/file1.hdt" .
<#dnb-all-graph> a hdt:HDTGraph ;
rdfs:label "DNB-All from HDT-File" ;
hdt:fileName "/path/to/file2.hdt" .
<#MACS-graph> a hdt:HDTGraph ;
rdfs:label "MACS from HDT-File" ;
hdt:fileName "/path/to/file3.hdt" .
<#dnb-all:dma-graph> a hdt:HDTGraph ;
rdfs:label "DNB-DMA from HDT file" ;
hdt:fileName "/path/to/file4.hdt" .