LinkedDataFragments / Client.js

[DEPRECATED] A JavaScript client for Triple Pattern Fragments interfaces.
http://linkeddatafragments.org/
Other
92 stars 35 forks source link

Split Triple Pattern Client / Query Engine #12

Closed bergos closed 5 years ago

bergos commented 9 years ago

@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:

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.

RubenVerborgh commented 9 years ago

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.

bergos commented 9 years ago

@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.

RubenVerborgh commented 9 years ago

@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.

elf-pavlik commented 6 years ago

@bergos based on https://github.com/beautifulinteractions/node-quadstore/issues/50#issuecomment-334885366 it looks like Quads will land very soon https://github.com/LinkedDataFragments/Client.js/commits/feature-qpf-latest

bergos commented 5 years ago

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