Optimizing SPARQL Queries using Shape Statistics
Lists
Only you see this
Abstract
<strong>Abstract:</strong> With the growing popularity of storing data in native RDF, we witness more and more diverse use cases with complex SPARQL queries. As a consequence, query optimization - and in particular cardinality estimation and join ordering - becomes even more crucial. Classical methods exploit global statistics covering the entire RDF graph as a whole, which naturally fails to correctly capture correlations that are very common in RDF datasets, which then leads to erroneous cardinality estimations and suboptimal query execution plans. The alternative of trying to capture correlations in a fine-granular manner, on the other hand, results in very costly preprocessing steps to create these statistics. Hence, in this paper we propose shapes statistics, which extend the recent SHACL standard with statistic information to capture the correlation between classes and properties. Our extensive experiments on synthetic and real data show that shapes statistics can be generated and managed with only little overhead without disadvantages in query runtime while leading to noticeable improvements in cardinality estimation. Visit our website. Some of the datasets used in the experimentation are provided here.
BibTeX
@inproceedings{rabbani2023optimizing,
author = {Kashif Rabbani and Matteo Lissandrini and Katja Hose},
title = {{Optimizing SPARQL Queries using Shape Statistics}},
booktitle = {Zenodo},
year = {2023},
doi = {10.5281/zenodo.8047852},
}Loading related content...