afs/rdf-delta

Example to start

charbull opened this issue ยท 10 comments

Hello,

This is super interesting ! is there any example to start?

Thank you,
Charbel

afs commented

Not really any yet - there are the tests.

What sort of usage are you interested in? The patch format? Ways to use the patch format for publishing? For high availability?

Hello,
My use case is the following:
My gateways push their topology in RDF format.
Their topology information contains localisation of sensors, measurements, and how they communicate with each others.
When someone changes a sensor for various reasons, or place it in a new location, the gateway regenerates the rdf and sends it to my remote server.
So I have no way of knowing what really changed. I would like to use your work to detect the changes that occurred on my gateway.

Is this possible?

afs commented

Yes, that sound possible. rdf-delta provides tools to capture changes as they happen to data (it's comparing two datasets after changes have happened). As the changes happen, which means all adds and deletes of triples, quads, and prefixes, an RDF patch file, which is a transaction log, is created.

While the patch format and protocol are system neutral, the integration tools is with Apache Jena. You set up a dataset for the data with a wrapper around it to capture the changes including the case for Fuseki (assembler provided - no codeing necessary).

This is what I am looking for :)

Are you planning to write some documentation to start with the topic? or maybe you already have a paper or any doc?

Thank

afs commented

Hopefully soon, the web site will have examples.

Your use case sounds like either:

  1. a local dataset being changed, and changes sent to a SPARQL server.
  2. a local dataset being changed, and changes sent to patch log server, where changes can be picked up by several other applications, including a SPARQL server but other kinds of applications.

That's great ! looking forward to it !

afs commented

Examples: rdf-delta-examples in the GH repo such as DeltaEx2_DatasetCollectPatch that collects and print changes.

There is a specific page about replicated Fuseki servers which is keeping two datasets sync'ed.

Hope that helps,

@afs Thank you !
Is it possible to use ref-delta server with just SPAxRQL endpoints without a Fueski server?
https://afs.github.io/rdf-delta/ha-fuseki.html

Thx

afs commented

A Delta server works in patches. Something needs to send out the patch.

It possible (in theory - the code isn't currently active) to have any standard SPARQL Update endpoint updated from a patch server, caveat that blank nodes across changes can't be handled.

afs commented

Closing because there are examples.