Skip to content
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

More interoperability with pyRDFlib #56

Open
Mec-iS opened this issue Sep 14, 2018 · 2 comments
Open

More interoperability with pyRDFlib #56

Mec-iS opened this issue Sep 14, 2018 · 2 comments
Labels
post-poned Will do later

Comments

@Mec-iS
Copy link
Contributor

Mec-iS commented Sep 14, 2018

What we want is probably to use some parts from RDFlib with our Redis backend. Investigate.

@shravandoda
Copy link
Contributor

shravandoda commented Feb 9, 2019

RDFlib uses it's own implementation of graph and uses SPARQL for querying the graph. I don't know how would we integrate the two. Redisgraph is a general purpose graph database which uses open-cypher as the querying language. RDFlib has the advantage that it's designed to work with Linked-Data rather than being a general purpose graph database. But still the final decision will depend upon how the user wants to query the data. Moreover, implementing TPF is easier with RDFlib as it makes it easier to deal with triples.

@Mec-iS
Copy link
Contributor Author

Mec-iS commented Mar 22, 2019

My first idea was to use RDFlib as intermediate representation for then storing the result into Redisgraph. We should first see if there are pros in doing something like that. As Hydra is a Linked Data technology, we probably want to make Redisgraph "a little less general" and more "specialized" in Linked Data by using some functionalities from RDFlib.
In general:

server-side data --> client fetches -->
relevant sub-graph is temporary parsed in RDFlib --> data is updated in Redis

In this case the nodes/properties stored in Redisgraph may contain some additional flags or "headers" carried on from the RDFlib representation. For how to use RDFlib with Hydra see the original hydra-py client.

@Mec-iS Mec-iS added post-poned Will do later and removed GSOC-2019 labels Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
post-poned Will do later
Projects
None yet
Development

No branches or pull requests

2 participants