Schema Mappings for Data Graphs

Size: px
Start display at page:

Download "Schema Mappings for Data Graphs"

Transcription

1 Schema Mappings for Data Graphs Nadime Francis 1 Leonid Likin 2 1 Université Paris-Est Marne-la-Vallée 2 University of Edinurgh BDA 2017 Nancy, Novemer, 16th Results originally pulished in PODS / 22

2 Introduction 2 / 22

3 Data Exchange Legacy Dataase over Σ s M Schema Mapping from Σ s to Σ t { } Possile Solutions over Σ t 3 / 22

4 Data Exchange Legacy Dataase over Σ s M Schema Mapping from Σ s to Σ t { } Possile Solutions over Σ t Q Query over Σ t Certain answers 3 / 22

5 Data Exchange as Virtual Data Integration Σ 1 Σ 2 Σ 3 Source Dataases over Σ s = {Σ 1, Σ 2, Σ 3 } { } Σ 3 M Schema Mapping from Σ s to Σ t Virtual Dataase over mediated schema Σ t Q Query over Σ t Integrated answers 4 / 22

6 Key questions Solution Existence Input: A dataase S and a mapping M Question: Does there exist a solution T to S under M? 5 / 22

7 Key questions Solution Existence Input: A dataase S and a mapping M Question: Does there exist a solution T to S under M? Query Answering Input: A dataase S, a tuple v S, a mapping M, a query Q Question: Is v a certain answer to Q over the solution to S under M? 5 / 22

8 Why look at graph data? Data naturally presented as graphs: Social networks, Internet, iological data, Semantic We... Queries care aout the topology of the graph: Paths, cycles, connected components, graph patterns... Known techniques for relational dataases do not apply Person, Postdoc name : Nadime institute : UoE knows since : 2010 colleague since : 2015 Person, Professor name : Leonid institute : UoE 6 / 22

9 Property Graphs, Graph Dataases and Data Graphs Property graphs: real life model, used in Neo4j (Cypher), advocated y LDBC. Graph dataases: theoretical modelization as edge-laelled graph. Topology only. Does not capture real life scenarios. Data graphs: edge-laelled graphs with nodes carrying values from an infinite domain. Better astraction of real life cases. Topology and data. Person, Postdoc name : Nadime institute : UoE knows since : 2010 colleague since : 2015 Person, Professor name : Leonid institute : UoE 7 / 22

10 Property Graphs, Graph Dataases and Data Graphs Property graphs: real life model, used in Neo4j (Cypher), advocated y LDBC. Graph dataases: theoretical modelization as edge-laelled graph. Topology only. Does not capture real life scenarios. Data graphs: edge-laelled graphs with nodes carrying values from an infinite domain. Better astraction of real life cases. Topology and data. a a a a 7 / 22

11 Property Graphs, Graph Dataases and Data Graphs Property graphs: real life model, used in Neo4j (Cypher), advocated y LDBC. Graph dataases: theoretical modelization as edge-laelled graph. Topology only. Does not capture real life scenarios. Data graphs: edge-laelled graphs with nodes carrying values from an infinite domain. Better astraction of real life cases. Topology and data a a 3 2 a 4 a 5 7 / 22

12 Data Exchange and Query Answering 8 / 22

13 Known Results Data Exchange for Relational Dataases Extensively investigated over the last 20 years Book material : Foundations of Data Exchange [Arenas, Barceló, Likin, Murlak, 2014] Principles of Data Integration [Doan, Halevy, Ives, 2012] When and how solutions can e efficiently uilt and queried 9 / 22

14 Known Results Data Exchange for Relational Dataases Extensively investigated over the last 20 years Book material : Foundations of Data Exchange [Arenas, Barceló, Likin, Murlak, 2014] Principles of Data Integration [Doan, Halevy, Ives, 2012] When and how solutions can e efficiently uilt and queried Data Exchange for Graph Data Schema Mappings and Data Exchange for Graph Dataases [Barceló, Pérez, Reutter, 2013] Answering queries is typically conp, tractaility requires RPQs in mappings to e rigid (no, no ) 9 / 22

15 Known Results Data Exchange for Relational Dataases Extensively investigated over the last 20 years Book material : Foundations of Data Exchange [Arenas, Barceló, Likin, Murlak, 2014] Principles of Data Integration [Doan, Halevy, Ives, 2012] When and how solutions can e efficiently uilt and queried Data Exchange for Graph Data Schema Mappings and Data Exchange for Graph Dataases [Barceló, Pérez, Reutter, 2013] Answering queries is typically conp, tractaility requires RPQs in mappings to e rigid (no, no ) No literature for data graphs! 9 / 22

16 Chosen Setting Key parameters Source (G s ) and target (G t ) dataases: Data graphs Schema mapping (M): Pairs of RPQs Query (Q): Data RPQs 10 / 22

17 Chosen Setting Key parameters Source (G s ) and target (G t ) dataases: Data graphs Schema mapping (M): Pairs of RPQs Query (Q): Data RPQs 4 1 Source: data graph over Σ s and D Target: data graph over Σ t and D 2 1 a a 3 2 a 4 a 5 10 / 22

18 Chosen Setting Key parameters Source (G s ) and target (G t ) dataases: Data graphs Schema mapping (M): Pairs of RPQs Query (Q): Data RPQs M = {(q i, q i )} (G s, G t ) = M iff q i (G s ) q i (G t) Note: nodes of G s are exported together with their data values Ex: M = {(a +, c); (ac, a )} a a c 1 M c 1 2 a c 1 10 / 22

19 Chosen Setting Key parameters Source (G s ) and target (G t ) dataases: Data graphs Schema mapping (M): Pairs of RPQs Query (Q): Data RPQs M = {(q i, q i )} (G s, G t ) = M iff q i (G s ) q i (G t) Note: nodes of G s are exported together with their data values Ex: M = {(a +, c); (ac, a )} a 3 M a 1 2 a c c 1 c 10 / 22

20 Chosen Setting Key parameters Source (G s ) and target (G t ) dataases: Data graphs Schema mapping (M): Pairs of RPQs Query (Q): Data RPQs M = {(q i, q i )} (G s, G t ) = M iff q i (G s ) q i (G t) Note: nodes of G s are exported together with their data values Ex: M = {(a +, c); (ac, a )} a a c 1 M 5 2 a c 1 2 a c 1 10 / 22

21 Chosen Setting Key parameters Source (G s ) and target (G t ) dataases: Data graphs Schema mapping (M): Pairs of RPQs Query (Q): Data RPQs Most general: regular expressions with memory Ex: Q = Σ t x.(σ + t [x = ]) (Σ + t [x = ]) Σ t (a ) A data value repeats three times along a path finishing with a or. a c Q(G t ) = {(, ); (, ); (, ); (, )} 1 2 a c 1 10 / 22

22 Query Answering: Certain Answers Semantics Certain Answers Let G s e a source dataase, M e a schema mapping from Σ s to Σ t, and Q e a query over Σ t. Then: M (Q, G s ) = Q(G t ) G t (G s,g t) =M 11 / 22

23 Query Answering: Certain Answers Semantics Certain Answers Let G s e a source dataase, M e a schema mapping from Σ s to Σ t, and Q e a query over Σ t. Then: M (Q, G s ) = Q(G t ) G t (G s,g t) =M Prolem : Query Answering(M, Q) Data complexity Input : A data graph G s, a tuple v of nodes of G s a schema mapping M and a query Q Question : Is v in M (Q, G s )? 11 / 22

24 Query Answering: Certain Answers Semantics Certain Answers Let G s e a source dataase, M e a schema mapping from Σ s to Σ t, and Q e a query over Σ t. Then: M (Q, G s ) = Q(G t ) G t (G s,g t) =M Prolem : Query Answering(M, Q) Data complexity Input : A data graph G s, a tuple v of nodes of G s a schema mapping M and a query Q Question : Is v in M (Q, G s )? 11 / 22

25 Contriutions Undecidaility and Intractaility Query answering is undecidale for RPQ mappings and data RPQ queries. (Already true for very simple mappings) Query answering is conp-complete for word mappings and data RPQ queries. (Already true for paths with tests) Recovering Tractaility Query answering is in NLogSpace for word mappings and data RPQ queries under the presence of SQL nulls. Query answering is in NLogSpace for word mappings and data RPQ queries with equality only. 12 / 22

26 Undecidaility and Intractaility 13 / 22

27 Undecidaility Theorem There exist a very simple mapping M and an RPQ with equality Q such that Query Answering(M, Q) is undecidale. 14 / 22

28 Undecidaility Theorem There exist a very simple mapping M and an RPQ with equality Q such that Query Answering(M, Q) is undecidale. Very simple: Rules of M are of two possile forms: Either (a, ), with a Σ s and Σ t ; Or (a, Σ t ), with a Σ s. 14 / 22

29 Undecidaility Theorem There exist a very simple mapping M and an RPQ with equality Q such that Query Answering(M, Q) is undecidale. RPQ with equality: Query defined y an expression with e = and e suexpressions Ex: Σ (a + ) = Σ A data value occurs twice with only a s in etween. Strictly weaker than data RPQs. 14 / 22

30 Undecidaility Theorem There exist a very simple mapping M and an RPQ with equality Q such that Query Answering(M, Q) is undecidale. For these fixed (data complexity) M and Q, given: a dataase G s over Σ s, a pair of nodes (x, y) of G s, it is undecidale whether (x, y) M (Q, G s ). 14 / 22

31 Intractaility Theorem Let M e a relational mapping and a Q a data RPQ. Then Query Answering(M, Q) is conp-complete. 15 / 22

32 Intractaility Theorem Let M e a relational mapping and a Q a data RPQ. Then Query Answering(M, Q) is conp-complete. Relational mapping: Rules of M are of the form (q, w), where: q is an aritrary RPQ over Σ s ; w is a single word over Σ t. It is already conp-hard when q is a single symol a Σ s. 15 / 22

33 Intractaility Theorem Let M e a relational mapping and a Q a data RPQ. Then Query Answering(M, Q) is conp-complete. Data RPQ: Any query defined y a register automaton or a regular expression with memory. It is already hard if Q is a path with tests. Ex: ((a) = c). No disjunction, no transitive closure. 15 / 22

34 Intractaility Theorem Let M e a relational mapping and a Q a data RPQ. Then Query Answering(M, Q) is conp-complete. For these fixed (data complexity) M and Q, given: a dataase G s over Σ s, a pair of nodes (x, y) of G s, it is conp-complete to decide whether (x, y) M (Q, G s ). 15 / 22

35 Tractale Fragments 16 / 22

36 Introducing SQL Nulls SQL Behavior SQL: Missing values modelled with a single null value n. Three valued logic: x = y returns unknown if either x = n or y = n; Otherwise, x = y evaluates as usual. At query answering time, unknown collapses to false. 17 / 22

