We investigate the class D of queries that distribute over components. These are the queries that can be evaluated by taking the union of the query results over the connected components of the database instance. We show that it is undecidable whether a (positive) Datalog program distributes over components. Additionally, we show that connected Datalog with Negation (the fragment of Datalog with Negation where all rules are connected) provides an effective syntax for Datalog with Negation programs that distribute over components under the stratified as well as under the well-founded semantics. As a corollary, we obtain a simple proof for one of the main results in previous work [Zinn, Green, and Ludäscher, ICDT2012], namely, that the classic win-move query is in F_2 (a particular class of coordination-free queries).
@InProceedings{ameloot_et_al:LIPIcs.ICDT.2015.308, author = {Ameloot, Tom J. and Ketsman, Bas and Neven, Frank and Zinn, Daniel}, title = {{Datalog Queries Distributing over Components}}, booktitle = {18th International Conference on Database Theory (ICDT 2015)}, pages = {308--323}, series = {Leibniz International Proceedings in Informatics (LIPIcs)}, ISBN = {978-3-939897-79-8}, ISSN = {1868-8969}, year = {2015}, volume = {31}, editor = {Arenas, Marcelo and Ugarte, Mart{\'\i}n}, publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik}, address = {Dagstuhl, Germany}, URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ICDT.2015.308}, URN = {urn:nbn:de:0030-drops-49920}, doi = {10.4230/LIPIcs.ICDT.2015.308}, annote = {Keywords: Datalog, stratified semantics, well-founded semantics, coordination-free evaluation, distributed databases} }
Feedback for Dagstuhl Publishing