Open markusgraube opened 7 years ago
Okay, CREATE
doesn't support Named Graphs.
Furthermore, the temp graph is overwritten by the same graph with another revision number. I have to fix this first
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.
}
}
}
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: