License: Creative Commons Attribution 4.0 International license (CC BY 4.0)
When quoting this document, please refer to the following
DOI: 10.4230/LIPIcs.ICDT.2021.10
URN: urn:nbn:de:0030-drops-137181
URL: http://dagstuhl.sunsite.rwth-aachen.de/volltexte/2021/13718/
Doleschal, Johannes ;
Bratman, Noa ;
Kimelfeld, Benny ;
Martens, Wim
The Complexity of Aggregates over Extractions by Regular Expressions
Abstract
Regular expressions with capture variables, also known as "regex-formulas", extract relations of spans (intervals identified by their start and end indices) from text. In turn, the class of regular document spanners is the closure of the regex formulas under the Relational Algebra. We investigate the computational complexity of querying text by aggregate functions, such as sum, average, and quantile, on top of regular document spanners. To this end, we formally define aggregate functions over regular document spanners and analyze the computational complexity of exact and approximate computation. More precisely, we show that in a restricted case, all studied aggregate functions can be computed in polynomial time. In general, however, even though exact computation is intractable, some aggregates can still be approximated with fully polynomial-time randomized approximation schemes (FPRAS).
BibTeX - Entry
@InProceedings{doleschal_et_al:LIPIcs.ICDT.2021.10,
author = {Doleschal, Johannes and Bratman, Noa and Kimelfeld, Benny and Martens, Wim},
title = {{The Complexity of Aggregates over Extractions by Regular Expressions}},
booktitle = {24th International Conference on Database Theory (ICDT 2021)},
pages = {10:1--10:20},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-179-5},
ISSN = {1868-8969},
year = {2021},
volume = {186},
editor = {Yi, Ke and Wei, Zhewei},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/opus/volltexte/2021/13718},
URN = {urn:nbn:de:0030-drops-137181},
doi = {10.4230/LIPIcs.ICDT.2021.10},
annote = {Keywords: Information extraction, document spanners, regular expressions, aggregation functions}
}
Keywords: |
|
Information extraction, document spanners, regular expressions, aggregation functions |
Collection: |
|
24th International Conference on Database Theory (ICDT 2021) |
Issue Date: |
|
2021 |
Date of publication: |
|
11.03.2021 |