-
Notifications
You must be signed in to change notification settings - Fork 60
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
Timing support for GRAPH and FROM NAMED clauses in qlever #1501
Comments
hi @hannahbast , thanks for the reply. I would be happy to test this with a custom docker image, but this would also be somewhere next week |
Tested the PR with a nq file with 3m triples. |
For queries not only counting all triples, but filtering, I get the following error:
|
@sennierer In particular, what will work with 1445 is
What will not yet work, but follow soon is
|
@Stiksels By the end of this week or the beginning of next week, this will be merged into the master and then also the latest Docker image will support |
@hannahbast thanks for the update, looking forward to test this! For our specific use case, datasets with many Named Entity Graphs, the Is there a different PR that tracks this feature that I can follow? |
@joka921 |
@Stiksels Can you provide a (not unnecessarily complex) example query for your use case? |
@hannahbast were you able to download the compressed NQ dataset from #1468 ? This dataset contains Events (~2mio) and the Locations (~100k) where they took place. Each entity is stored in it's own named graph. This would be a typical query to fetch both event and location details:
|
@Stiksels Thanks! I have just pushed a beta version with basic support for named graphs. You can try it with And can you please provide the link to your dataset again? I was too late for each of your two posts regarding this in #1468 |
@hannahbast with this docker image, the IndexBuilder is significantly slower to parse the triples (0.2M/s) vs the image with tag named-graphs-beta
|
I uploaded the file to Google Drive and shared it with [email protected]. This is the downloadlink: |
@Stiksels I now managed to download your datasets and build a QLever index for it in 2.5 minutes. The query uses the The query returns 30,589 rows, the first one is as follows. Is this correct?
|
@hannahbast thanks for the feedback. I'll look into updating the graph IRI so that it differs from the subject IRI of the event/location inside. Would you have any explanation why there is such a difference in index-building-speed between your setup and mine? With the |
With the latest docker image that contains #1520 the GRAPH and FROM NAMED clauses are now supported. I'll close this issue |
@joka921 with PR #1444 merged, there is now a NQuad parser and it seems to work. However, the sparql server doesn't support the
GRAPH
andFROM NAMED
clauses yet, so the named graphs are still queried as if they are all part from one large graph. Do you have a timeline for when these clauses are supported?Originally posted by @Stiksels in #1334 (comment)
The text was updated successfully, but these errors were encountered: