-
Notifications
You must be signed in to change notification settings - Fork 30
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 LDF (linked data fragments) endpoints #19
Comments
Hi Ali, I've been trying to get my LD-R app to work with the Linked Data Fragments client , but connecting them seemed not to work. This is the workflow I've tried:
It might be possible that the above approach was quite naive. There might be issues with the endpointType from LD-R, as ldf-client-http sparql endpoints is a new kind of endpoint for LD-R (meaning that some queries need to be adapted). On the other hand, I was not able to make a POST request using postman on the ldf-client-http instance, but this might just be me :) Any ideas? Did you already played with ldf-client-http? |
The fact is that LDF client/server has a limited coverage of the SPARQL specification. As you clearly see in the error msg, it doesn't support aggregate functions such as GROUP BY. For that you need to rewrite most of the current LD-R SPARQL query templates. |
Thanks for your response, Ali! Can you point me to the LD-R code that contains these SPARQL query templates? I found these: https://github.com/ali1k/ld-r/tree/master/services/sparql, but there might be more? But I also guess that the current LD-R UI is expecting SPARQL aggregating functionality, right? So changing the queries would not be enough, as there would need to be some kind of update regarding the UI (in case of connecting to a LDF sparql endpoint)? |
There's also potentially an issue with queries containing IN operator:
|
Maybe it's more interesting to look to the Comunica project which includes a SPARQL interface. This somehow seems to be the successor of the LDF client.js and can also deal with LDF and other Linked Data sources. See LinkedDataFragments/Client.js#42 Sadly enough, I can't run Comunica on Windows, but it works for me on my old Mac |
need to deal with streaming query result
The text was updated successfully, but these errors were encountered: