-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for named graphs #3
Comments
How did you generate the HDT files? |
I built 'hdt-cpp' with 'serd' and used the tool 'rdf2hdt'. I first concat multiple gz files and gunzip them and did the convertion: |
I have tried the other way: convert turtle format to nt format first using serdi, then convert nt file into hdt. The fuseki server can start now. I am starting fuseki server with three hdt files. The server can start and when I run no records returned... Any comment? |
To generalize my question, how to configure hdt-fuseki to allow sparql query against named graph. |
here is part of my config file:
|
It seems to me that 'hdt-fuseki' can only work with default graph instead of named graph, am I missing something? |
It seems FROM and FROM NAMED clauses do not work, but if I do |
Retitled the ticket to reflect the remaining issue at hand. |
👍 |
@QuentinJanuel: hola, this is the issue and here is an example of data, just take a subset for it .... https://data.dws.informatik.uni-mannheim.de/structureddata/2022-12/quads/ Also Antoine just pushed code to parse quads. So this part is fine : ) |
I just modified the 'fuseki_example.ttl' a little bit to make it point to two hdt files I have generated. But I got the following error message when I tried to start the fuseki with config file:
[fug2@virtuosodev11 hdt-fuseki]$ bin/hdtEndpoint.sh --config=fuseki_example.ttl
com.hp.hpl.jena.assembler.exceptions.AssemblerException: caught: Adjacency list bitmap and array should have the same size
doing:
root: file:///home/fug2/hdt-java/hdt-fuseki/fuseki_example.ttl#graph1 with type: http://www.rdfhdt.org/fuseki#HDTGraph assembler class: class org.rdfhdt.hdtjena.HDTGraphAssembler
root: file:///home/fug2/hdt-java/hdt-fuseki/fuseki_example.ttl#dataset with type: http://jena.hpl.hp.com/2005/11/Assembler#RDFDataset assembler class: class com.hp.hpl.jena.sparql.core.assembler.DatasetAssembler
the changed fuseki_example.ttl file is as follow:
The text was updated successfully, but these errors were encountered: