scholarly journals Constant-Delay Enumeration for Nondeterministic Document Spanners

2021 ◽  
Vol 46 (1) ◽  
pp. 1-30
Author(s):  
Antoine Amarilli ◽  
Pierre Bourhis ◽  
Stefan Mengel ◽  
Matthias Niewerth

We consider the information extraction framework known as document spanners and study the problem of efficiently computing the results of the extraction from an input document, where the extraction task is described as a sequential variable-set automaton (VA). We pose this problem in the setting of enumeration algorithms, where we can first run a preprocessing phase and must then produce the results with a small delay between any two consecutive results. Our goal is to have an algorithm that is tractable in combined complexity, i.e., in the sizes of the input document and the VA, while ensuring the best possible data complexity bounds in the input document size, i.e., constant delay in the document size. Several recent works at PODS’18 proposed such algorithms but with linear delay in the document size or with an exponential dependency in size of the (generally nondeterministic) input VA. In particular, Florenzano et al. suggest that our desired runtime guarantees cannot be met for general sequential VAs. We refute this and show that, given a nondeterministic sequential VA and an input document, we can enumerate the mappings of the VA on the document with the following bounds: the preprocessing is linear in the document size and polynomial in the size of the VA, and the delay is independent of the document and polynomial in the size of the VA. The resulting algorithm thus achieves tractability in combined complexity and the best possible data complexity bounds. Moreover, it is rather easy to describe, particularly for the restricted case of so-called extended VAs. Finally, we evaluate our algorithm empirically using a prototype implementation.

2019 ◽  
Vol 17 (09) ◽  
pp. 1950070
Author(s):  
A. Bellour ◽  
M. Bousselsal ◽  
H. Laib

The main purpose of this work is to provide a numerical approach for linear second-order differential and integro-differential equations with constant delay. An algorithm based on the use of Taylor polynomials is developed to construct a collocation solution [Formula: see text] for approximating the solution of second-order linear DDEs and DIDEs. It is shown that this algorithm is convergent. Some numerical examples are included to demonstrate the validity of this algorithm.


Author(s):  
Mark Kaminski ◽  
Bernardo Cuenca Grau ◽  
Egor V. Kostylev ◽  
Boris Motik ◽  
Ian Horrocks

There has recently been an increasing interest in declarative data analysis, where analytic tasks are specified using a logical language, and their implementation and optimisation are delegated to a general-purpose query engine. Existing declarative languages for data analysis can be formalised as variants of logic programming equipped with arithmetic function symbols and/or aggregation, and are typically undecidable. In prior work, the language of limit programs was proposed, which is sufficiently powerful to capture many analysis tasks and has decidable entailment problem. Rules in this language, however, do not allow for negation. In this paper, we study an extension of limit programs with stratified negation-as-failure. We show that the additional expressive power makes reasoning computationally more demanding, and provide tight data complexity bounds. We also identify a fragment with tractable data complexity and sufficient expressivity to capture many relevant tasks.


Author(s):  
Vladislav Ryzhikov ◽  
Przemyslaw Andrzej Walega ◽  
Michael Zakharyaschev

We investigate the data complexity of answering queries mediated by metric temporal logic ontologies under the event-based semantics assuming that data instances are finite timed words timestamped with binary fractions. We identify classes of ontology-mediated queries answering which can be done in AC0, NC1, L, NL, P, and coNP for data complexity, provide their rewritings to first-order logic and its extensions with primitive recursion, transitive closure or datalog, and establish lower complexity bounds.


2016 ◽  
Vol 2016 ◽  
pp. 1-9 ◽  
Author(s):  
H. R. Marzban ◽  
S. M. Hoseini

An efficient computational technique for solving linear delay differential equations with a piecewise constant delay function is presented. The new approach is based on a hybrid of block-pulse functions and Legendre polynomials. A key feature of the proposed framework is the excellent representation of smooth and especially piecewise smooth functions. The operational matrices of delay, derivative, and product corresponding to the mentioned hybrid functions are implemented to transform the original problem into a system of algebraic equations. Illustrative examples are included to demonstrate the validity and applicability of the proposed numerical scheme.


2020 ◽  
Vol 34 (03) ◽  
pp. 2782-2789
Author(s):  
Gianluca Cima ◽  
Maurizio Lenzerini ◽  
Antonella Poggi

In the context of the Description Logic DL-Liteℛ≠, i.e., DL-Liteℛ without UNA and with inequality axioms, we address the problem of adding to unions of conjunctive queries (UCQs) one of the simplest forms of negation, namely, inequality. It is well known that answering conjunctive queries with unrestricted inequalities over DL-Liteℛ ontologies is in general undecidable. Therefore, we explore two strategies for recovering decidability, and, hopefully, tractability. Firstly, we weaken the ontology language, and consider the variant of DL-Liteℛ≠ corresponding to rdfs enriched with both inequality and disjointness axioms. Secondly, we weaken the query language, by preventing inequalities to be applied to existentially quantified variables, thus obtaining the class of queries named UCQ≠,bs. We prove that in the two cases, query answering is decidable, and we provide tight complexity bounds for the problem, both for data and combined complexity. Notably, the results show that answering UCQ≠,bs over DL-Liteℛ≠ ontologies is still in AC0 in data complexity.


Author(s):  
Przemysław A. Wałęga ◽  
Bernardo Cuenca Grau ◽  
Mark Kaminski ◽  
Egor V. Kostylev

We study the complexity and expressive power of DatalogMTL - a knowledge representation language that extends Datalog with operators from metric temporal logic (MTL) and which has found applications in ontology-based data access and stream reasoning. We establish tight PSpace data complexity bounds and also show that DatalogMTL extended with negation on input predicates can express all queries in PSpace; this implies that MTL operators add significant expressive power to Datalog. Furthermore, we provide tight combined complexity bounds for the forward-propagating fragment of DatalogMTL, which was proposed in the context of stream reasoning, and show that it is possible to express all PSpace queries in the fragment extended with the falsum predicate.


2010 ◽  
Vol 130 (7) ◽  
pp. 1118-1124 ◽  
Author(s):  
Kenji Takato ◽  
Dai Suzuki ◽  
Takashi Ishii ◽  
Masato Kobayashi ◽  
Hirokazu Yamada ◽  
...  

Sign in / Sign up

Export Citation Format

Share Document