37 Introducing SQL Nulls SQL Behavior SQL: Missing values modelled with a single null value n. Three valued logic: x = y returns unknown if either x = n or y = n; Otherwise, x = y evaluates as usual. At query answering time, unknown collapses to false. Translating to data RPQs Replace D with D n = D {n}. Comparisons: as in SQL. 17 / 22

38 Query Answering Approximation via SQL Nulls Theorem Let M e a relational mapping and Q e a data RPQ. Then, given a source dataase G s and (x, y) in G s, it can e decided in NLogSpace whether (x, y) n M (Q, G s ). 18 / 22

39 Query Answering Approximation via SQL Nulls Theorem Let M e a relational mapping and Q e a data RPQ. Then, given a source dataase G s and (x, y) in G s, it can e decided in NLogSpace whether (x, y) n M (Q, G s ). n M (Q, G s ) = G t over D n (G s, G t ) = M Q(G t ) 18 / 22

40 Query Answering Approximation via SQL Nulls Theorem Let M e a relational mapping and Q e a data RPQ. Then, given a source dataase G s and (x, y) in G s, it can e decided in NLogSpace whether (x, y) n M (Q, G s ). n M (Q, G s ) = G t over D n (G s, G t ) = M Q(G t ) Motivations n M (Q, G s ) is an underapproximation of M (Q, G s ). It matches the implementation of traditional DBMSs, and thus the expected ehavior if G t is materialized as such. 18 / 22

41 Queries without Inequalities Data RPQs without Inequalities Expressions with memory: only [x = ]. Expressions with equality: only e =. 19 / 22

42 Queries without Inequalities Data RPQs without Inequalities Results Expressions with memory: only [x = ]. Expressions with equality: only e =. Query Answering(M, Q) is in NLogSpace for relational mappings and data RPQs without inequalities. Query Answering(M, Q) is in conp for RPQ mappings and RPQ with equalities and no inequalities. The question remains open when Q is an RPQ with memory and no inequalities. 19 / 22

43 Perspectives 20 / 22

44 Very first steps in Data Exchange for Data Graphs Early picture of decidaility / tractaility Other tasks (metadata management) Application to real life graph data Property graphs and real-life query languages Neo Technology: Neo4j and Cypher Back to relational data exchange Use of SQL nulls instead of marked nulls Get efficient approximations 21 / 22

45 Thank you! 22 / 22

Automata, Logic and Games: Theory and Application

Automata, Logic and Games: Theory and Application Automata, Logic and Games: Theory and Application 2 Parity Games, Tree Automata, and S2S Luke Ong University of Oxford TACL Summer School University of Salerno, 14-19 June 2015 Luke Ong S2S 14-19 June

More information

Regular expressions for querying data graphs

Regular expressions for querying data graphs International Journal of Foundations of Computer Science c World Scientific Publishing Company Regular expressions for querying data graphs Tony Tan Databases and theoretical computer science group, Universiteit

More information

Parameterized Regular Expressions and Their Languages

Parameterized Regular Expressions and Their Languages Parameterized Regular Expressions and Their Languages Pablo Barceló a, Juan Reutter b, Leonid Libkin b a Department of Computer Science, University of Chile b School of Informatics, University of Edinburgh

More information

Modal logics and their semantics

Modal logics and their semantics Modal logics and their semantics Joshua Sack Department of Mathematics and Statistics, California State University Long Beach California State University Dominguez Hills Feb 22, 2012 Relational structures

More information

Static Analysis and Query Answering for Incomplete Data Trees with Constraints

Static 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 information

SUFFIX TREE. SYNONYMS Compact suffix trie

SUFFIX TREE. SYNONYMS Compact suffix trie SUFFIX TREE Maxime Crochemore King s College London and Université Paris-Est, http://www.dcs.kcl.ac.uk/staff/mac/ Thierry Lecroq Université de Rouen, http://monge.univ-mlv.fr/~lecroq SYNONYMS Compact suffix

More information

Query answering using views

Query 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 information

Composing Schema Mappings: Second-Order Dependencies to the Rescue

Composing Schema Mappings: Second-Order Dependencies to the Rescue Composing Schema Mappings: Second-Order Dependencies to the Rescue RONALD FAGIN IBM Almaden Research Center PHOKION G. KOLAITIS IBM Almaden Research Center LUCIAN POPA IBM Almaden Research Center WANG-CHIEW

More information

Parameterized Regular Expressions and Their Languages

Parameterized Regular Expressions and Their Languages Parameterized Regular Expressions and Their Languages Pablo Barceló 1, Leonid Libkin 2, and Juan L. Reutter 2 1 Department of Computer Science, University of Chile pbarcelo@dcc.uchile.cl 2 School of Informatics,

More information

GAV-sound with conjunctive queries

GAV-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 information

Mapping Maintenance in XML P2P Databases

Mapping Maintenance in XML P2P Databases Mapping Maintenance in XML P2P Databases Dario Colazzo LRI - Université Paris Sud Carlo Sartiani Dipartimento di Informatica - Università di Pisa Motivating Example (1/3) P i sab i b = b i b[ (Au t hor

More information

Exchanging More than Complete Data

Exchanging More than Complete Data Exchanging More than Complete Data Marcelo Arenas Jorge Pérez Juan Reutter PUC Chile, Universidad de Chile, University of Edinburgh Father Andy Bob Bob Danny Danny Eddie Mother Carrie Bob Father(x, y)

More information

Temporal logics and explicit-state model checking. Pierre Wolper Université de Liège

Temporal logics and explicit-state model checking. Pierre Wolper Université de Liège Temporal logics and explicit-state model checking Pierre Wolper Université de Liège 1 Topics to be covered Introducing explicit-state model checking Finite automata on infinite words Temporal Logics and

More information

Formal Semantics of SQL (and Cypher) Paolo Guagliardo

Formal Semantics of SQL (and Cypher) Paolo Guagliardo Formal Semantics of SQL (and Cypher) Paolo Guagliardo SQL Standard query language for relational databases $30B/year business Implemented in all major RDBMSs (free and commercial) First standardized in

More information

The WHILE Hierarchy of Program Schemes is Infinite

The WHILE Hierarchy of Program Schemes is Infinite The WHILE Hierarchy of Program Schemes is Infinite Can Adam Alayrak and Thomas Noll RWTH Aachen Ahornstr. 55, 52056 Aachen, Germany alayrak@informatik.rwth-aachen.de and noll@informatik.rwth-aachen.de

More information

1 PSPACE-Completeness

1 PSPACE-Completeness CS 6743 Lecture 14 1 Fall 2007 1 PSPACE-Completeness Recall the NP-complete problem SAT: Is a given Boolean formula φ(x 1,..., x n ) satisfiable? The same question can be stated equivalently as: Is the

More information

Solving and Graphing Inequalities

Solving and Graphing Inequalities Solving and Graphing Inequalities Graphing Simple Inequalities: x > 3 When finding the solution for an equation we get one answer for x. (There is only one number that satisfies the equation.) For 3x 5

More information

Locally Consistent Transformations and Query Answering in Data Exchange

Locally Consistent Transformations and Query Answering in Data Exchange Locally Consistent Transformations and Query Answering in Data Exchange Marcelo Arenas University of Toronto marenas@cs.toronto.edu Pablo Barceló University of Toronto pablo@cs.toronto.edu Ronald Fagin

More information

Knowledge Base Exchange: The Case of OWL 2 QL

Knowledge Base Exchange: The Case of OWL 2 QL Knowledge Base Exchange: The Case of OWL 2 QL Marcelo Arenas Pontificia Universidad Católica de Chile, Chile Elena Botoeva, Diego Calvanese, Vladislav Ryzhikov Free University of Bozen-Bolzano, Italy Abstract

More information

Representability in DL-Lite R Knowledge Base Exchange

Representability in DL-Lite R Knowledge Base Exchange epresentability in DL-Lite Knowledge Base Exchange M. Arenas 1, E. Botoeva 2, D. Calvanese 2, V. yzhikov 2, and E. Sherkhonov 3 1 Dept. of Computer Science, PUC Chile marenas@ing.puc.cl 2 KDB esearch Centre,

More information

Incomplete Information in RDF

Incomplete 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 information

Özgür L. Özçep Data Exchange 1

Özgür L. Özçep Data Exchange 1 INSTITUT FÜR INFORMATIONSSYSTEME Özgür L. Özçep Data Exchange 1 Lecture 5: Motivation, Relational DE, Chase 16 November, 2016 Foundations of Ontologies and Databases for Information Systems CS5130 (Winter

More information

Quasi-Weak Cost Automata

Quasi-Weak Cost Automata Quasi-Weak Cost Automata A New Variant of Weakness Denis Kuperberg 1 Michael Vanden Boom 2 1 LIAFA/CNRS/Université Paris 7, Denis Diderot, France 2 Department of Computer Science, University of Oxford,

More information

Friendly Logics, Fall 2015, Lecture Notes 5

Friendly Logics, Fall 2015, Lecture Notes 5 Friendly Logics, Fall 2015, Lecture Notes 5 Val Tannen 1 FO definability In these lecture notes we restrict attention to relational vocabularies i.e., vocabularies consisting only of relation symbols (or

More information

Özgür L. Özçep Data Exchange 2

Özgür L. Özçep Data Exchange 2 INSTITUT FÜR INFORMATIONSSYSTEME Özgür L. Özçep Data Exchange 2 Lecture 6: Universal Solutions, Core, Certain Answers 23 November, 2016 Foundations of Ontologies and Databases for Information Systems CS5130

More information

Automata-Theoretic LTL Model-Checking

Automata-Theoretic LTL Model-Checking Automata-Theoretic LTL Model-Checking Arie Gurfinkel arie@cmu.edu SEI/CMU Automata-Theoretic LTL Model-Checking p.1 LTL - Linear Time Logic (Pn 77) Determines Patterns on Infinite Traces Atomic Propositions

More information

Schema Mappings and Data Exchange for Graph Databases

Schema Mappings and Data Exchange for Graph Databases Schema Mappings and Data Exchange for Graph Databases Pablo Barceló Universidad de Chile pbarcelo@dcc.uchile.cl Jorge Pérez Universidad de Chile jperez@dcc.uchile.cl Juan Reutter University of Edinburgh

More information

Let us first give some intuitive idea about a state of a system and state transitions before describing finite automata.

Let us first give some intuitive idea about a state of a system and state transitions before describing finite automata. Finite Automata Automata (singular: automation) are a particularly simple, but useful, model of computation. They were initially proposed as a simple model for the behavior of neurons. The concept of a

More information

On Incomplete XML Documents with Integrity Constraints

On 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 information

CISC 4090 Theory of Computation

CISC 4090 Theory of Computation 9/2/28 Stereotypical computer CISC 49 Theory of Computation Finite state machines & Regular languages Professor Daniel Leeds dleeds@fordham.edu JMH 332 Central processing unit (CPU) performs all the instructions

More information

A. Incorrect! This inequality is a disjunction and has a solution set shaded outside the boundary points.

A. Incorrect! This inequality is a disjunction and has a solution set shaded outside the boundary points. Problem Solving Drill 11: Absolute Value Inequalities Question No. 1 of 10 Question 1. Which inequality has the solution set shown in the graph? Question #01 (A) x + 6 > 1 (B) x + 6 < 1 (C) x + 6 1 (D)

More information

Query Languages for Data Exchange: Beyond Unions of Conjunctive Queries

Query Languages for Data Exchange: Beyond Unions of Conjunctive Queries DOI 10.1007/s00224-010-9259-6 Query Languages for Data Exchange: Beyond Unions of Conjunctive Queries Marcelo Arenas Pablo Barceló Juan Reutter Springer Science+Business Media, LLC 2010 Abstract The class

More information

Path Logics for Querying Graphs: Combining Expressiveness and Efficiency

Path Logics for Querying Graphs: Combining Expressiveness and Efficiency Path Logics for Querying Graphs: Combining Expressiveness and Efficiency Diego Figueira CNRS, LaBRI Bordeaux, France diego.figueira@labri.fr Leonid Libkin School of Informatics University of Edinburgh

More information

XPath for DL Ontologies

XPath for DL Ontologies XPath for DL Ontologies Egor V. Kostylev University of Oxford Juan L. Reutter PUC Chile Domagoj Vrgoč PUC Chile Abstract Applications of description logics (DLs) such as OWL 2 and ontology-based data access

More information

Enhancing the Updatability of Projective Views

Enhancing the Updatability of Projective Views Enhancing the Updatability of Projective Views (Extended Abstract) Paolo Guagliardo 1, Reinhard Pichler 2, and Emanuel Sallinger 2 1 KRDB Research Centre, Free University of Bozen-Bolzano 2 Vienna University

More information

On Decision Problems for Probabilistic Büchi Automata

On Decision Problems for Probabilistic Büchi Automata On Decision Prolems for Proailistic Büchi Automata Christel Baier 1, Nathalie Bertrand 2, Marcus Größer 1 1 TU Dresden, Germany 2 IRISA, INRIA Rennes, France Cachan 05 février 2008 Séminaire LSV 05/02/08,

More information

Efficient Reasoning in Proper Knowledge Bases with Unknown Individuals

Efficient Reasoning in Proper Knowledge Bases with Unknown Individuals Efficient Reasoning in Proper Knowledge Bases with Unknown Individuals Giuseppe De Giacomo Sapienza Università di Roma Rome, Italy degiacomo@dis.uniroma1.it Yves Lespérance York University Toronto, Canada

More information

COMP3702/7702 Artificial Intelligence Week 5: Search in Continuous Space with an Application in Motion Planning " Hanna Kurniawati"

COMP3702/7702 Artificial Intelligence Week 5: Search in Continuous Space with an Application in Motion Planning  Hanna Kurniawati COMP3702/7702 Artificial Intelligence Week 5: Search in Continuous Space with an Application in Motion Planning " Hanna Kurniawati" Last week" Main components of PRM" Collision check for a configuration"

More information

2.4 Graphing Inequalities

2.4 Graphing Inequalities .4 Graphing Inequalities Why We Need This Our applications will have associated limiting values - and either we will have to be at least as big as the value or no larger than the value. Why We Need This

More information

Peter Wood. Department of Computer Science and Information Systems Birkbeck, University of London Automata and Formal Languages

Peter Wood. Department of Computer Science and Information Systems Birkbeck, University of London Automata and Formal Languages and and Department of Computer Science and Information Systems Birkbeck, University of London ptw@dcs.bbk.ac.uk Outline and Doing and analysing problems/languages computability/solvability/decidability

More information

Automata, Logic and Games: Theory and Application

Automata, 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 information

Instructor: Sudeepa Roy

Instructor: Sudeepa Roy CompSci 590.6 Understanding Data: Theory and Applications Lecture 13 Incomplete Databases Instructor: Sudeepa Roy Email: sudeepa@cs.duke.edu 1 Today s Reading Alice Book : Foundations of Databases Abiteboul-

More information

EECS 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization

EECS 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization EECS 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization Discrete Systems Lecture: Automata, State machines, Circuits Stavros Tripakis University of California, Berkeley Stavros

More information

Introduction to weighted automata theory

Introduction to weighted automata theory Introduction to weighted automata theory Lectures given at the 19th Estonian Winter School in Computer Science Jacques Sakarovitch CNRS / Telecom ParisTech Based on Chapter III Chapter 4 The presentation

More information

Computational Logic. Relational Query Languages with Negation. Free University of Bozen-Bolzano, Werner Nutt

Computational 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 information

What can logic do for AI? David McAllester TTI-Chicago

What can logic do for AI? David McAllester TTI-Chicago What can logic do for AI? David McAllester TTI-Chicago Motivating Type Theory Meta-Mathematics: Type Theory as Cognitive Science Mathematics exists as a human social enterprise. Modern mathematicians tend

More information

1 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

1 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 information

The Structure of Inverses in Schema Mappings

The Structure of Inverses in Schema Mappings To appear: J. ACM The Structure of Inverses in Schema Mappings Ronald Fagin and Alan Nash IBM Almaden Research Center 650 Harry Road San Jose, CA 95120 Contact email: fagin@almaden.ibm.com Abstract A schema

More information

Modal Dependence Logic

Modal 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 information

A template model for multidimensional inter-transactional association rules

A template model for multidimensional inter-transactional association rules The VLDB Journal (22) 11: 153 175 / Digital Oject Identifier (DOI) 1.17/s778-2-69-6 A template model for multidimensional inter-transactional association rules Ling Feng 1,, Jeffrey Xu Yu 2, Hongjun Lu

More information

Structuring Logic with Sequent Calculus

Structuring Logic with Sequent Calculus Structuring Logic with Sequent Calculus Alexis Saurin ENS Paris & École Polytechnique & CMI Seminar at IIT Delhi 17th September 2004 Outline of the talk Proofs via Natural Deduction LK Sequent Calculus

More information

Solving Linear Systems by Substitution. ESSENTIAL QUESTION How can you solve a system of linear equations by using substitution? A-REI.3.

Solving Linear Systems by Substitution. ESSENTIAL QUESTION How can you solve a system of linear equations by using substitution? A-REI.3. L E S S O N 9.2 Solving Linear Systems by Substitution A-REI.3.6 Solve systems of linear equations exactly and approximately (e.g., with graphs), focusing on pairs of linear equations in two variables.

More information

Loop Formulas for Description Logic Programs

Loop Formulas for Description Logic Programs Loop Formulas for Description Logic Programs Yisong Wang 1, Jia-Huai You 2, Li-Yan Yuan 2, Yidong Shen 3 1 Guizhou University, China 2 University of Alberta, Canada 3 Institute of Software, Chinese Academy

More information

Composing Schema Mappings: Second-Order Dependencies to the Rescue

Composing Schema Mappings: Second-Order Dependencies to the Rescue Composing Schema Mappings: Second-Order Dependencies to the Rescue RONALD FAGIN IBM Almaden Research Center PHOKION G. KOLAITIS 1 IBM Almaden Research Center LUCIAN POPA IBM Almaden Research Center WANG-CHIEW

More information

CSE 311: Foundations of Computing I Autumn 2014 Practice Final: Section X. Closed book, closed notes, no cell phones, no calculators.

CSE 311: Foundations of Computing I Autumn 2014 Practice Final: Section X. Closed book, closed notes, no cell phones, no calculators. CSE 311: Foundations of Computing I Autumn 014 Practice Final: Section X YY ZZ Name: UW ID: Instructions: Closed book, closed notes, no cell phones, no calculators. You have 110 minutes to complete the

More information

Querying graphs with data. Domagoj Vrgoč

Querying graphs with data. Domagoj Vrgoč This thesis has been submitted in fulfilment of the requirements for a postgraduate degree (e.g. PhD, MPhil, DClinPsychol) at the University of Edinburgh. Please note the following terms and conditions

More information

Path Queries under Distortions: Answering and Containment

Path Queries under Distortions: Answering and Containment Path Queries under Distortions: Answering and Containment Gosta Grahne Concordia University Alex Thomo Suffolk University Foundations of Information and Knowledge Systems (FoIKS 04) Postulate 1 The world

More information

A Better Uncle For OWL

A Better Uncle For OWL A Better Uncle For OWL Nominal Schemas for Integrating Rules and Ontologies Markus Krötzsch University of Oxford markus.kroetzsch@comla.ox.ac.uk Frederick Maier, Adila A. Krisnadhi, Pascal Hitzler Kno.e.sis

More information

Translatable Updates of Selection Views under Constant Complement

Translatable Updates of Selection Views under Constant Complement Translatable Updates of Selection Views under Constant Complement Enrico Franconi and Paolo Guagliardo Free University of Bozen-Bolzano, Italy 4 th September 2014 DEXA 2014, Munich (Germany) KRDB Research

More information

About the relationship between formal logic and complexity classes

About the relationship between formal logic and complexity classes About the relationship between formal logic and complexity classes Working paper Comments welcome; my email: armandobcm@yahoo.com Armando B. Matos October 20, 2013 1 Introduction We analyze a particular

More information

Language of Propositional Logic

Language of Propositional Logic Logic A logic has: 1. An alphabet that contains all the symbols of the language of the logic. 2. A syntax giving the rules that define the well formed expressions of the language of the logic (often called

More information

On Incomplete XML Documents with Integrity Constraints

On 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 information

Program Analysis. Lecture 5. Rayna Dimitrova WS 2016/2017

Program Analysis. Lecture 5. Rayna Dimitrova WS 2016/2017 Program Analysis Lecture 5 Rayna Dimitrova WS 2016/2017 2/21 Recap: Constant propagation analysis Goal: For each program point, determine whether a variale has a constant value whenever an execution reaches

More information

Decidability of SHI with transitive closure of roles

Decidability 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 information

Introduction to Intelligent Systems

Introduction to Intelligent Systems Logical Agents Objectives Inference and entailment Sound and complete inference algorithms Inference by model checking Inference by proof Resolution Forward and backward chaining Reference Russel/Norvig:

More information

Designing a Query Language for RDF: Marrying Open and Closed Worlds

Designing a Query Language for RDF: Marrying Open and Closed Worlds Designing a Query Language for RDF: Marrying Open and Closed Worlds Marcelo Arenas Pontificia Universidad Católica de Chile & Center for Semantic Web Research marenas@ing.puc.cl Martín Ugarte Université

More information

Fundamentos lógicos de bases de datos (Logical foundations of databases)

Fundamentos lógicos de bases de datos (Logical foundations of databases) 20/7/2015 ECI 2015 Buenos Aires Fundamentos lógicos de bases de datos (Logical foundations of databases) Diego Figueira Gabriele Puppis CNRS LaBRI About the speakers Gabriele Puppis PhD from Udine (Italy)

More information

spaghetti fish pie cake Ann X X Tom X X X Paul X X X

spaghetti fish pie cake Ann X X Tom X X X Paul X X X CmSc175 Discrete Mathematics Lesson 14: Set Relations 1. Introduction A college cafeteria line has two stations: main courses and desserts. The main course station offers spaghetti or fish; the dessert

More information

Introduction to Intelligent Systems

Introduction to Intelligent Systems Logical Agents Objectives Inference and entailment Sound and complete inference algorithms Inference by model checking Inference by proof Resolution Forward and backward chaining Reference Russel/Norvig:

More information

Simplifying Schema Mappings

Simplifying Schema Mappings Simplifying Schema Mappings Diego Calvanese KRDB Research Centre Free Univ. of Bozen-Bolzano I-39100 Bolzano, Italy calvanese@inf.unibz.it Giuseppe De Giacomo Maurizio Lenzerini Dip. di Inf. e Sist. Univ.

More information

Logic and Automata I. Wolfgang Thomas. EATCS School, Telc, July 2014

Logic 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 information

A Knowledge-Based Approach to Entity Resolution

A Knowledge-Based Approach to Entity Resolution A Knowledge-Based Approach to Entity Resolution Klaus-Dieter Schewe Software Competence Center Hagenberg and Johannes-Kepler-University Linz Austria kd.schewe@scch.at, kd.schewe@faw.at Qing Wang Research

More information

From Constructibility and Absoluteness to Computability and Domain Independence

From 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 information

News on Temporal Conjunctive Queries

News on Temporal Conjunctive Queries News on Temporal Conjunctive Queries Veronika Thost Center for dvancing Electronics Dresden (cfaed), TU Dresden veronika.thost@tu-dresden.de stract. Temporal query languages are important for stream processing,

More information

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska LECTURE 5 CHAPTER 2 FINITE AUTOMATA 1. Deterministic Finite Automata DFA 2. Nondeterministic Finite Automata NDFA 3. Finite Automata

More information

Answering Pattern Queries Using Views

Answering Pattern Queries Using Views 1 Answering Pattern Queries Using iews Wenfei Fan 1,2 Xin Wang 3, Yinghui Wu 4 1 University of Edinburgh 2 RCBD and SKLSDE Lab, Beihang University 3 Southwest Jiaotong University 4 Washington State University

More information

Core Schema Mappings: Scalable Core Computations in Data Exchange

Core Schema Mappings: Scalable Core Computations in Data Exchange Core Schema Mappings: Scalable Core Computations in Data Exchange Giansalvatore Mecca 1, Paolo Papotti 2, Salvatore Raunich 3 1 Università della Basilicata Potenza, Italy 2 Università Roma Tre Roma, Italy

More information

Approximation and Relaxation of Semantic Web Path Queries

Approximation and Relaxation of Semantic Web Path Queries *Manuscript Click here to view linked References Approximation and Relaxation of Semantic Web Path Queries Alexandra Poulovassilis a, Petra Selmer a, Peter T. Wood a a Knowledge Lab, Department of Computer

More information

SCHEMA MAPPING MANAGEMENT IN DATA EXCHANGE SYSTEMS

SCHEMA MAPPING MANAGEMENT IN DATA EXCHANGE SYSTEMS PONTIFICIA UNIVERSIDAD CATOLICA DE CHILE SCHOOL OF ENGINEERING SCHEMA MAPPING MANAGEMENT IN DATA EXCHANGE SYSTEMS JORGE PÉREZ Thesis submitted to the Office of Research and Graduate Studies in partial

More information

Structured Descriptions & Tradeoff Between Expressiveness and Tractability

Structured Descriptions & Tradeoff Between Expressiveness and Tractability 5. Structured Descriptions & Tradeoff Between Expressiveness and Tractability Outline Review Expressiveness & Tractability Tradeoff Modern Description Logics Object Oriented Representations Key Representation

More information

Algebraic Proof Systems

Algebraic Proof Systems Algebraic Proof Systems Pavel Pudlák Mathematical Institute, Academy of Sciences, Prague and Charles University, Prague Fall School of Logic, Prague, 2009 2 Overview 1 a survey of proof systems 2 a lower

More information

Containment of Data Graph Queries

Containment of Data Graph Queries Containment of Data Graph Queries Egor V. Kostylev University of Edinburgh ekostyle@inf.ed.ac.uk Juan L. Reutter PUC Chile jreutter@ing.puc.cl Domagoj Vrgoč University of Edinburgh domagoj.vrgoc@ed.ac.uk

More information

A Logic Programming Approach to Querying and Integrating P2P Deductive Databases

A Logic Programming Approach to Querying and Integrating P2P Deductive Databases A Logic rogramming Approach to Querying and Integrating 2 Deductive Databases L. Caroprese, S. Greco and E. Zumpano DEIS, Univ. della Calabria 87030 Rende, Italy {lcaroprese, greco, zumpano}@deis.unical.it

More information

A. Incorrect! Replacing is not a method for solving systems of equations.

A. Incorrect! Replacing is not a method for solving systems of equations. ACT Math and Science - Problem Drill 20: Systems of Equations No. 1 of 10 1. What methods were presented to solve systems of equations? (A) Graphing, replacing, and substitution. (B) Solving, replacing,

More information

Undecidability in Epistemic Planning

Undecidability in Epistemic Planning Undecidability in Epistemic Planning Thomas Bolander, DTU Compute, Tech Univ of Denmark Joint work with: Guillaume Aucher, Univ Rennes 1 Bolander: Undecidability in Epistemic Planning p. 1/17 Introduction

More information

Abstract model theory for extensions of modal logic

Abstract 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 information

On Unit-Refutation Complete Formulae with Existentially Quantified Variables

On Unit-Refutation Complete Formulae with Existentially Quantified Variables On Unit-Refutation Complete Formulae with Existentially Quantified Variables Lucas Bordeaux 1 Mikoláš Janota 2 Joao Marques-Silva 3 Pierre Marquis 4 1 Microsoft Research, Cambridge 2 INESC-ID, Lisboa 3

More information

CSC 5170: Theory of Computational Complexity Lecture 9 The Chinese University of Hong Kong 15 March 2010

CSC 5170: Theory of Computational Complexity Lecture 9 The Chinese University of Hong Kong 15 March 2010 CSC 5170: Theory of Computational Complexity Lecture 9 The Chinese University of Hong Kong 15 March 2010 We now embark on a study of computational classes that are more general than NP. As these classes

More information

arxiv: v1 [cs.db] 21 Sep 2016

arxiv: v1 [cs.db] 21 Sep 2016 Ladan Golshanara 1, Jan Chomicki 1, and Wang-Chiew Tan 2 1 State University of New York at Buffalo, NY, USA ladangol@buffalo.edu, chomicki@buffalo.edu 2 Recruit Institute of Technology and UC Santa Cruz,

More information

Semantics and Pragmatics of NLP

Semantics and Pragmatics of NLP Semantics and Pragmatics of NLP Alex Ewan School of Informatics University of Edinburgh 28 January 2008 1 2 3 Taking Stock We have: Introduced syntax and semantics for FOL plus lambdas. Represented FOL

More information

CWA-Solutions for Data Exchange Settings with Target Dependencies

CWA-Solutions for Data Exchange Settings with Target Dependencies CWA-Solutions for Data Exchange Settings with Target Dependencies ABSTRACT André Hernich Institut für Informatik Humboldt-Universität Berlin, Germany hernich@informatik.hu-berlin.de Data exchange deals

More information

Pattern Logics and Auxiliary Relations

Pattern 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 information

arxiv: v3 [cs.db] 30 Jul 2014

arxiv: v3 [cs.db] 30 Jul 2014 Noname manuscript No. (will e inserted y the editor) Schemas for Unordered XML on a DIME Iovka Boneva Radu Ciucanu S lawek Staworko arxiv:1311.7307v3 [cs.db] 30 Jul 2014 the date of receipt and acceptance

More information

Sri vidya college of engineering and technology

Sri vidya college of engineering and technology Unit I FINITE AUTOMATA 1. Define hypothesis. The formal proof can be using deductive proof and inductive proof. The deductive proof consists of sequence of statements given with logical reasoning in order

More information

XPath for DL-Lite Ontologies

XPath for DL-Lite Ontologies XPath for DL-Lite Ontologies Egor V. Kostylev 1, Juan L. Reutter 2, and Domagoj Vrgoč 3 1 University of Oxford egor.kostylev@cs.ox.ac.uk 2 PUC Chile jreutter@ing.puc.cl 3 University of Edinburgh domagoj.vrgoc@ed.ac.uk

More information

Planning Under Uncertainty II

Planning Under Uncertainty II Planning Under Uncertainty II Intelligent Robotics 2014/15 Bruno Lacerda Announcement No class next Monday - 17/11/2014 2 Previous Lecture Approach to cope with uncertainty on outcome of actions Markov

More information

Administering your Enterprise Geodatabase using Python. Jill Penney

Administering your Enterprise Geodatabase using Python. Jill Penney Administering your Enterprise Geodatabase using Python Jill Penney Assumptions Basic knowledge of python Basic knowledge enterprise geodatabases and workflows You want code Please turn off or silence cell

More information

Chapter 3: Propositional Calculus: Deductive Systems. September 19, 2008

Chapter 3: Propositional Calculus: Deductive Systems. September 19, 2008 Chapter 3: Propositional Calculus: Deductive Systems September 19, 2008 Outline 1 3.1 Deductive (Proof) System 2 3.2 Gentzen System G 3 3.3 Hilbert System H 4 3.4 Soundness and Completeness; Consistency

More information

Computer-Aided Program Design

Computer-Aided Program Design Computer-Aided Program Design Spring 2015, Rice University Unit 3 Swarat Chaudhuri February 5, 2015 Temporal logic Propositional logic is a good language for describing properties of program states. However,

More information

Description Logics. Deduction in Propositional Logic. franconi. Enrico Franconi

Description Logics. Deduction in Propositional Logic.   franconi. Enrico Franconi (1/20) Description Logics Deduction in Propositional Logic Enrico Franconi franconi@cs.man.ac.uk http://www.cs.man.ac.uk/ franconi Department of Computer Science, University of Manchester (2/20) Decision

More information