Update Rewriter

The SPARQL1.1 Update Rewriter (JAR) has been written in Java using the Jena for the purpose of prototypically implementing various update Semantics described in [ACP14].

How to run

command:
   java -jar -Xmx64g updaterewriter.jar SemMat0 tdb ./TDB/tdbMat0 Ontologies/Universities0-14.owl RDF/XML lubm01-update.ru

The order of arguments (-) and parameters (''): 
    -updateSemantics 
        'SemMat0' - baseline materialized-preserving semantics, update followed by materialize operator
        'SemMat1a' - DRed with one triple store
        'SemMat1b' - DRed with two (distinguished) triple stores
        'SemMat2' - rewrites the delete and insert template, using UNIONs in the WHERE clause
        'SemMat2\'' -  rewrites the delete and insert template, using OPTIONAL in the WHERE clause
        'SemRed0' - baseline reduce preserving, update followed by reduce operator.
        'SemRed1' - rewrites the delete template, where clause with UNIONs to match the new variables. Followed by reduce.
        'SemRed1\'' - rewrites the delete template, where clause with OPTIONAL to match the new variables. Followed by reduce.

    -triplestoretype 'tdb'
    -triplestore  specifies the triple store path
    -initontology    specifies the path to the ontology  for initialization of the triplestore
    -initontologytype specifies the type of the ontology for init, e.g. RDF/XML, N3 
    -updaterequest   specifies the updaterequest path
 
For batch running of the update semantics you can take advantage of the shell script here .

Experimental Data

Ontology

The reduced RDFS version of LUBM you can find it here and the changes from the original LUBM are described in this Markdown file here.

Updates

The list of updates aggregated as one file can be found here.

Test data

The test data comprised of 5, 10 and 15 Universities respectively.

Results

All results in the tables linked below are given in milliseconds (ms).

Summary of update results

lubm-update01
lubm-update01a
lubm-update02
lubm-update03
lubm-update04
lubm-update04a
lubm-update05

References

[ACP14] Updating RDFS ABoxes and TBoxes in SPARQL Albin Ahmeti, Diego Calvanese and Axel Polleres

Technical Report .pdf ]

Contact

Albin Ahmeti
SPARQL1.1 Update Rewriter uses PerfectRef query rewriter by Stefan Bischof.