LinkedDataFragments / Client.js

[DEPRECATED] A JavaScript client for Triple Pattern Fragments interfaces.

Home Page:http://linkeddatafragments.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Split Triple Pattern Client / Query Engine

bergos opened this issue · comments

@RubenVerborgh I'm using this package to do SPARQL queries on RDF-Ext Stores. This package may be useful for any library with a triple/quad pattern like interface to provide a SPARQL interface. But it may be useful to bundle it a little bit different:

  • LinkedDataFragment client
    • query engine
    • triple pattern client

What do you think about it?

Also I would like to work on quad support. This could be also useful for LDF to access multiple LDF servers/urls in a single query using named graphs.

Hi @bergos, this is certainly interesting, and has been one of our mid-term goals. Doing so will take us some time, however. (Since this activity is not core research, we have to prioritize other things).

Technically speaking, it is no problem of course: we already use dependency injection in the code, so instead of a remote Triple Pattern Fragments client, a local store can be plugged in.

@RubenVerborgh I added named graph support to my fork. I have to write some complex nested SPARQL query tests to test the edge cases, but it works already for RDF-Ext. It shouldn't break existing code. So maybe you want to merge the patch.

@bergos Great to hear!

To merge this in the TPF client, we'd first need to decide how to deal with graphs. The current TPF interface does not have graphs, and there are multiple options for adding them. E.g., maybe the interface is the graph, or maybe it should have a fourth element.

I will close this issue as the requested feature is supported by the successor Comunica.