Please use this identifier to cite or link to this item: http://hdl.handle.net/1942/34828
Title: The Complexity of Aggregates over Extractions by Regular Expressions
Authors: DOLESCHAL, Johannes 
Bratman, Noa
Kimelfeld, Benny
MARTENS, Wim 
Issue Date: 2021
Publisher: Schloss Dagstuhl - Leibniz-Zentrum für Informatik
Source: Ke, Ke; Wei, Zhewei (Ed.). 24th International Conference on Database Theory (ICDT 2021), Schloss Dagstuhl - Leibniz-Zentrum für Informatik, (Art N° 10)
Series/Report: Leibniz International Proceedings in Informatics (LIPIcs)
Series/Report no.: 186
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).
Keywords: Information extraction;document spanners;regular expressions;aggregation functions
Document URI: http://hdl.handle.net/1942/34828
ISBN: 9783959771795
DOI: 10.4230/lipics.icdt.2021.10
Category: C1
Type: Proceedings Paper
Appears in Collections:Research publications

Files in This Item:
File Description SizeFormat 
LIPIcs-ICDT-2021-10.pdfPublished version924.62 kBAdobe PDFView/Open
Show full item record

Page view(s)

26
checked on Sep 7, 2022

Download(s)

8
checked on Sep 7, 2022

Google ScholarTM

Check

Altmetric


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.