Asma, Z., Hernandez, D., Galárraga, L., Flouris, G., Fundulaki, I., & Hose, K. (2024).
Code and benchmark for NPCS, a Native Provenance Computation for SPARQL.
https://doi.org/10.18419/darus-3973
Abstract
Code for the implementation and benchmark of NPCS, a Native Provenance Computation for SPARQL.The code in this dataset includes the implementation of the NPCS system, which is a middleware for SPARQL endpoints that rewrites queries to queries that annotate answers with provenance polynomials (i.e., how-provenance data). The translation rules implemented for the query rewriting can be seen in the paper.Also, the code contains scripts that include scripts and services to automatize the query execution.We use GraphDB (version 10.2.0) and Stardog (version 9.1.0) for the SPARQL endpoints. Because of the license restrictions, these software products cannot be included in this dataset and must be downloaded from the respective vendors. Also, the data must be loaded using the respective bulk loaders of GraphDB and Stardog.The datasets used in the experiments can be generated synthetic dataset generator of the WatDiv benchmark. The Wikidata dataset corresponds to the full RDF dump from May 22, 2023.Do not hesitate to contact the authors for any inquiries.BibTeX
Abstract
This dataset contains the implementation code for an algorithm to infer SHACL shapes that the graph returned by an SPARQL CONSTRUCT query must satisfy if the input satisfies a given set of SHACL shapes. This dataset also includes an evaluation for the algorithm. The algorithm implemented in this dataset is proposed in the paper From Shapes to Shapes: Inferring SHACL Shapes for Results of SPARQL CONSTRUCT Queries. To execute the code, follow the instructions in the README.md file. For more info, please check the paper, and please have no hesitation to contact the authors for any inquiries.BibTeX