{"title":"Constant Delay Enumeration for FO Queries over Databases with Local Bounded Expansion","authors":"L. Segoufin, Alexandre Vigny","doi":"10.4230/LIPIcs.ICDT.2017.20","DOIUrl":null,"url":null,"abstract":"We consider the evaluation of first-order queries over classes of databases with local bounded expansion. This class was introduced by Nesetril and Ossona de Mendez and generalizes many well known classes of databases, such as bounded degree, bounded tree width or bounded expansion. It is known that over classes of databases with local bounded expansion, first-order sentences can be evaluated in pseudo-linear time (pseudo-linear time means that for all \\epsilon there exists an algorithm working in time O(n^{1+\\epsilon})). Here, we investigate other scenarios, where queries are not sentences. We show that first-order queries can be enumerated with constant delay after a pseudo-linear preprocessing over any class of databases having locally bounded expansion. We also show that, in this context, counting the number of solutions can be done in pseudo-linear time.","PeriodicalId":90482,"journal":{"name":"Database theory-- ICDT : International Conference ... proceedings. International Conference on Database Theory","volume":"9 1","pages":"20:1-20:16"},"PeriodicalIF":0.0000,"publicationDate":"2017-03-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"26","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Database theory-- ICDT : International Conference ... proceedings. International Conference on Database Theory","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4230/LIPIcs.ICDT.2017.20","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 26
Abstract
We consider the evaluation of first-order queries over classes of databases with local bounded expansion. This class was introduced by Nesetril and Ossona de Mendez and generalizes many well known classes of databases, such as bounded degree, bounded tree width or bounded expansion. It is known that over classes of databases with local bounded expansion, first-order sentences can be evaluated in pseudo-linear time (pseudo-linear time means that for all \epsilon there exists an algorithm working in time O(n^{1+\epsilon})). Here, we investigate other scenarios, where queries are not sentences. We show that first-order queries can be enumerated with constant delay after a pseudo-linear preprocessing over any class of databases having locally bounded expansion. We also show that, in this context, counting the number of solutions can be done in pseudo-linear time.
考虑一类具有局部有界展开的数据库一阶查询的求值问题。这个类是由Nesetril和Ossona de Mendez介绍的,它概括了许多众所周知的数据库类,如有界度、有界树宽度或有界扩展。众所周知,在具有局部有界展开的数据库类上,一阶句子可以在伪线性时间内求值(伪线性时间意味着对于所有\epsilon存在一个在时间O(n^{1+\epsilon})内工作的算法)。这里,我们研究其他场景,其中查询不是句子。我们证明了在具有局部有界扩展的任何一类数据库上,经过伪线性预处理后,一阶查询可以以恒定延迟枚举。我们还证明,在这种情况下,计算解的个数可以在伪线性时间内完成。