-
Notifications
You must be signed in to change notification settings - Fork 11
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
Solid-default link traversal takes exponential time to execute SPARQL #60
Comments
Thanks for reporting! |
On the 402 resource I see up to 90s network activity in the console (805 requests). After 90s no new network activity. |
I'm not surprised about this :-) This is (most likely) due to the zero-knowledge query planner that we're using for link traversal, which produces non-optimal query plans. (it's the only thing that exists for traversal atm, so it's the best we got) |
@phochste Could you make those containers public (so I can test), or test yourself again to see if the issue is any better (I don't expect it to be fully resolved yet, but probably better). |
@rubensworks the demo repositories above have been made world readable again |
I don't seem to be getting any results anymore. Perhaps the underlying data changed? |
@rubensworks No the underlying data did not change. But I see there is an error in the JSON-LD data. I had
This is I'm changing the demo documents right now to create a valid |
I'm going to close this issue due to non-reproducibility. Happy to re-open if needed. |
Issue type:
Description:
The solid-default configuration of the Comunica Link Traversal client takes exponential time to execute queries on a LDP container with many resources.
In my example Pod I have LDN inboxes that contain hundreds to thousands of JSON-LD resources. Every JSON-LD resource has the same structure: an
object
key which contains asubject
,predicate
andobject
key. E.g.I would like to have a list of all such keys over all resources in an LDP container. The query I use is:
I have 4 example LDP containers:
Executing the SPARQL on resource 209 takes 17.2 seconds and has 209 results.
Executing the SPARQL on resource 402 is after 1500 seconds still running (170 results so far). The first results appeared after 250 seconds.
Environment:
Comunica version: 2.1.0
On Chrome 100.0.4896.127
Crash log:
The text was updated successfully, but these errors were encountered: