Splitting Spanner Atoms: A Tool for Acyclic Core Spanners

04/10/2021
by   Dominik D. Freydenberger, et al.
0

This paper investigates regex CQs with string equalities (SERCQs), a subclass of core spanners. As shown by Freydenberger, Kimelfeld, and Peterfreund (PODS 2018), these queries are intractable, even if restricted to acyclic queries. This previous result defines acyclicity by treating regex formulas as atoms. In contrast to this, we propose an alternative definition by converting SERCQs into FC-CQs – conjunctive queries in FC, a logic that is based on word equations. We introduce a way to decompose word equations of unbounded arity into a conjunction of binary word equations. If the result of the decomposition is acyclic, then evaluation and enumeration of results become tractable. The main result of this work is an algorithm that decides in polynomial time whether an FC-CQ can be decomposed into an acyclic FC-CQ. We also give an efficient conversion from synchronized SERCQs to FC-CQs with regular constraints. As a consequence, tractability results for acyclic relational CQs directly translate to a large class of SERCQs.

READ FULL TEXT

page 9

page 11

page 15

page 17

page 26

page 27

page 33

page 35

research
01/13/2022

Rewriting with Acyclic Queries: Mind your Head

The paper studies the rewriting problem, that is, the decision problem w...
research
05/23/2018

Decidable Logics Combining Word Equations, Regular Expressions and Length Constraints

In this work, we consider the satisfiability problem in a logic that com...
research
02/13/2018

Query learning of derived ω-tree languages in polynomial time

We present the first polynomial time algorithm to learn nontrivial class...
research
11/10/2014

Answering Conjunctive Queries over EL Knowledge Bases with Transitive and Reflexive Roles

Answering conjunctive queries (CQs) over EL knowledge bases (KBs) with c...
research
08/02/2022

Conjunctive Queries for Logic-Based Information Extraction

This thesis offers two logic-based approaches to conjunctive queries in ...
research
12/05/2022

Word Equations in Synergy with Regular Constraints (Technical Report)

When eating spaghetti, one should have the sauce and noodles mixed inste...
research
09/24/2019

Dynamic Complexity of Document Spanners

The present paper investigates the dynamic complexity of document spanne...

Please sign up or login with your details

Forgot password? Click here to reset