The University of Southampton
University of Southampton Institutional Repository

Scalable containment for unions of conjunctive queries under constraints

Scalable containment for unions of conjunctive queries under constraints
Scalable containment for unions of conjunctive queries under constraints
We consider the problem of query containment under ontological constraints, such as those of RDFS. Query containment, i.e., deciding whether the answers of a given query are always contained in the answers of another query, is an important problem to areas such as database theory and knowledge representation, with applications to data integration, query optimization and minimization. We consider unions of conjunctive queries, which constitute the core of structured query languages, such as SPARQL and SQL. We also consider ontological constraints or axioms, expressed in the language of Tuple-Generating Dependencies. TGDs capture RDF/S and fragments of Description Logics. We consider classes of TGDs for which the chase is known to terminate. Query containment under chase-terminating axioms can be decided by first running the chase on one of the two queries and then rely on classic relational containment. When considering unions of conjunctive queries, classic algorithms for both the chase and containment phases suffer from a large degree of redundancy. We leverage a graph-based modeling of rules, that represents multiple queries in a compact form, by exploiting shared patterns amongst them. As a result we couple the phases of both for chase and regular containment and end up with a faster and more scalable algorithm. Our experiments show a speedup of close to two orders of magnitude.
1-8
Konstantinidis, George
f174fb99-8434-4485-a7e4-bee0fef39b42
Ambite, Jose Luis
0a7ecac4-d15d-47c9-ac49-c06d8525f9d7
Konstantinidis, George
f174fb99-8434-4485-a7e4-bee0fef39b42
Ambite, Jose Luis
0a7ecac4-d15d-47c9-ac49-c06d8525f9d7

Konstantinidis, George and Ambite, Jose Luis (2013) Scalable containment for unions of conjunctive queries under constraints. Proceedings of the Fifth Workshop on Semantic Web Information Management, , New York, United States. pp. 1-8 .

Record type: Conference or Workshop Item (Paper)

Abstract

We consider the problem of query containment under ontological constraints, such as those of RDFS. Query containment, i.e., deciding whether the answers of a given query are always contained in the answers of another query, is an important problem to areas such as database theory and knowledge representation, with applications to data integration, query optimization and minimization. We consider unions of conjunctive queries, which constitute the core of structured query languages, such as SPARQL and SQL. We also consider ontological constraints or axioms, expressed in the language of Tuple-Generating Dependencies. TGDs capture RDF/S and fragments of Description Logics. We consider classes of TGDs for which the chase is known to terminate. Query containment under chase-terminating axioms can be decided by first running the chase on one of the two queries and then rely on classic relational containment. When considering unions of conjunctive queries, classic algorithms for both the chase and containment phases suffer from a large degree of redundancy. We leverage a graph-based modeling of rules, that represents multiple queries in a compact form, by exploiting shared patterns amongst them. As a result we couple the phases of both for chase and regular containment and end up with a faster and more scalable algorithm. Our experiments show a speedup of close to two orders of magnitude.

This record has no associated files available for download.

More information

Published date: June 2013
Venue - Dates: Proceedings of the Fifth Workshop on Semantic Web Information Management, , New York, United States, 2013-06-23

Identifiers

Local EPrints ID: 504282
URI: http://eprints.soton.ac.uk/id/eprint/504282
PURE UUID: 9bfd11cd-fb5d-4c36-a6cb-ad9c525cf1e8

Catalogue record

Date deposited: 02 Sep 2025 17:09
Last modified: 02 Sep 2025 17:09

Export record

Contributors

Author: George Konstantinidis
Author: Jose Luis Ambite

Download statistics

Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.

View more statistics

Atom RSS 1.0 RSS 2.0

Contact ePrints Soton: eprints@soton.ac.uk

ePrints Soton supports OAI 2.0 with a base URL of http://eprints.soton.ac.uk/cgi/oai2

This repository has been built using EPrints software, developed at the University of Southampton, but available to everyone to use.

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we will assume that you are happy to receive cookies on the University of Southampton website.

×