We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Provide template for diff queries between two revisions with
Should be possible with
CONSTRUCT { GRAPH <added> { ?s_a ?p_a ?o_a} GRAPH <deleted> { ?s_d ?p_d ?o_d} GRAPH <same> { ?s_s ?p_s ?o_s} } WHERE { GRAPH <dataset> REVISION "2" { ?s_d ?p_d ?o_d. ?s_s ?p_s ?o_s. } GRAPH <dataset> REVISION "5" { ?s_a ?p_a ?o_a. ?s_s ?p_s ?o_s. } MINUS { GRAPH <dataset> REVISION "5" { ?s_d ?p_d ?o_d. } } MINUS { GRAPH <dataset> REVISION "2" { ?s_a ?p_a ?o_a. } } }
Create a API for this query dependant on graph, from and to:
graph
from
to
http://localhost:9998/r43ples/diff?graph=<dataset>&from=<revision1>&to=<revision2>
Optionally the request can be specified to a specific resource with the additional query fragment resource:
resource
http://localhost:9998/r43ples/diff?graph=<dataset>&from=<revision1>&to=<revision2>&resource=<resource>
The result should provide a TRIG serialisation of the changes:
<added> { // added triples } <deleted> { //deleted triples } <same> { //same triples }
The text was updated successfully, but these errors were encountered:
Okay, CREATE doesn't support Named Graphs.
CREATE
Furthermore, the temp graph is overwritten by the same graph with another revision number. I have to fix this first
Sorry, something went wrong.
Same Triples:
CONSTRUCT {?s ?p ?o.} WHERE { GRAPH <http://test.com/r43ples-dataset-1> REVISION "2" { ?s ?p ?o. } GRAPH <http://test.com/r43ples-dataset-1> REVISION "5" { ?s ?p ?o. } }
added triples
CONSTRUCT {?s ?p ?o.} WHERE { GRAPH <http://test.com/r43ples-dataset-1> REVISION "5" { ?s ?p ?o. } MINUS {GRAPH <http://test.com/r43ples-dataset-1> REVISION "2" { ?s ?p ?o. } } }
deleted triples
CONSTRUCT {?s ?p ?o.} WHERE { GRAPH <http://test.com/r43ples-dataset-1> REVISION "2" { ?s ?p ?o. } MINUS { GRAPH <http://test.com/r43ples-dataset-1> REVISION "5" { ?s ?p ?o. } } }
markusgraube
Tyr3al
No branches or pull requests
Provide template for diff queries between two revisions with
Should be possible with
Create a API for this query dependant on
graph
,from
andto
:Optionally the request can be specified to a specific resource with the additional query fragment
resource
:The result should provide a TRIG serialisation of the changes:
The text was updated successfully, but these errors were encountered: