Regular n-ary Queries in Trees and Variable Independence
|
|
- Bruce Haynes
- 6 years ago
- Views:
Transcription
1 Regular n-ary Queries in Trees and Variable Independence Emmanuel Filiot Sophie Tison Laboratoire d Informatique Fondamentale de Lille (LIFL) INRIA Lille Nord-Europe, Mostrare Project IFIP TCS, 2008 E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
2 Motivations n-ary queries φ(x 1,...,x n ) in trees t: select n-tuples of nodes fundamental to XML processing tasks the set of answers can grow exponentially in t (O( t n ) in the worst case) the answers share common information a compact representation is needed E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
3 Aggregated Answers (Meuss, Schulz, Bry, ICDT 01) join-free term over {, } and constants [x n]; Example (aggregated answers) XML document DVDs Aggregated Answer DVD 0 7 DVD0 DVD lang prices prices sub E $... fr ende sub language subtitles E $... ende 8 9 en fr ench Query: (DVD, Lang, Subtitles) E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
4 Advantages of this representation efficient model-checking: τ Ans(φ, t)? efficient enumeration: τ 1,...,τ i,... advanced query answering: answer searching, statistics answer browsing cascade style query-answering view computing E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
5 Objective How compact are aggregated answers? How to measure compactness? E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
6 Objective How compact are aggregated answers? How to measure compactness? compactness is related to variable independence variable independence in the context of infinite constraint databases (Chomicki et. al., PODS 96) (Libkin, TOCL 03) only between blocks of variables, and fixed database we propose a more general notion: dependency forests MSO in ordered finite binary trees E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
7 Objective How compact are aggregated answers? How to measure compactness? compactness is related to variable independence variable independence in the context of infinite constraint databases (Chomicki et. al., PODS 96) (Libkin, TOCL 03) Question only between blocks of variables, and fixed database we propose a more general notion: dependency forests MSO in ordered finite binary trees Given a dependency forest, and a query, are the variables independent w.r.t. this forest? E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
8 Outline 1 variable independence w.r.t. a partition 2 variable independence w.r.t. a dependency forest E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
9 Trees and MSO finite ordered binary trees t are viewed as structures over the signature S 1 (x,y),s 2 (x,y),lab a (x), a Σ, with domain nodes(t) first-order variables x, y, z,... denote nodes second-order variables X, Y, Z,... denote set of nodes existential quantifiers x, X, Boolean operators,,, and membership x X; an MSO formula φ(x 1,...,x n ) defines an n-ary query: Ans(φ,t) = {(u 1,...,u n ) nodes(t) n t = φ(u 1,...,u n )} E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
10 Trees and MSO finite ordered binary trees t are viewed as structures over the signature S 1 (x,y),s 2 (x,y),lab a (x), a Σ, with domain nodes(t) first-order variables x, y, z,... denote nodes second-order variables X, Y, Z,... denote set of nodes existential quantifiers x, X, Boolean operators,,, and membership x X; an MSO formula φ(x 1,...,x n ) defines an n-ary query: Ans(φ,t) = {(u 1,...,u n ) nodes(t) n t = φ(u 1,...,u n )} Example Select all the DVDs: φ(x) = lab DV D (x) E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
11 Trees and MSO finite ordered binary trees t are viewed as structures over the signature S 1 (x,y),s 2 (x,y),lab a (x), a Σ, with domain nodes(t) first-order variables x, y, z,... denote nodes second-order variables X, Y, Z,... denote set of nodes existential quantifiers x, X, Boolean operators,,, and membership x X; an MSO formula φ(x 1,...,x n ) defines an n-ary query: Ans(φ,t) = {(u 1,...,u n ) nodes(t) n t = φ(u 1,...,u n )} Example Select all the triples (dvd,lang,sub): φ(x,y,z) = lab DV D (x) lab lang (y) lab sub (z) desc(x,y) desc(x,z) E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
12 Variable Independence w.r.t. a Partition input: a formula φ(x 1,...,x n ), a partition P = {B 1,...,B k } of {x 1,...,x n } output: is φ equivalent to a formula of the form: N φ 1 i (B 1) φ k i (B k) i=1 where freevar(φ j i ) = B j. We say that φ conforms to P. Theorem Variable independence w.r.t. a partition is decidable, and a decomposition is computable. E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
13 Towards a Characterization of Variable Independence For all i {1,...,k}, consider: Swap i (x,y) = B 1... B i 1 B i+1... B n φ(b 1,...,B i 1, x,b i+1,...,b n ) φ(b 1,...,B i 1, y,b i+1,...,x Bn ) E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
14 Towards a Characterization of Variable Independence For all i {1,...,k}, consider: Swap i (x,y) = B 1... B i 1 B i+1... B n φ(b 1,...,B i 1, x,b i+1,...,b n ) φ(b 1,...,B i 1, y,b i+1,...,x Bn ) intuition: if t = Swap i (u,v) then u and v are not distinguished by φ. E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
15 Towards a Characterization of Variable Independence For all i {1,...,k}, consider: Swap i (x,y) = B 1... B i 1 B i+1... B n φ(b 1,...,B i 1, x,b i+1,...,b n ) φ(b 1,...,B i 1, y,b i+1,...,x Bn ) intuition: if t = Swap i (u,v) then u and v are not distinguished by φ. Every formula Swap i (x,y) defines on a tree t an equivalence relation Ans(Swap i,t) between tuples of size B i. E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
16 Variable Independence Reduces to Query Boundedness Theorem φ conforms to {B 1,...,B k } iff for all i = 1,...,k, Swap i is of bounded index, i.e.: b i 0, t, nodes(t) B i / Ans(Swapi,t) b i The decomposition has the following form: φ(x 1,...,x n ) j φ j cl j 1 (B 1) cl j k (B k) E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
17 On Deciding Boundedness Theorem Given a formula φ(x), we can decide if there is a bound b 0 such that: t, Ans(φ,t) b Moreover, some bound b is computable. 1 translate φ(x) into a canonical {0,1}-labeling transducer T φ 2 decide whether the number of images of any tree by T φ is bounded by some constant [Seidl, habilitation thesis]. Extension to n-ary queries φ(x 1,...,x n ) is bounded iff for each i, the following is bounded: proj i (x) = x 1... x i 1 x i+1... x n φ(x 1,...,x i 1,x,x i+1,...,x n ) E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
18 Bounded Index Property Corollary Bounded index property is decidable for every Swap i (x,y), moreover, an index is computable. 1 define a total order x n y on n-tuples of nodes (by an MSO formula); 2 decide boundedness of Min(x), which selects the minimal representatives of the relation defined by Swap i (x,y). E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
19 Orthographic Dimension Definition (Grumbach, Rigaux, Segoufin, ICDT 99) Let φ(x 1,...,x n ) be a formula, and P the set of partitions P such that φ conforms to P. The orthographic dimension d(φ) is defined by: d(φ) = min {B1,...,B k } P max i B i how to compute it? try every partition of {x 1,...,x n }. improvement: consider only 2-partitions, thanks to the following theorem, adapted from (Cosmadakis, Kuper, Libkin, 01): E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
20 Orthographic Dimension Definition (Grumbach, Rigaux, Segoufin, ICDT 99) Let φ(x 1,...,x n ) be a formula, and P the set of partitions P such that φ conforms to P. The orthographic dimension d(φ) is defined by: d(φ) = min {B1,...,B k } P max i B i how to compute it? try every partition of {x 1,...,x n }. improvement: consider only 2-partitions, thanks to the following theorem, adapted from (Cosmadakis, Kuper, Libkin, 01): Theorem If φ conforms to P 1 and P 2, then φ conforms to P 1 P 2. E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
21 Relation to answer set representation We can compute a formula equivalent to φ(x 1,...,x n ) which corresponds to the orthographic dimension, i.e. a formula N φ 1 i (B 1 ) φ k i (B k ) where d(φ) = max i B i i=1 E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
22 Relation to answer set representation We can compute a formula equivalent to φ(x 1,...,x n ) which corresponds to the orthographic dimension, i.e. a formula N φ 1 i (B 1 ) φ k i (B k ) where d(φ) = max i B i i=1 The aggregated answer on a tree t is of size O(f( φ ). t d(φ) ). compute the answer sets A j i of each φj i represent the answer set by a union (whose size only depends on φ, which is fixed) of cartesian products A 1 i Ak i. E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
23 Outline 1 variable independence w.r.t. a partition 2 variable independence w.r.t. a dependency forest E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
24 Dependency Forest F over a set V = {x 1,...,x n } of variables B 1 B 6 B 2 B 5 B 7 where {B1,...,B7} partitions V B 3 B 4 E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
25 Conformance to a Dependency Forest F {B 1,...,B 7 } partitions V = {x 1,...,x n } B 1 B 6 φ 2 (B 1,B 2 ) φ 3 (B 1,B 5 ) φ 1 (B 6,B 7 ) B 2 B 5 B 7 φ 4 (B 2,B 3 ) φ 5 (B 2,B 4 ) B 3 B 4 µ : edges(f) MSO formulas µ(f) = φ 1 (B 6,B 7 ) φ 2 (B 1,B 3 ) φ 3 (B 1,B 5 ) φ 4 (B 2,B 3 ) φ 5 (B 2,B 5 ) E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
26 Conformance to a Dependency Forest F {B 1,...,B 7 } partitions V = {x 1,...,x n } B 1 B 6 φ 2 (B 1,B 2 ) φ 3 (B 1,B 5 ) φ 1 (B 6,B 7 ) B 2 B 5 B 7 φ 4 (B 2,B 3 ) φ 5 (B 2,B 4 ) B 3 B 4 Definition A formula φ(x 1,...,x n ) conforms to F if there is a finite sequence µ 1,...,µ k such that φ i µ i(f). E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
27 Example x The query φ(x,y,z) : t (DV D,Lang,Sub) conforms to y z E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
28 Relation to Answer Set Representation The set of answers can be represented by an aggregated answer of size O(f( φ ). t 2b ), where b = max i y i. B 1 B 6 B 1 B 6 B 2 B 5 B 7 B 2 B 7 B 5 B 3 B 4 B 3 B 4 E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
29 Main Result Theorem It is decidable whether a formula φ(x 1,...,x n ) conforms to a dependency forest F. 1 decide it for forests of the form B 1 (B 2,B 3 ) signature Σ {0,1} B 1 E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
30 Main Result Theorem It is decidable whether a formula φ(x 1,...,x n ) conforms to a dependency forest F. 1 decide it for forests of the form B 1 (B 2,B 3 ) signature Σ {0,1} B 1 2 inductively: if F = {T 1,...,T k } decompose φ w.r.t. the partition {var(t1 ),..., var(t k )} get a disjunction of the form i α1 i (var(t 1)) α k i (var(t k)) decompose each α j i w.r.t. T j E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
31 Main Result Theorem It is decidable whether a formula φ(x 1,...,x n ) conforms to a dependency forest F. 1 decide it for forests of the form B 1 (B 2,B 3 ) signature Σ {0,1} B 1 2 inductively: if F = B 1 (B 2 (F 1 ),F 2 ): B 1 i φi 1 (B 1, B 2 var(f 1 )) φ i 2 (B 1,var(F 2 )) B 2 var(f 1 )var(f 2 ) B 2 B 1 B 1 F 1 F 2 E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
32 Are tuples of variables really needed in F? Proposition There is an MSO formula φ which does not conform to any dependency forest whose nodes are labeled by single variables. take φ(x, y, z) defined by lca(x, y) = lca(x, z) find counter-examples for every forest F over {x,y,z} E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
33 Perspectives extend the structures beyond trees need an MSO-definable total order decidability of boundedness = variable independence is decidable for unranked trees E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
34 Perspectives extend the structures beyond trees need an MSO-definable total order decidability of boundedness = variable independence is decidable for unranked trees tree pattern queries n-ary tree patterns with desc, child, next sibling, label tests fragments for which the aggregated answers have size O(poly( φ ). t ) E.Filiot S.Tison (LIFL&INRIA) Variable Independence IFIP TCS, / 22
Regular n-ary Queries in Trees and Variable Independence
Regular n-ary Queries in Trees and Variable Independence Emmanuel Filiot 1 and Sophie Tison 1 University of Lille 1, LIFL, UMR 8022 of CNRS, INRIA Lille - Nord Europe EmmanuelFiliot@liflfr SophieTison@liflfr
More informationCompact Representation for Answer Sets of n-ary Regular Queries
Compact Representation for Answer Sets of n-ary Regular Queries by Kazuhiro Inaba (National Institute of Informatics, Japan) and Hauro Hosoya (The University of Tokyo) CIAA 2009, Sydney BACKGROUND N-ary
More informationCompact Representation for Answer Sets of n-ary Regular Queries
Compact Representation for Answer Sets of n-ary Regular Queries Kazuhiro Inaba 1 and Haruo Hosoya 1 The University of Tokyo, {kinaba,hahosoya}@is.s.u-tokyo.ac.jp Abstract. An n-ary query over trees takes
More informationEfficient Reasoning about Data Trees via Integer Linear Programming
Efficient Reasoning about Data Trees via Integer Linear Programming Claire David Université Paris-Est Claire.David@univ-mlv.fr Leonid Libkin University of Edinburgh libkin@inf.ed.ac.uk Tony Tan University
More informationOn the Satisfiability of Two-Variable Logic over Data Words
On the Satisfiability of Two-Variable Logic over Data Words Claire David, Leonid Libkin, and Tony Tan School of Informatics, University of Edinburgh Abstract. Data trees and data words have been studied
More informationQuery Reasoning on Data Trees with Counting
Query Reasoning on Data Trees with Counting Everardo Bárcenas 1,2, Edgard Benítez-Guerrero 2, and Jesús Lavalle 3,4 1 CONACYT 2 Universidad Veracruzana 3 Benemérita Universidad Autónoma de Puebla 4 Instituto
More informationFIRST-ORDER QUERY EVALUATION ON STRUCTURES OF BOUNDED DEGREE
FIRST-ORDER QUERY EVALUATION ON STRUCTURES OF BOUNDED DEGREE INRIA and ENS Cachan e-mail address: kazana@lsv.ens-cachan.fr WOJCIECH KAZANA AND LUC SEGOUFIN INRIA and ENS Cachan e-mail address: see http://pages.saclay.inria.fr/luc.segoufin/
More informationCompact Representation for Answer Sets of n-ary Regular Queries
Compact Representation for Answer Sets of n-ary Regular Queries Kazuhiro Inaba a, Haruo Hosoya b a National Institute of Informatics, 2-1-1, Hitotsubashi, Chiyoda-ku, Tokyo, Japan b The University of Tokyo,
More informationAutomata theory. An algorithmic approach. Lecture Notes. Javier Esparza
Automata theory An algorithmic approach Lecture Notes Javier Esparza July 2 22 2 Chapter 9 Automata and Logic A regular expression can be seen as a set of instructions ( a recipe ) for generating the words
More informationSafety Properties for Querying XML Streams
Safety Properties for Querying XML Streams Olivier Gauwin University of Mons joint work with: J. Niehren, S. Tison, M. Benedikt and G. Puppis Workshop on Timed and Infinite Systems Warwick March 30th,
More informationTransitive Closure Logic, Nested Tree Walking Automata, and XPath
Transitive Closure Logic, Nested Tree Walking Automata, and XPath Balder ten Cate ISLA, Universiteit van Amsterdam and Luc Segoufin INRIA, ENS-Cachan We study FO(MTC), first-order logic with monadic transitive
More informationPattern Logics and Auxiliary Relations
Pattern Logics and Auxiliary Relations Diego Figueira Leonid Libkin University of Edinburgh Abstract A common theme in the study of logics over finite structures is adding auxiliary predicates to enhance
More informationAbstract model theory for extensions of modal logic
Abstract model theory for extensions of modal logic Balder ten Cate Stanford, May 13, 2008 Largely based on joint work with Johan van Benthem and Jouko Väänänen Balder ten Cate Abstract model theory for
More informationA Dichotomy. in in Probabilistic Databases. Joint work with Robert Fink. for Non-Repeating Queries with Negation Queries with Negation
Dichotomy for Non-Repeating Queries with Negation Queries with Negation in in Probabilistic Databases Robert Dan Olteanu Fink and Dan Olteanu Joint work with Robert Fink Uncertainty in Computation Simons
More informationOverview of Topics. Finite Model Theory. Finite Model Theory. Connections to Database Theory. Qing Wang
Overview of Topics Finite Model Theory Part 1: Introduction 1 What is finite model theory? 2 Connections to some areas in CS Qing Wang qing.wang@anu.edu.au Database theory Complexity theory 3 Basic definitions
More informationLearning n-ary Node Selecting Tree Transducers from Completely Annotated Examples
Learning n-ary Node Selecting Tree Transducers from Completely Annotated Examples Aurélien Lemay, Joachim Niehren, Rémi Gilleron To cite this version: Aurélien Lemay, Joachim Niehren, Rémi Gilleron. Learning
More informationComplexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler
Complexity Theory Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Reinhard
More informationOutline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181.
Complexity Theory Complexity Theory Outline Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität
More information1 First-order logic. 1 Syntax of first-order logic. 2 Semantics of first-order logic. 3 First-order logic queries. 2 First-order query evaluation
Knowledge Bases and Databases Part 1: First-Order Queries Diego Calvanese Faculty of Computer Science Master of Science in Computer Science A.Y. 2007/2008 Overview of Part 1: First-order queries 1 First-order
More informationTree Automata with Global Constraints
Tree Automata with Global Constraints Emmanuel Filiot 1 Jean-Marc Talbot 2 Sophie Tison 1 1 INRIA Lille - Nord Europe, Mostrare Project, University of Lille 1 (LIFL, UMR 8022 of CNRS) 2 University of Provence
More informationMSO Querying over Trees via Datalog Evaluation
MSO Querying over Trees via Datalog Evaluation Eugénie Foustoucos and Labrini Kalantzi M.Π.Λ.A., Department of Mathematics National and Capodistrian University of Athens Panepistimiopolis, 15784 Athens,
More informationXML Security Views. Queries, Updates, and Schema. Benoît Groz. University of Lille, Mostrare INRIA. PhD defense, October 2012
XML Security Views Queries, Updates, and Schema Benoît Groz University of Lille, Mostrare INRIA PhD defense, October 2012 Benoît Groz (Mostrare) XML Security Views PhD defense, October 2012 1 / 45 Talk
More informationIntroduction to Tree Logics
1 / 26 Introduction to Tree Logics Pierre Genevès CNRS (slides mostly based on the ones by W. Martens and T. Schwentick) University of Grenoble, 2014 2015 2 / 26 Why Logic? Tree automaton algorithm Logical
More informationIncremental XPath Evaluation
Incremental XPath Evaluation Henrik Björklund Wouter Gelade Wim Martens Abstract We study the problem of incrementally maintaining the result of an XPath query on an XML database under updates. In its
More informationJournal of Applied Logic
Journal of Applied Logic 8 (2010) 210 232 Contents lists available at ScienceDirect Journal of Applied Logic www.elsevier.com/locate/jal Reasoning about XML with temporal logics and automata Leonid Libkin
More informationTree languages defined in first-order logic with one quantifier alternation
Tree languages defined in first-order logic with one quantifier alternation Miko laj Bojańczyk, Luc Segoufin Warsaw University, INRIA - LSV March 9, 2010 Abstract We study tree languages that can be defined
More informationFrom Monadic Second-Order Definable String Transformations to Transducers
From Monadic Second-Order Definable String Transformations to Transducers Rajeev Alur 1 Antoine Durand-Gasselin 2 Ashutosh Trivedi 3 1 University of Pennsylvania 2 LIAFA, Université Paris Diderot 3 Indian
More informationDatabase Theory VU , SS Ehrenfeucht-Fraïssé Games. Reinhard Pichler
Database Theory Database Theory VU 181.140, SS 2018 7. Ehrenfeucht-Fraïssé Games Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Pichler 15
More informationUnranked Tree Automata with Sibling Equalities and Disequalities
Unranked Tree Automata with Sibling Equalities and Disequalities Wong Karianto Christof Löding Lehrstuhl für Informatik 7, RWTH Aachen, Germany 34th International Colloquium, ICALP 2007 Xu Gao (NFS) Unranked
More informationOn Incomplete XML Documents with Integrity Constraints
On Incomplete XML Documents with Integrity Constraints Pablo Barceló 1, Leonid Libkin 2, and Juan Reutter 2 1 Department of Computer Science, University of Chile 2 School of Informatics, University of
More informationFactorized Relational Databases Olteanu and Závodný, University of Oxford
November 8, 2013 Database Seminar, U Washington Factorized Relational Databases http://www.cs.ox.ac.uk/projects/fd/ Olteanu and Závodný, University of Oxford Factorized Representations of Relations Cust
More information1 Efficient Reasoning about Data Trees via Integer Linear Programming
1 Efficient Reasoning about Data Trees via Integer Linear Programming CLAIRE DAVID, Université Paris-Est LEONID LIBKIN, University of Edinburgh TONY TAN, University of Edinburgh Data trees provide a standard
More informationSatisfiability of XPath Queries with Sibling Axes
Satisfiability of XPath Queries with Sibling Axes Floris Geerts 1 and Wenfei Fan 2 1 Hasselt University and University of Edinburgh 2 University of Edinburgh and Bell Laboratories Abstract. We study the
More informationCounting in trees. Helmut Seidl 1 Thomas Schwentick 2 Anca Muscholl 3. 1 Introduction
Counting in trees Helmut Seidl 1 Thomas Schwentick 2 Anca Muscholl 3 1 Institut für Informatik, I2 TU München Germany 2 Lehrstuhl Informatik I Universität Dortmund Germany 3 LaBRI Université Bordeaux France
More informationUnranked Tree Automata with Sibling Equalities and Disequalities
Unranked Tree Automata with Sibling Equalities and Disequalities Wong Karianto and Christof Löding Lehrstuhl für Informatik 7, RWTH Aachen, Germany Abstract. We propose an extension of the tree automata
More informationReasoning about XML with Temporal Logics and Automata
Reasoning about XML with Temporal Logics and Automata Leonid Libkin 1 and Cristina Sirangelo 1,2 1 University of Edinburgh 2 LSV, ENS Cachan, INRIA Abstract. We show that problems arising in static analysis
More informationDatabase Theory VU , SS Complexity of Query Evaluation. Reinhard Pichler
Database Theory Database Theory VU 181.140, SS 2018 5. Complexity of Query Evaluation Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 17 April, 2018 Pichler
More informationThe Natural Order-Generic Collapse for ω-representable Databases over the Rational and the Real Ordered Group
The Natural Order-Generic Collapse for ω-representable Databases over the Rational and the Real Ordered Group Nicole Schweikardt Institut für Informatik / FB 17 Johannes Gutenberg-Universität, D-55099
More informationDeciding Twig-definability of Node Selecting Tree Automata
Deciding Twig-definability of Node Selecting Tree Automata Timos Antonopoulos Hasselt University and Transnational University of Limburg timos.antonopoulos@uhasselt.be Wim Martens Institut für Informatik
More informationMathematical Preliminaries. Sipser pages 1-28
Mathematical Preliminaries Sipser pages 1-28 Mathematical Preliminaries This course is about the fundamental capabilities and limitations of computers. It has 3 parts 1. Automata Models of computation
More informationA Model Theoretic Proof of Completeness of an Axiomatization of Monadic Second-Order Logic on Infinite Words
A Model Theoretic Proof of Completeness of an Axiomatization of Monadic Second-Order Logic on Infinite Words Colin Riba ENS de Lyon, Université de Lyon, LIP colin.riba@ens-lyon.fr http://perso.ens-lyon.fr/colin.riba/
More informationAn Automata-Theoretic Approach to Regular XPath
An Automata-Theoretic Approach to Regular XPath Diego Calvanese 1, Giuseppe De Giacomo 2, Maurizio Lenzerini 2, and Moshe Y. Vardi 3 1 KRDB Research Centre, Free University of Bozen-Bolzano, Italy calvanese@inf.unibz.it
More informationFirst-Order Queries over One Unary Function
First-Order Queries over One Unary Function Arnaud Durand 1 and Frédéric Olive 2 1 Equipe de Logique Mathématique, CNRS UMR 7056 - Université Denis Diderot, 2 place Jussieu, 75251 Paris Cedex 05, France
More informationAutomata, Logic and Games: Theory and Application
Automata, Logic and Games: Theory and Application 1. Büchi Automata and S1S Luke Ong University of Oxford TACL Summer School University of Salerno, 14-19 June 2015 Luke Ong Büchi Automata & S1S 14-19 June
More informationif t 1,...,t k Terms and P k is a k-ary predicate, then P k (t 1,...,t k ) Formulas (atomic formulas)
FOL Query Evaluation Giuseppe De Giacomo Università di Roma La Sapienza Corso di Seminari di Ingegneria del Software: Data and Service Integration Laurea Specialistica in Ingegneria Informatica Università
More informationQuery Reasoning on Trees with Types, Interleaving, and Counting
Proceedings of the Twenty-Second International Joint Conference on Artificial Intelligence Query Reasoning on Trees with Types, Interleaving, and Counting Everardo Bárcenas, 1 Pierre Genevès, 2 Nabil Layaïda,
More informationTeam Semantics and Recursive Enumerability
Team Semantics and Recursive Enumerability Antti Kuusisto University of Wroc law, Poland, Technical University of Denmark Stockholm University, Sweden antti.j.kuusisto@uta.fi Abstract. It is well known
More informationOn Nondeterministic Unranked Tree Automata with Sibling Constraints
LIPIcs Leibniz International Proceedings in Informatics On Nondeterministic Unranked Tree Automata with Sibling Constraints Christof Löding and Karianto Wong RWTH Aachen University, Germany ABSTRACT. We
More informationSatisfiability of Downward XPath with Data Equality Tests
Satisfiability of Downward XPath with Data Equality Tests Diego Figueira LSV, ENS Cachan, CNRS, INRIA Saclay, France ABSTRACT In this work we investigate the satisfiability problem for the logic XPath(,,
More informationMonadic Datalog Containment on Trees Using the Descendant-Axis
Monadic Datalog Containment on Trees Using the Descendant-Axis André Frochaux and Nicole Schweikardt Institut für Informatik, Humboldt-Universität zu Berlin {frochaua,schweikn}@informatik.hu-berlin.de
More informationQuery answering using views
Query answering using views General setting: database relations R 1,...,R n. Several views V 1,...,V k are defined as results of queries over the R i s. We have a query Q over R 1,...,R n. Question: Can
More informationExpressive power of pebble automata
Expressive power of pebble automata Miko laj Bojańczyk 1,2, Mathias Samuelides 2, Thomas Schwentick 3, Luc Segoufin 4 1 Warsaw University 2 LIAFA, Paris 7 3 Universität Dortmund 4 INRIA, Paris 11 Abstract.
More informationGAV-sound with conjunctive queries
GAV-sound with conjunctive queries Source and global schema as before: source R 1 (A, B),R 2 (B,C) Global schema: T 1 (A, C), T 2 (B,C) GAV mappings become sound: T 1 {x, y, z R 1 (x,y) R 2 (y,z)} T 2
More informationModal Logics with Presburger Constraints
LSV, ENS de Cachan, CNRS, INRIA Saclay LABRI March 5th, 2009 Joint work with Denis Lugiez (LIF, Marseille) Overview Introduction Presburger constraints Regularity constraints Motivations Definition Simplifications
More informationAlgebra for Infinite Forests with an Application to the Temporal Logic EF
Algebra for Infinite Forests with an Application to the Temporal Logic EF Miko laj Bojańczyk and Tomasz Idziaszek University of Warsaw, Poland {bojan,idziaszek}@mimuw.edu.pl Abstract. We define an extension
More informationStatic Analysis and Query Answering for Incomplete Data Trees with Constraints
Static Analysis and Query Answering for Incomplete Data Trees with Constraints Amélie Gheerbrant 1,2, Leonid Libkin 1, and Juan Reutter 1,3 1 School of Informatics, University of Edinburgh 2 LIAFA (Université
More informationTwo-Variable Logic on Data Trees and XML Reasoning
Two-Variable Logic on Data Trees and XML Reasoning Miko laj Bojańczyk Warsaw University and Anca Muscholl LABRI & Université Bordeaux 1 and Thomas Schwentick Universität Dortmund and Luc Segoufin INRIA
More information7 RC Simulates RA. Lemma: For every RA expression E(A 1... A k ) there exists a DRC formula F with F V (F ) = {A 1,..., A k } and
7 RC Simulates RA. We now show that DRC (and hence TRC) is at least as expressive as RA. That is, given an RA expression E that mentions at most C, there is an equivalent DRC expression E that mentions
More informationOn Model-theoretic Approaches to Monadic Second-Order Logic Evaluation
On Model-theoretic Approaches to Monadic Second-Order Logic Evaluation Stavros Cosmadakis Eugénie Foustoucos October 2013 Abstract We review the model-theoretic approaches to Monadic Second-Order Logic
More informationPreliminaries. Introduction to EF-games. Inexpressivity results for first-order logic. Normal forms for first-order logic
Introduction to EF-games Inexpressivity results for first-order logic Normal forms for first-order logic Algorithms and complexity for specific classes of structures General complexity bounds Preliminaries
More informationAUTOMATIC STRUCTURES OF BOUNDED DEGREE REVISITED
The Journal of Symbolic Logic Volume 00, Number 0, XXX 0000 AUTOMATIC STRUCTURES OF BOUNDED DEGREE REVISITED DIETRICH KUSKE AND MARKUS LOHREY Abstract. The first-order theory of a string automatic structure
More informationModal Dependence Logic
Modal Dependence Logic Jouko Väänänen Institute for Logic, Language and Computation Universiteit van Amsterdam Plantage Muidergracht 24 1018 TV Amsterdam, The Netherlands J.A.Vaananen@uva.nl Abstract We
More informationEfficient Inclusion Checking for Deterministic Tree Automata and DTDs
Efficient Inclusion Checking for Deterministic Tree Automata and DTDs Jérôme Champavère, Rémi Gilleron, Aurélien Lemay, and Joachim Niehren INRIA Futurs and Lille University, LIFL, Mostrare project Abstract.
More informationStructural Tractability of Counting of Solutions to Conjunctive Queries
Structural Tractability of Counting of Solutions to Conjunctive Queries Arnaud Durand 1 1 University Paris Diderot Journées DAG, june 2013 Joint work with Stefan Mengel (JCSS (to appear) + ICDT 2013) 1
More informationarxiv: v1 [cs.lo] 4 Oct 2013
A note on monadic datalog on unranked trees arxiv:1310.1316v1 [cs.lo] 4 Oct 2013 André Frochaux Nicole Schweikardt Goethe-Universität Frankfurt am Main {afrochaux schweika}@informatik.uni-frankfurt.de
More informationExistential Second-Order Logic and Modal Logic with Quantified Accessibility Relations
Existential Second-Order Logic and Modal Logic with Quantified Accessibility Relations preprint Lauri Hella University of Tampere Antti Kuusisto University of Bremen Abstract This article investigates
More informationWe define the multi-step transition function T : S Σ S as follows. 1. For any s S, T (s,λ) = s. 2. For any s S, x Σ and a Σ,
Distinguishability Recall A deterministic finite automaton is a five-tuple M = (S,Σ,T,s 0,F) where S is a finite set of states, Σ is an alphabet the input alphabet, T : S Σ S is the transition function,
More informationTractable Counting of the Answers to Conjunctive Queries
Tractable Counting of the Answers to Conjunctive Queries Reinhard Pichler and Sebastian Skritek Technische Universität Wien, {pichler, skritek}@dbai.tuwien.ac.at Abstract. Conjunctive queries (CQs) are
More informationComp487/587 - Boolean Formulas
Comp487/587 - Boolean Formulas 1 Logic and SAT 1.1 What is a Boolean Formula Logic is a way through which we can analyze and reason about simple or complicated events. In particular, we are interested
More informationLanguages, logics and automata
Languages, logics and automata Anca Muscholl LaBRI, Bordeaux, France EWM summer school, Leiden 2011 1 / 89 Before all that.. Sonia Kowalewskaya Emmy Noether Julia Robinson All this attention has been gratifying
More informationOn the use of guards for logics with data
Author manuscript, published in "Proceedings of MFCS 2011, Warsaw : Poland (2011)" DOI : 10.1007/978-3-642-22993-0_24 On the use of guards for logics with data Thomas Colcombet 1, Clemens Ley 2, Gabriele
More informationOn Datalog vs. LFP. Anuj Dawar and Stephan Kreutzer
On Datalog vs. LFP Anuj Dawar and Stephan Kreutzer 1 University of Cambridge Computer Lab, anuj.dawar@cl.cam.ac.uk 2 Oxford University Computing Laboratory, kreutzer@comlab.ox.ac.uk Abstract. We show that
More informationOverlapping tile automata:
Overlapping tile automata: towards a language theory of overlapping structures David Janin LaBRI, Université de Bordeaux Computer Science in Russia, Ekaterinburg, june 2013 1. From strings to overlapping
More informationDefinability for Downward and Vertical XPath on Data Trees
Definability for Downward and Vertical XPath on Data Trees Sergio Abriola 1, María Emilia Descotte 1, and Santiago Figueira 1,2 1 University of Buenos Aires, Argentina 2 CONICET, Argentina Abstract. We
More informationEntailment with Conditional Equality Constraints (Extended Version)
Entailment with Conditional Equality Constraints (Extended Version) Zhendong Su Alexander Aiken Report No. UCB/CSD-00-1113 October 2000 Computer Science Division (EECS) University of California Berkeley,
More informationFrom Constructibility and Absoluteness to Computability and Domain Independence
From Constructibility and Absoluteness to Computability and Domain Independence Arnon Avron School of Computer Science Tel Aviv University, Tel Aviv 69978, Israel aa@math.tau.ac.il Abstract. Gödel s main
More informationTwo-Variable Logic on Data Trees and XML Reasoning
Two-Variable Logic on Data Trees and XML Reasoning Miko laj Bojańczyk Warsaw University and Anca Muscholl LABRI & Université Bordeaux 1 and Thomas Schwentick Universität Dortmund and Luc Segoufin INRIA
More informationBinary Decision Diagrams
Binary Decision Diagrams Literature Some pointers: H.R. Andersen, An Introduction to Binary Decision Diagrams, Lecture notes, Department of Information Technology, IT University of Copenhagen Tools: URL:
More informationA Local Normal Form Theorem for Infinitary Logic with Unary Quantifiers
mlq header will be provided by the publisher Local Normal Form Theorem for Infinitary Logic with Unary Quantifiers H. Jerome Keisler 1 and Wafik Boulos Lotfallah 2 1 Department of Mathematics University
More informationBayesian Networks: Representation, Variable Elimination
Bayesian Networks: Representation, Variable Elimination CS 6375: Machine Learning Class Notes Instructor: Vibhav Gogate The University of Texas at Dallas We can view a Bayesian network as a compact representation
More informationFirst-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms
First-Order Logic 1 Syntax Domain of Discourse The domain of discourse for first order logic is FO structures or models. A FO structure contains Relations Functions Constants (functions of arity 0) FO
More informationCHAPTER 10. Gentzen Style Proof Systems for Classical Logic
CHAPTER 10 Gentzen Style Proof Systems for Classical Logic Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. By humans, not mentioning
More informationLogic and Automata I. Wolfgang Thomas. EATCS School, Telc, July 2014
Logic and Automata I EATCS School, Telc, July 2014 The Plan We present automata theory as a tool to make logic effective. Four parts: 1. Some history 2. Automata on infinite words First step: MSO-logic
More informationIncomplete Information in RDF
Incomplete Information in RDF Charalampos Nikolaou and Manolis Koubarakis charnik@di.uoa.gr koubarak@di.uoa.gr Department of Informatics and Telecommunications National and Kapodistrian University of Athens
More informationComputational Logic. Relational Query Languages with Negation. Free University of Bozen-Bolzano, Werner Nutt
Computational Logic Free University of Bozen-Bolzano, 2010 Werner Nutt (Slides adapted from Thomas Eiter and Leonid Libkin) Computational Logic 1 Queries with All Who are the directors whose movies are
More informationTree Automata and Rewriting
and Rewriting Ralf Treinen Université Paris Diderot UFR Informatique Laboratoire Preuves, Programmes et Systèmes treinen@pps.jussieu.fr July 23, 2010 What are? Definition Tree Automaton A tree automaton
More informationBalder ten Cate has been funded partially by the ERC grant Webdam, agreement , and partially by the NSF grant IIS
Unary negation Balder ten Cate 1 and Luc Segoufin 2 1 University of California, Santa Cruz http://users.soe.ucsc.edu/~btencate 2 INRIA and ENS Cachan, LSV http://www-rocq.inria.fr/~segoufin Abstract We
More informationRDF and Logic: Reasoning and Extension
RDF and Logic: Reasoning and Extension Jos de Bruijn Faculty of Computer Science, Free University of Bozen-Bolzano, Italy debruijn@inf.unibz.it Stijn Heymans Digital Enterprise Research Institute (DERI),
More informationSemantics of intuitionistic propositional logic
Semantics of intuitionistic propositional logic Erik Palmgren Department of Mathematics, Uppsala University Lecture Notes for Applied Logic, Fall 2009 1 Introduction Intuitionistic logic is a weakening
More informationMathematical Logic. Reasoning in First Order Logic. Chiara Ghidini. FBK-IRST, Trento, Italy
Reasoning in First Order Logic FBK-IRST, Trento, Italy April 12, 2013 Reasoning tasks in FOL Model checking Question: Is φ true in the interpretation I with the assignment a? Answer: Yes if I = φ[a]. No
More informationThe Impact of Craig s Interpolation Theorem. in Computer Science
The Impact of Craig s Interpolation Theorem in Computer Science Cesare Tinelli tinelli@cs.uiowa.edu The University of Iowa Berkeley, May 2007 p.1/28 The Role of Logic in Computer Science Mathematical logic
More informationHerbrand Theorem, Equality, and Compactness
CSC 438F/2404F Notes (S. Cook and T. Pitassi) Fall, 2014 Herbrand Theorem, Equality, and Compactness The Herbrand Theorem We now consider a complete method for proving the unsatisfiability of sets of first-order
More informationMFPS LICS Special Session Honouring Dana Scott. Symmetric Scott. Andrew Pitts. Computer Laboratory MFPS/LICS /14
MFPS/LICS 2013 1/14 MFPS LICS Special Session Honouring Dana Scott Symmetric Scott Andrew Pitts Computer Laboratory 80 years of Dana Scott MFPS/LICS 2013 2/14 automata theory set theory sheaves & logic
More informationBüchi Automata and Their Determinization
Büchi Automata and Their Determinization Edinburgh, October 215 Plan of the Day 1. Büchi automata and their determinization 2. Infinite games 3. Rabin s Tree Theorem 4. Decidability of monadic theories
More informationFirst-Order Logic. Chapter Overview Syntax
Chapter 10 First-Order Logic 10.1 Overview First-Order Logic is the calculus one usually has in mind when using the word logic. It is expressive enough for all of mathematics, except for those concepts
More informationLocality of queries definable in invariant first-order logic with arbitrary built-in predicates
Locality of queries definable in invariant first-order logic with arbitrary built-in predicates Matthew Anderson 1,, Dieter van Melkebeek 1,, Nicole Schweikardt 2, Luc Segoufin 3 1 University of Wisconsin
More informationDecidability of SHI with transitive closure of roles
1/20 Decidability of SHI with transitive closure of roles Chan LE DUC INRIA Grenoble Rhône-Alpes - LIG 2/20 Example : Transitive Closure in Concept Axioms Devices have as their direct part a battery :
More informationExpressiveness of predicate logic: Some motivation
Expressiveness of predicate logic: Some motivation In computer science the analysis of the expressiveness of predicate logic (a.k.a. first-order logic) is of particular importance, for instance In database
More informationA generalization of modal definability
A generalization of modal definability Tin Perkov Polytechnic of Zagreb Abstract. Known results on global definability in basic modal logic are generalized in the following sense. A class of Kripke models
More informationOn the satisfiability problem for a 4-level quantified syllogistic and some applications to modal logic
On the satisfiability problem for a 4-level quantified syllogistic and some applications to modal logic Domenico Cantone and Marianna Nicolosi Asmundo Dipartimento di Matematica e Informatica Università
More information