The complexity of reverse engineering problems for conjunctive queries
Author
dc.contributor.author
Barceló Baeza, Pablo
Author
dc.contributor.author
Romero, Miguel
Admission date
dc.date.accessioned
2019-05-29T13:30:19Z
Available date
dc.date.available
2019-05-29T13:30:19Z
Publication date
dc.date.issued
2017
Cita de ítem
dc.identifier.citation
Leibniz International Proceedings in Informatics, LIPIcs, Volumen 68
Identifier
dc.identifier.issn
18688969
Identifier
dc.identifier.other
10.4230/LIPIcs.ICDT.2017.7
Identifier
dc.identifier.uri
https://repositorio.uchile.cl/handle/2250/168925
Abstract
dc.description.abstract
Reverse engineering problems for conjunctive queries (CQs), such as query by example (QBE) ordefinability, take a set of user examples and convert them into an explanatory CQ. Despite theirimportance, the complexity of these problems is prohibitively high (coNEXPTIME-complete).We isolate their two main sources of complexity and propose relaxations of them that reduce thecomplexity while having meaningful theoretical interpretations. The first relaxation is based onthe idea of using existential pebble games for approximating homomorphism tests. We show thatthis characterizes QBE/definability for CQs up to treewidthk, while reducing the complexity toEXPTIME. As a side result, we obtain that the complexity of the QBE/definability problemsfor CQs of treewidthkis EXPTIME-complete for eachk≥1. The second relaxation is based onthe idea of “desynchronizing” direct products, which characterizes QBE/definability for unionsof CQs and reduces the complexity to coNP. The combination of these two relaxations yieldstractability for QBE and characterizes it in terms of unions of CQs of treewidth at mostk.We also study the complexity of these problems for conjunctive regular path queries over graphdatabases, showing them to be no more difficult than for CQs.
Lenguage
dc.language.iso
en
Publisher
dc.publisher
Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing