Islands of tractability in ontology-based data access

Size: px
Start display at page:

Download "Islands of tractability in ontology-based data access"

Transcription

1 Islands of tractability in ontology-based data access Michael Zakharyaschev Department of Computer Science and Information Systems, Birkbeck, University of London supported by EPSRC grants ExODA EP/H05099X and itract EP/M012670

2 Data access in industry (from Norwegian Petroleum Directorate s FactPages) show me the wellbores completed before 2008 where Statoil as a drilling operator sampled less than 10 meters of cores 5 days later: SELECT DISTINCT cores.wlbname, cores.lenghtm, wellbore.wlbdrillingoperator, wellbore.wlbcompletionyear FROM ( (SELECT wlbname, wlbnpdidwellbore, (wlbtotalcorelength * ) AS lenghtm FROM wellbore core WHERE wlbcoreintervaluom = [ft ] ) UNION (SELECT wlbname, wlbnpdidwellbore, wlbtotalcorelength AS lenghtm FROM wellbore core WHERE wlbcoreintervaluom = [m ] ) ) as cores, ( (SELECT wlbnpdidwellbore, wlbdrillingoperator, wlbcompletionyear FROM wellbore development all UNION (SELECT wlbnpdidwellbore, wlbdrillingoperator, wlbcompletionyear FROM wellbore exploration all ) UNION 2,000 tables (SELECT wlbnpdidwellbore, wlbdrillingoperator, wlbcompletionyear FROM wellbore shallow all ) ) as wellbore WHERE wellbore.wlbnpdidwellbore = cores.wlbnpdidwellbore... In STATOIL: 1,000 TB of relational data different schemas 30 70% of time on data gathering UCL

3 Ontology-based data access (OBDA) (the Romans 2007) SELECT DISTINCT?unit?well WHERE { query [] npdv:stratumforwellbore?wellboreuri ; npdv:inlithostratigraphicunit [ npdv:name?unit ].?wellboreuri npdv:name?well.?core a npdv:wellborecore ; npdv:coreforwellbore?wellboreuri. } ProductionWellbore Wellbore coreforwellbore WellboreCore [] rdf:type rr:triplesmap; rr:logicaltable "select * from wellbore core"; rr:subjectmap [ a rr:termmap; rr:template "&npd-v2;wellbore/{wlbnpdidwellbore}/";]; rr:propertyobjectmap [ rr:property npdv:coreintervalbottom; rr:column "wlbcoreintervalbottom" ];... mappings stratumforwellbore WellboreStratum ontology CREATE TABLE wellbore core ( wlbname varchar(60) NOT NULL, wlbcorenumber int(11) NOT NULL, wlbcoreintervaltop decimal(13,6),... ) A B C D data sources Ontology gives a high-level conceptual view of the data provides a convenient & natural vocabulary for user queries enriches incomplete data with background knowledge UCL

4 OBDA via FO-rewriting query q + rewriting q + unfolding ontology T npdv:moveablefacility npdv:facility... mapping npdv:moveablefacility (URI( &npdv;facility/{},t7)) :- facility moveable(t1,...,t6,t7,t8,...,t10)... canonical model derived triples virtual ABox A + + triples database n-ary relations for all A and a, T, A = q( a) I A = q ( a) reduction to DB query evaluation UCL

5 OWL 2 QL profile of OWL 2 (W3C 2012) Roles ϱ(x, y) ::= P (x, y) P (y, x) R ::= P P Basic concepts τ (x) ::= A(x) y ϱ(x, y) B ::= A R TBoxes x ( τ (x) τ (x) ) B B x, y ( ϱ(x, y) ϱ (x, y) ) R R x ϱ(x, x) x ( τ (x) τ (x) ) x, y ( ϱ(x, y) ϱ (x, y) ) x ( ϱ(x, x) ) R is reflexive B B R R R is irreflexive Sugar x ( τ (x) y (ϱ 1 (x, y) ϱ k (x, y) τ (y)) ) B R.B ABoxes {A(a), P (a, b),...} (expressible via additional role inclusions) based on the DL-Lite family designed by the Romans ( 2005) and extended by Artale, Calvanese, Kontchakov & Z (2007 9) UCL

6 Example Staff ontology T x ( ProjectManager(x) y (isassistedby(x, y) PA(y)) ) x ( y managesproject(x, y) ProjectManager(x) ) x ( ProjectManager(x) Staff(x) ) x ( PA(x) Secretary(x) ) User query q: find the staff assisted by secretaries q(x) = y (Staff(x) isassistedby(x, y) Secretary(y))) PE-rewriting of ontology-mediated query (T, q) q (x) = y [ Staff(x) isassistedby(x, y) (Secretary(y) PA(y)) ] ProjectManager(x) z managesproject(x, z) UCL

7 Why are OWL 2 QL OMQs FO-rewritable? Canonical model (chase) C T,A of a given consistent (T, A) homomorphically embeddable into every model of (T, A) T, A = q C T,A = q for any CQ q Example: T = {A R. R.B, B S.B} A = {A(a)} C T,A a A R R B S B S B all Horn DLs have canonical models but OMQ ({ R.A A}, A(x)) is not FO-rewritable (recursive datalog needed) Bounded depth derivation property: there is a function f such that T, A = q C N T,A = q with CN T,A constructed in N = f( T, q ) steps FO-rewritability f is polynomial for OWL 2 QL UCL

8 What is the price of OBDA? reduction to DB query evaluation could be too expensive OBDA would not be viable 1 what is the size of rewritings? depending on the type of OMQs depending on the type of rewritings new research (succinctness) problem 2 what is the combined complexity of OMQ answering? depending on the type of OMQs well-known problem in DB theory it may turn out that reduction to DB query evaluation is not most optimal way of OMQ answering UCL

9 Tree-witness rewriting of OMQ Q = (T, q) q q t 2 h C τ 2(a 2 ) T q t 1 h C τ 1 (a 1 ) T C T,A q tw ( x) = Θ independent set of tree witnesses ( y S( z) S( z) q\q Θ t Θ tw t ) Θ is independent if q t q t =, for any distinct t, t Θ UCL

10 The number of tree witnesses B q(x 1, x 2, x 3 ) B a C T,{A(a)} x 1 x 2 x 3 A exponentially-many tree witnesses huge tw-rewriting however, it can be simplified to a polynomial-size PE-rewriting: q(x 1, x 2, x 3 ) z [ A(z) n ( i=1 (xi = z) y (R(y, x i ) R(y, z)) )] can we always do this? UCL

11 Circuit complexity P/poly: the class of problems decidable by polynomial-size circuit families P P/poly if NP P/poly then P NP almost all Boolean functions with n inputs require circuits of size Θ(2 n /n) (Shannon 1949) are there complex Boolean functions f n in NP? (known lower bound: 5n o(n)) nobody knows, but... UCL

12 Monotone circuit complexity (Razborov, Raz, et al. 1985) Boolean variables e ij give graph G = (V, E): V = {1,..., n}, E = { {i, j} e ij = 1 } CLIQUE n,k ( e) = 1 iff G contains a k-clique (e.g., for k n 1/4 ) monotone circuits: exp (2 ε k ) monotone formulas: exp formulas with : superpoly unless NP P/poly MATCHING n ( e) = 1 iff the bipartite graph e with n vertices in each part has a perfect matching (subset of edges containing every node once) monotone formulas: formulas with : exp poly UCL

13 Tree-witness rewriting as a Boolean function OMQ Q = (T, q) a hypergraph H Q = (V, E) where vertices V = atoms of q hyperedges E = tree witnesses q t monotone Boolean hypergraph function for Q (or hypergraph H Q ) f Q = E E independent ( v V \V E p v e E p e (some tweaks required in case of exponentially-many tree witnesses) Boolean formula ϕ for f Q FO-rewriting of size O( ϕ Q ) monotone Boolean formula ϕ for f Q PE-rewriting monotone Boolean circuit ϕ for f Q NDL-rewriting (nonrecursive datalog) tool for obtaining upper succinctness and complexity bounds ) using classical circuit complexity UCL

14 Tool for lower bounds For any OMQ Q = (T, q) and assignment α : predicates(q) {0, 1}, A α = {A(a) α(a) = 1} {P (a, a) α(p ) = 1} ABox with a single individual a Primitive evaluation function: g Q (α) = 1 T, A α = q( a) FO-rewriting q of Q Boolean formula for g Q of size O( q ) PE-rewriting q of Q monotone Boolean formula for g Q NDL-rewriting q of Q monotone Boolean circuit for g Q (proof by quantifier elimination) tool for obtaining lower succinctness bounds using classical circuit complexity UCL

15 Case study: OMQs with ontologies of depth 1 no axioms such as A P, P R depth 1 depth 2 b a b a A A Q = (T, q) with T of depth 1 hypergraph H Q is of degree 2 each vertex belongs to 2 hyperedges hypergraph H of degree 2 OMQ Q H with T of depth 1 and H = H QH What can hypergraph functions of degree 2 compute? UCL

16 Hypergraph programs (HGPs) An HGP is a hypergraph H = (V, E) with every vertex labelled by 0, 1, p i or p i computes f: f( α) = 1 there is an independent E E covering all zeros (contains all vertices whose labels evaluate to 0 under α) monotone if no p i among the labels Any monotone HGP based on H computes a sub-function of f H HGPs based on hypergraphs of degree 2 are polynomially equivalent to nondeterministic branching programs (NBPs) e f p 3 p s t HGP 2 = NBP = NL/poly p 1 p 6 d functions computable by NLogSpace TMs with polynomial advice functions (non-uniform analogue of NLOGSPACE) UCL

17 Rewritings for OMQs with ontologies of depth 1 HGP 2 = NL/poly P/poly (for monotone functions) polynomial-size NDL-rewritings there is a monotone f computable by a polynomial-size NBP, but Ω(log n) any monotone Boolean formula computing f is of size n OMQ with superpolynomial PE-rewritings only all OMQs have polynomial FO-rewritings NC 1 = NL/poly all OMQs with CQs of bounded treewidth have polynomial PE-rewritings all tree-shaped OMQs have polynomial-size Π 4 -rewritings ( ) (SPARQL queries under OWL 2 QL entailment regime) UCL

18 poly NDL, but no poly PE polyndl, FO iff NL/poly but no poly NC 1 PE Succinctness landscape for OMQ rewritings Number of leaves Treewidth arb btw... tw 2 trees l... 2 poly PE, NDL, & FO no poly PE or NDL poly FO iff NP/poly NC 1 poly NDL, but no poly PE poly FO iff LOGCFL/poly NC 1 poly NDL, but no poly PE poly FO iff NL/poly NC 1... TBox depth d no poly FO unless NP/poly NC 1 arb Bienvenu, Kikot, Kontchakov, Podolskii, Z UCL

19 Combined complexity landscape Number of leaves Treewidth arb btw... tw 2 trees l... 2 NP-complete LOGCFL-complete NL-complete TBox depth d NP-complete LOGCFL-c arb CQ evaluation over databases is NP-complete L NL LOGCFL NC 2 P NP bounded treewidth CQ evaluation is LOGCFL-complete (logspace reducible to a CFL) Gottlob et al UCL

20 query + rewriting + unfolding ontology npdv:moveablefacility npdv:facility... compile mapping npdv:moveablefacility... + SQO (URI( &npdv;facility/{},t7)) :- facility moveable(t1,...,t6,t7,t8,...,t10) canonical model derived triples virtual ABox + + triples database n-ary relations ABox constraints integrity constraints Rodriguez-Muro, Calvanese, Kontchakov, Rezk, Xiao, Z UCL

21 Ontop in practice T-mappings compile (big parts of) OWL 2 QL ontologies into mappings (domain and range constraints, concept and role hierarchies) can be optimised offline few tree witnesses in real-world OBDA polynomial-size rewritings database constraints and SQO significantly simplify T-mappings efficient SQL queries over the data some important conceptual modelling constructs are missing in OWL 2 QL A B C R.A B owl:sameas? islands of OMQ rewritability & succinctness for expressive languages UCL

22 itract: Islands of Tractability in Ontology-Based Data Access EPSRC UK project: (i) establish a novel, OMQ-centric approach to OBDA aiming to identify islands of tractable OMQs in rich ontology and query languages (ii) develop uniformly efficient OMQ answering techniques for the identified islands (iii) implement and test these techniques in practice, using state-of-the-art OBDA systems Team: London: MZ (PI), S Kikot (RA), R Kontchakov (co-i), I Razgon (co-i) Liverpool: F Wolter (PI), F Papacchini (RA), A Hernich, B Konev Project partners: University of Bozen-Bolzano (Diego Calvanese) University of Bremen (Carsten Lutz) University of Oslo (Arild Waaler) IBM Watson, New York (Mariano Rodriguez-Muro) UCL

Ontology-Mediated Queries: Combined Complexity and Succinctness of Rewritings via Circuit Complexity

Ontology-Mediated Queries: Combined Complexity and Succinctness of Rewritings via Circuit Complexity 1 Ontology-Mediated Queries: Combined Complexity and Succinctness of Rewritings via Circuit Complexity MEGHYN BIENVENU, CNRS & University of Montpellier, France STANISLAV KIKOT, Birkbeck, University of

More information

Tree-like Queries in OWL 2 QL: Succinctness and Complexity Results

Tree-like Queries in OWL 2 QL: Succinctness and Complexity Results Tree-like Queries in OWL 2 QL: Succinctness and Complexity Results Meghyn Bienvenu, Stanislav Kikot and Vladimir Podolskii Laboratoire de Recherche en Informatique, CNRS & Université Paris-Sud, Orsay,

More information

Long Rewritings, Short Rewritings

Long Rewritings, Short Rewritings Long Rewritings, hort Rewritings. Kikot 1, R. Kontchakov 1, V. Podolskii 2, and M. Zakharyaschev 1 1 Department of Computer cience and Information ystems Birkbeck, University of London, U.K. {kikot,roman,michael}@dcs.bbk.ac.uk

More information

The Combined Approach to Query Answering in DL-Lite

The Combined Approach to Query Answering in DL-Lite The Combined Approach to Query Answering in DL-Lite Roman Kontchakov Department of Computer Science and Inf. Systems, Birkbeck College, London http://www.dcs.bbk.ac.uk/~roman joint work with Carsten Lutz,

More information

On (In)Tractability of OBDA with OWL 2 QL

On (In)Tractability of OBDA with OWL 2 QL On (In)Tractability of OBDA with OWL 2 QL S. Kikot, R. Kontchakov, and M. Zakharyaschev Department of Computer Science and Information Systems, Birkbeck College, London. U.K. {kikot,roman,michael}@dcs.bbk.ac.uk

More information

Reasoning about Explanations for Negative Query Answers in DL-Lite

Reasoning about Explanations for Negative Query Answers in DL-Lite Journal of Artificial Intelligence Research 48 (2013) 635-669 Submitted 11/12; published 11/13 Reasoning about Explanations for Negative Query Answers in DL-Lite Diego Calvanese Free University of Bozen-Bolzano,

More information

From Conjunctive Queries to SPARQL Queries in Ontology-Mediated Querying

From Conjunctive Queries to SPARQL Queries in Ontology-Mediated Querying From Conjunctive Queries to SPARQL Queries in Ontology-Mediated Querying Cristina Feier 1, Carsten Lutz 1, and Frank Wolter 2 1 University of Bremen, Germany feier@uni-bremen.de clu@uni-bremen.de 2 University

More information

The DL-Lite Family of Languages A FO Perspective

The DL-Lite Family of Languages A FO Perspective The DL-Lite Family of Languages A FO Perspective Alessandro Artale KRDB Research Centre Free University of Bozen-Bolzano Joint work with D. Calvanese, R. Kontchakov, M. Zakharyaschev TU Dresden. December

More information

On the Succinctness of Query Rewriting for Datalog

On the Succinctness of Query Rewriting for Datalog On the Succinctness of Query Rewriting for Datalog Shqiponja Ahmetaj 1 Andreas Pieris 2 1 Institute of Logic and Computation, TU Wien, Austria 2 School of Informatics, University of Edinburgh, UK Foundational

More information

Tractable Queries for Lightweight Description Logics

Tractable Queries for Lightweight Description Logics Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence Tractable Queries for Lightweight Description Logics Meghyn Bienvenu Laboratoire de Recherche en Informatique CNRS

More information

Rewriting Ontological Queries into Small Nonrecursive Datalog Programs

Rewriting Ontological Queries into Small Nonrecursive Datalog Programs Rewriting Ontological Queries into Small Nonrecursive Datalog Programs Georg Gottlob 1 and Thomas Schwentick 2 1 Department of Computer Science, University of Oxford gottlob@cs.ox.ac.uk 2 Fakultät für

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

Queries with Negation and Inequalities over Lightweight Ontologies

Queries with Negation and Inequalities over Lightweight Ontologies Queries with Negation and Inequalities over Lightweight Ontologies Víctor Gutiérrez-Basulto a, Yazmín Ibáñez-García a,b, Roman Kontchakov c, Egor V. Kostylev d a Fachbereich Mathematik und Informatik,

More information

arxiv: v4 [cs.lo] 13 May 2012

arxiv: v4 [cs.lo] 13 May 2012 Exponential Lower Bounds and Separation for Query Rewriting arxiv:1202.4193v4 [cs.lo] 13 May 2012 S. Kikot, 1 R. Kontchakov, 1 V. Podolskii 2 and M. Zakharyaschev 1 1 Department of Computer Science and

More information

Lightweight Description Logics: DL-Lite A and EL ++

Lightweight Description Logics: DL-Lite A and EL ++ Lightweight Description Logics: DL-Lite A and EL ++ Elena Botoeva 1 KRDB Research Centre Free University of Bozen-Bolzano January 13, 2011 Departamento de Ciencias de la Computación Universidad de Chile,

More information

Query Answering in DL-Lite with Datatypes: A Non-Uniform Approach

Query Answering in DL-Lite with Datatypes: A Non-Uniform Approach 1 / 20 Department of Computer Science Query Answering in DL-Lite with Datatypes: A Non-Uniform Approach February 2, 2017 André Hernich, Julio Lemos, Frank Wolter OBDM In Ontology-Based Data Management,

More information

Data Complexity of Query Answering in Description Logics

Data Complexity of Query Answering in Description Logics Data Complexity of Query Answering in Description Logics Diego Calvanese 1, Giuseppe De Giacomo 2, Domenico Lembo 2, Maurizio Lenzerini 2, Riccardo Rosati 2 1 Faculty of Computer Science Free University

More information

RDF and Logic: Reasoning and Extension

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

Tractability Guarantees for DL-Lite Query Answering

Tractability Guarantees for DL-Lite Query Answering Tractability Guarantees for DL-Lite Query Answering Meghyn Bienvenu 1, Magdalena Ortiz 2, Mantas Šimkus 2, and Guohui Xiao 2 1 Laboratoire de Recherche en Informatique, CNRS & Université Paris Sud, Orsay,

More information

Exact Learning of TBoxes in EL and DL-Lite

Exact Learning of TBoxes in EL and DL-Lite Exact Learning of TBoxes in EL and DL-Lite Boris Konev 1 and Carsten Lutz 2 and Frank Wolter 1 1 Department of Computer Science, University of Liverpool, UK 2 Department of Computer Science, University

More information

On Decidability and Tractability of Querying in Temporal EL

On Decidability and Tractability of Querying in Temporal EL On Decidability and Tractability of Querying in Temporal EL Víctor Gutiérrez-Basulto 1, Jean Christoph Jung 1, and Roman Kontchakov 2 1 Department of Computer Science, Universität Bremen, Germany 2 Dept.

More information

Query and Predicate Emptiness in Ontology-Based Data Access

Query and Predicate Emptiness in Ontology-Based Data Access Journal of Artificial Intelligence Research 56 (2016) 1-59 Submitted 06/15; published 05/16 Query and Predicate Emptiness in Ontology-Based Data Access Franz Baader TU Dresden, Germany Meghyn Bienvenu

More information

Query and Predicate Emptiness in Description Logics

Query and Predicate Emptiness in Description Logics Query and Predicate Emptiness in Description Logics Franz Baader TU Dresden, Germany baader@inf.tu-dresden.de Meghyn Bienvenu and Carsten Lutz Universität Bremen, Germany (meghyn clu)@uni-bremen.de Frank

More information

Circuits. Lecture 11 Uniform Circuit Complexity

Circuits. Lecture 11 Uniform Circuit Complexity Circuits Lecture 11 Uniform Circuit Complexity 1 Recall 2 Recall Non-uniform complexity 2 Recall Non-uniform complexity P/1 Decidable 2 Recall Non-uniform complexity P/1 Decidable NP P/log NP = P 2 Recall

More information

Tractable Queries for Lightweight Description Logics

Tractable Queries for Lightweight Description Logics Tractable Queries for Lightweight Description Logics Meghyn Bienvenu Laboratoire de Recherche en Informatique CNRS & Université Paris Sud, France Magdalena Ortiz Mantas Šimkus Guohui Xiao Institute of

More information

The DL-Lite Family and Relations

The DL-Lite Family and Relations The DL-Lite Family and Relations Alessandro Artale Diego Calvanese Faculty of Computer Science, Free University of Bozen-Bolzano Piazza Domenicani, 3 I-39100 Bolzano, Italy artale@inf.unibz.it calvanese@inf.unibz.it

More information

Datalog : A Family of Languages for Ontology Querying

Datalog : A Family of Languages for Ontology Querying Datalog : A Family of Languages for Ontology Querying Georg Gottlob Department of Computer Science University of Oxford joint work with Andrea Calì,Thomas Lukasiewicz, Marco Manna, Andreas Pieris et al.

More information

Polynomial Combined Rewritings for Existential Rules

Polynomial Combined Rewritings for Existential Rules Proceedings of the Fourteenth International Conference on Principles of Knowledge Representation and Reasoning Polynomial Combined Rewritings for Existential Rules Georg Gottlob 1 and Marco Manna 2 and

More information

Modularity in DL-Lite

Modularity in DL-Lite Modularity in DL-Lite Roman Kontchakov 1, Frank Wolter 2, and Michael Zakharyaschev 1 1 School of Computer Science and Information Systems, Birkbeck College, London, {roman,michael}@dcs.bbk.ac.uk 2 Department

More information

The DL-Lite Family and Relations

The DL-Lite Family and Relations The DL-Lite Family and Relations The DL-Lite Family and Relations Alessandro Artale Diego Calvanese KRDB Research Centre, Free University of Bozen-Bolzano Piazza Domenicani, 3 I-39100 Bolzano, Italy artale@inf.unibz.it

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

OntoRevision: A Plug-in System for Ontology Revision in

OntoRevision: A Plug-in System for Ontology Revision in OntoRevision: A Plug-in System for Ontology Revision in Protégé Nathan Cobby 1, Kewen Wang 1, Zhe Wang 2, and Marco Sotomayor 1 1 Griffith University, Australia 2 Oxford University, UK Abstract. Ontologies

More information

Inconsistency-Tolerant Ontology-Based Data Access Revisited: Taking Mappings into Account

Inconsistency-Tolerant Ontology-Based Data Access Revisited: Taking Mappings into Account Inconsistency-Tolerant Ontology-Based Data Access Revisited: Taking Mappings into Account Meghyn Bienvenu French National Center for Scientific Research (CNRS) University of Montpellier French Institute

More information

CS151 Complexity Theory

CS151 Complexity Theory Introduction CS151 Complexity Theory Lecture 5 April 13, 2004 Power from an unexpected source? we know PEXP, which implies no polytime algorithm for Succinct CVAL poly-size Boolean circuits for Succinct

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

Complexity of Reasoning in Entity Relationship Models

Complexity of Reasoning in Entity Relationship Models Complexity of Reasoning in Entity Relationship Models A. Artale 1, D. Calvanese 1, R. Kontchakov 2, V. Ryzhikov 1, M. Zakharyaschev 2 1 Faculty of Computer Science Free University of Bozen-Bolzano I-39100

More information

Downloaded from: Usage Guidelines

Downloaded from:  Usage Guidelines Artale, A. and Kontchakov, Roman and Ryzhikov, V. and Zakharyaschev, Michael (2013) The complexity of clausal fragments of LTL. In: McMillan, K. and Middeldorp, A. and Voronkov, A. (eds.) Logic for Programming,

More information

The Bag Semantics of Ontology-Based Data Access

The Bag Semantics of Ontology-Based Data Access The Bag Semantics of Ontology-Based Data Access Charalampos Nikolaou, Egor V. Kostylev, George Konstantinidis, Mark Kaminski, Bernardo Cuenca Grau, and Ian Horrocks Department of Computer Science, University

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

On Prototypes for Winslett s Semantics of DL-Lite ABox Evolution

On Prototypes for Winslett s Semantics of DL-Lite ABox Evolution On Prototypes for Winslett s Semantics of DL-Lite ABox Evolution Evgeny Kharlamov, and Dmitriy Zheleznyakov KRDB Research Centre, Free University of Bozen-Bolzano, Italy last_name@inf.unibz.it Abstract.

More information

Optimal Nonrecursive Datalog Rewritings of Linear TGDs and Bounded (Hyper)Tree-Width Queries

Optimal Nonrecursive Datalog Rewritings of Linear TGDs and Bounded (Hyper)Tree-Width Queries Optimal Nonrecursive Datalog Rewritings of Linear TGDs and Bounded (Hyper)Tree-Width Queries M. Bienvenu 1, S. Kikot 2, R. Kontchakov 2, V. Ryzhikov 3, and M. Zakharyaschev 2 1 CNRS & University of Montpellier,

More information

Ontology-Based Data Access with Closed Predicates Is Inherently Intractable (Sometimes)

Ontology-Based Data Access with Closed Predicates Is Inherently Intractable (Sometimes) Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence Ontology-Based Data Access with Closed Predicates Is Inherently Intractable (Sometimes) Carsten Lutz and İnanç

More information

A New Approach to Knowledge Base Revision in DL-Lite

A New Approach to Knowledge Base Revision in DL-Lite A New Approach to Knowledge Base Revision in DL-Lite Zhe Wang and Kewen Wang and Rodney Topor School of ICT, Griffith University Nathan, QLD 4111, Australia Abstract Revising knowledge bases (KBs) in description

More information

Finite Model Reasoning in Horn-SHIQ

Finite Model Reasoning in Horn-SHIQ Finite Model Reasoning in Horn-SHIQ Yazmín Ibañez-García 1, Carsten Lutz 2, and Thomas Schneider 2 1 KRDB Research Centre, Free Univ. of Bozen-Bolzano, Italy,{ibanezgarcia@inf.unibz.it} 2 Univ. Bremen,

More information

Complexity of Approximate Query Answering under Inconsistency in Datalog ±

Complexity of Approximate Query Answering under Inconsistency in Datalog ± Complexity of Approximate Query Answering under Inconsistency in Datalog ± Thomas Lukasiewicz 1, Enrico Malizia 2, and Cristian Molinaro 3 1 Department of Computer Science, University of Oxford, UK thomas.lukasiewicz@cs.ox.ac.uk

More information

First Order-Rewritability and Containment of Conjunctive Queries in Horn Description Logics

First Order-Rewritability and Containment of Conjunctive Queries in Horn Description Logics First Order-Rewritability and Containment of Conjunctive Queries in Horn Description Logics Meghyn Bienvenu CNRS, Univ. Montpellier, Inria, France meghyn@lirmm.fr Peter Hansen and Carsten Lutz University

More information

The Concept Difference for EL-Terminologies using Hypergraphs

The Concept Difference for EL-Terminologies using Hypergraphs The Concept Difference for EL-Terminologies using Hypergraphs Andreas Ecke Theoretical Computer Science TU Dresden, Germany ecke@tcs.inf.tudresden.de Michel Ludwig Theoretical Computer Science TU Dresden,

More information

Tractable Lineages on Treelike Instances: Limits and Extensions

Tractable Lineages on Treelike Instances: Limits and Extensions Tractable Lineages on Treelike Instances: Limits and Extensions Antoine Amarilli 1, Pierre Bourhis 2, Pierre enellart 1,3 June 29th, 2016 1 Télécom ParisTech 2 CNR CRItAL 3 National University of ingapore

More information

Incremental Query Rewriting for OWL 2 QL

Incremental Query Rewriting for OWL 2 QL Incremental Query Rewriting for OWL 2 QL Tassos Venetis, Giorgos Stoilos, and Giorgos Stamou School of Electrical and Computer Engineering National Technical University of Athens, Greece 1 Introduction

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

Queries with Negation and Inequalities over Lightweight Ontologies

Queries with Negation and Inequalities over Lightweight Ontologies *Manuscript Click here to view linked References Queries with Negation and Inequalities over Lightweight Ontologies V ıctor Gutiérrez-Basulto a, Yazm ın Ibá nez-garc ıa a,b, Roman Kontchakov c, Egor V.

More information

The DL-Lite Family and Relations

The DL-Lite Family and Relations Journal of Artificial Intelligence Research 36 (2009) 1 69 Submitted 04/09; published 10/09 The DL-Lite Family and Relations Alessandro Artale Diego Calvanese KRDB Research Centre Free University of Bozen-Bolzano

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

Complete problems for classes in PH, The Polynomial-Time Hierarchy (PH) oracle is like a subroutine, or function in

Complete problems for classes in PH, The Polynomial-Time Hierarchy (PH) oracle is like a subroutine, or function in Oracle Turing Machines Nondeterministic OTM defined in the same way (transition relation, rather than function) oracle is like a subroutine, or function in your favorite PL but each call counts as single

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

Conjunctive Regular Path Queries in Lightweight Description Logics

Conjunctive Regular Path Queries in Lightweight Description Logics Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence Conjunctive Regular Path Queries in Lightweight Description Logics Meghyn Bienvenu Laboratoire de Recherche en

More information

Dichotomies in Ontology-Mediated Querying with the Guarded Fragment

Dichotomies in Ontology-Mediated Querying with the Guarded Fragment Dichotomies in Ontology-Mediated Querying with the Guarded Fragment eating these from the CONP-hard cases. This question and related ones have given rise to a considerable array of ontology languages,

More information

Revision of DL-Lite Knowledge Bases

Revision of DL-Lite Knowledge Bases Revision of DL-Lite Knowledge Bases Zhe Wang, Kewen Wang, and Rodney Topor Griffith University, Australia Abstract. We address the revision problem for knowledge bases (KBs) in Description Logics (DLs).

More information

Tractable Approximations of Consistent Query Answering for Robust Ontology-Based Data Access

Tractable Approximations of Consistent Query Answering for Robust Ontology-Based Data Access Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence Tractable Approximations of Consistent Query Answering for Robust Ontology-Based Data Access Meghyn Bienvenu Laboratoire

More information

Computing Datalog Rewritings Beyond Horn Ontologies

Computing Datalog Rewritings Beyond Horn Ontologies Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence Computing Datalog Rewritings Beyond Horn Ontologies Bernardo Cuenca Grau 1 and Boris Motik 1 and Giorgos Stoilos

More information

Regular Path Queries in Lightweight Description Logics: Complexity and Algorithms

Regular Path Queries in Lightweight Description Logics: Complexity and Algorithms Journal of Artificial Intelligence Research 53 (2015) 315 374 Submitted 09/14; published 07/15 Regular Path Queries in Lightweight Description Logics: Complexity and Algorithms Meghyn Bienvenu Laboratoire

More information

Complexity of Axiom Pinpointing in the DL-Lite Family

Complexity of Axiom Pinpointing in the DL-Lite Family Proc. 23rd Int. Workshop on Description Logics (DL2010), CEUR-WS 573, Waterloo, Canada, 2010. Complexity of Axiom Pinpointing in the DL-Lite Family Rafael Peñaloza 1 and Barış Sertkaya 2 1 Theoretical

More information

Minimal Module Extraction from DL-Lite Ontologies using QBF Solvers

Minimal Module Extraction from DL-Lite Ontologies using QBF Solvers Minimal Module Extraction from DL-Lite Ontologies using QBF Solvers R. Kontchakov, 1 L. Pulina, 2 U. Sattler, 3 T. Schneider, 3 P. Selmer, 1 F. Wolter 4 and M. Zakharyaschev 1 1 School of Computer Science

More information

1 Ontology-based Data Access: A Study through Disjunctive Datalog, CSP, and MMSNP

1 Ontology-based Data Access: A Study through Disjunctive Datalog, CSP, and MMSNP 1 Ontology-based Data Access: A Study through Disjunctive Datalog, CSP, and MMSNP MEGHYN BIENVENU, CNRS & Université Paris Sud BALDER TEN CATE, University of California Santa Cruz CARSTEN LUTZ, Universität

More information

The Bag Semantics of Ontology-Based Data Access

The Bag Semantics of Ontology-Based Data Access The Bag Semantics of Ontology-Based Data Access Charalampos Nikolaou and Egor V. Kostylev and George Konstantinidis and Mark Kaminski and Bernardo Cuenca Grau and Ian Horrocks Department of Computer Science,

More information

Phase 1. Phase 2. Phase 3. History. implementation of systems based on incomplete structural subsumption algorithms

Phase 1. Phase 2. Phase 3. History. implementation of systems based on incomplete structural subsumption algorithms History Phase 1 implementation of systems based on incomplete structural subsumption algorithms Phase 2 tableau-based algorithms and complexity results first tableau-based systems (Kris, Crack) first formal

More information

Scalable Geo-thematic Query Answering

Scalable Geo-thematic Query Answering Scalable Geo-thematic Query Answering Özgür Lütfü Özçep and Ralf Möller Institute for Software Systems (STS) Hamburg University of Technology Hamburg, Germany {oezguer.oezcep,moeller}@tu-harburg.de Abstract.

More information

A Characterisation of NL/poly via Nondeterministic Finite Automata.

A Characterisation of NL/poly via Nondeterministic Finite Automata. A Characterisation of NL/poly via Nondeterministic Finite Automata. Rob Myers and Henning Urbat Institut für Theoretische Informatik TU Braunschweig, Germany April 3, 23 Abstract For each language L 2

More information

Lecture 8: Complete Problems for Other Complexity Classes

Lecture 8: Complete Problems for Other Complexity Classes IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Basic Course on Computational Complexity Lecture 8: Complete Problems for Other Complexity Classes David Mix Barrington and Alexis Maciel

More information

DL-Lite with Temporalised Concepts, Rigid Axioms and Roles

DL-Lite with Temporalised Concepts, Rigid Axioms and Roles DL-Lite with Temporalised Concepts, Rigid Axioms and Roles A. Artale, 1 R. Kontchakov, 2 V. Ryzhikov, 1 and M. Zakharyaschev 2 1 KRDB Research Centre Free University of Bozen-Bolzano I-39100 Bolzano, Italy

More information

Revising General Knowledge Bases in Description Logics

Revising General Knowledge Bases in Description Logics Revising General Knowledge Bases in Description Logics Zhe Wang and Kewen Wang and Rodney Topor Griffith University, Australia Abstract Revising knowledge bases (KBs) in description logics (DLs) in a syntax-independent

More information

DESCRIPTION LOGICS. Paula Severi. October 12, University of Leicester

DESCRIPTION LOGICS. Paula Severi. October 12, University of Leicester DESCRIPTION LOGICS Paula Severi University of Leicester October 12, 2009 Description Logics Outline Introduction: main principle, why the name description logic, application to semantic web. Syntax and

More information

Forgetting and uniform interpolation in large-scale description logic terminologies

Forgetting and uniform interpolation in large-scale description logic terminologies Forgetting and uniform interpolation in large-scale description logic terminologies Boris Konev, Dirk Walther, and Frank Wolter Department of Computer Science University of Liverpool, UK {konev, dwalther,

More information

Temporal OBDA with LTL and DL-Lite

Temporal OBDA with LTL and DL-Lite Temporal OBA with LTL and L-Lite Alessandro Artale 1, Roman Kontchakov 2, Alisa Kovtunova 1, Vladislav Ryzhikov 1, Frank Wolter 3 and Michael Zakharyaschev 2 1 Faculty of Computer Science, Free University

More information

CS151 Complexity Theory. Lecture 6 April 19, 2017

CS151 Complexity Theory. Lecture 6 April 19, 2017 CS151 Complexity Theory Lecture 6 Shannon s counting argument frustrating fact: almost all functions require huge circuits Theorem (Shannon): With probability at least 1 o(1), a random function f:{0,1}

More information

Computing Datalog Rewritings Beyond Horn Ontologies

Computing Datalog Rewritings Beyond Horn Ontologies Computing Datalog Rewritings Beyond Horn Ontologies Bernardo Cuenca Grau 1 and Boris Motik 1 and Giorgos Stoilos 2 and Ian Horrocks 1 1 Department of Computer Science 2 School of Electrical and Computer

More information

On the Data Complexity of Ontology-Mediated Queries with MTL Operators over Timed Words

On the Data Complexity of Ontology-Mediated Queries with MTL Operators over Timed Words On the Data Complexity of Ontology-Mediated Queries with MTL Operators over Timed Words S. Kikot 1, V. Ryzhikov 2, P. A. Waª ga 1,3, and M. Zakharyaschev 2 1 University of Oxford, U.K. 2 Birkbeck, University

More information

Non-Deterministic Time

Non-Deterministic Time Non-Deterministic Time Master Informatique 2016 1 Non-Deterministic Time Complexity Classes Reminder on DTM vs NDTM [Turing 1936] (q 0, x 0 ) (q 1, x 1 ) Deterministic (q n, x n ) Non-Deterministic (q

More information

Theory of Computation Chapter 9

Theory of Computation Chapter 9 0-0 Theory of Computation Chapter 9 Guan-Shieng Huang May 12, 2003 NP-completeness Problems NP: the class of languages decided by nondeterministic Turing machine in polynomial time NP-completeness: Cook

More information

Temporal Conjunctive Queries in Expressive Description Logics with Transitive Roles

Temporal Conjunctive Queries in Expressive Description Logics with Transitive Roles Temporal Conjunctive Queries in Expressive Description Logics with Transitive Roles Franz Baader, Stefan Borgwardt, and Marcel Lippmann Theoretical Computer Science, TU Dresden, Germany firstname.lastname@tu-dresden.de

More information

Completeness Guarantees for Incomplete Reasoners

Completeness Guarantees for Incomplete Reasoners Completeness Guarantees for Incomplete Reasoners Giorgos Stoilos, Bernardo Cuenca Grau, and Ian Horrocks Oxford University Computing Laboratory Wolfson Building, Parks Road, Oxford, UK Abstract. We extend

More information

Compact Rewriting for Existential Rules

Compact Rewriting for Existential Rules Compact Rewriting for Existential Rules Michaël Thomazo To cite this version: Michaël Thomazo. Compact Rewriting for Existential Rules. IJCAI: International Joint Conference on Artificial Intelligence,

More information

DL-Lite with Attributes and Sub-Roles (Full Version)

DL-Lite with Attributes and Sub-Roles (Full Version) DL-Lite with Attributes and Sub-Roles (Full Version) A. Artale and V. Ryzhikov KRDB Research Centre Free University of Bozen-Bolzano, Italy {lastname}@inf.unibz.it R. Kontchakov Dept. of Comp. Science

More information

A A Cookbook for Temporal Conceptual Data Modelling with Description Logics

A A Cookbook for Temporal Conceptual Data Modelling with Description Logics A A Cookbook for Temporal Conceptual Data Modelling with Description Logics ALESSANDRO ARTALE and VLADISLAV RYZHIKOV, KRDB Research Centre, Free University of Bozen-Bolzano, Italy ROMAN KONTCHAKOV and

More information

On the Complexity of Dealing with Inconsistency in Description Logic Ontologies

On the Complexity of Dealing with Inconsistency in Description Logic Ontologies Proceedings of the Twenty-Second International Joint Conference on Artificial Intelligence On the Complexity of Dealing with Inconsistency in Description Logic Ontologies Riccardo Rosati Dipartimento di

More information

New inconsistency-tolerant semantics for robust ontology-based data access

New inconsistency-tolerant semantics for robust ontology-based data access New inconsistency-tolerant semantics for robust ontology-based data access Meghyn Bienvenu 1 and Riccardo Rosati 2 1 Laboratoire de Recherche en Informatique CNRS & Université Paris-Sud, France 2 Dipartimento

More information

Topological Logics over Euclidean Spaces

Topological Logics over Euclidean Spaces Topological Logics over Euclidean Spaces Roman Kontchakov Department of Computer Science and Inf Systems, Birkbeck College, London http://wwwdcsbbkacuk/~roman joint work with Ian Pratt-Hartmann and Michael

More information

Hardness of Function Composition for Semantic Read once Branching. Programs. June 23, 2018

Hardness of Function Composition for Semantic Read once Branching. Programs. June 23, 2018 once for once June 23, 2018 P and L once P: Polynomial time computable functions. * * * * L : s computable in logarithmic space. L? P f (x 1, x 2,.., x n ) {0, 1} Definition Deterministic program DAG with

More information

Introduction to Description Logic and Query Rewriting

Introduction to Description Logic and Query Rewriting Introduction to Description Logic and Query Rewriting Roman Kontchakov Department of Computer Science and Inf. Systems, Birkbeck College, London http://www.dcs.bbk.ac.uk/~roman Alessandro Artale, Diego

More information

A Compilation Technique for Interactive Ontology-mediated Data Exploration

A Compilation Technique for Interactive Ontology-mediated Data Exploration A Compilation Technique for Interactive Ontology-mediated Data Eploration Medina Andresel, Magdalena Ortiz de la Fuente, and Mantas Šimkus TU Wien, Austria Abstract We make a step towards the interactive

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

Combining Existential Rules and Transitivity: Next Steps

Combining Existential Rules and Transitivity: Next Steps Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence (IJCAI 2015) Combining Existential Rules and Transitivity: Next Steps Jean-François Baget Inria, CNRS, Univ. Montpellier

More information

1 Circuit Complexity. CS 6743 Lecture 15 1 Fall Definitions

1 Circuit Complexity. CS 6743 Lecture 15 1 Fall Definitions CS 6743 Lecture 15 1 Fall 2007 1 Circuit Complexity 1.1 Definitions A Boolean circuit C on n inputs x 1,..., x n is a directed acyclic graph (DAG) with n nodes of in-degree 0 (the inputs x 1,..., x n ),

More information

First-Order Rewritability of Frontier-Guarded Ontology-Mediated Queries

First-Order Rewritability of Frontier-Guarded Ontology-Mediated Queries First-Order Rewritability of Frontier-Guarded Ontology-Mediated Queries Pablo Barceló 1, Gerald Berger 2, Carsten Lutz 3 and Andreas Pieris 4 1 Millennium Institute for Foundational Research on Data &

More information

Temporal Query Answering in DL-Lite with Negation

Temporal Query Answering in DL-Lite with Negation EPiC Series in Computer Science Volume 36, 2015, Pages 51 65 GCAI 2015 Global Conference on Artificial Intelligence Temporal Query Answering in DL-Lite with Negation Stefan Borgwardt and Veronika Thost

More information

Lecture 59 : Instance Compression and Succinct PCP s for NP

Lecture 59 : Instance Compression and Succinct PCP s for NP IITM-CS6840: Advanced Complexity Theory March 31, 2012 Lecture 59 : Instance Compression and Succinct PCP s for NP Lecturer: Sivaramakrishnan N.R. Scribe: Prashant Vasudevan 1 Introduction Classical Complexity

More information

Intro to Theory of Computation

Intro to Theory of Computation Intro to Theory of Computation LECTURE 24 Last time Relationship between models: deterministic/nondeterministic Class P Today Class NP Sofya Raskhodnikova Homework 9 due Homework 0 out 4/5/206 L24. I-clicker

More information

Structural Tractability of Counting of Solutions to Conjunctive Queries

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

On the Complexity of Consistent Query Answering in the Presence of Simple Ontologies

On the Complexity of Consistent Query Answering in the Presence of Simple Ontologies Proceedings of the Twenty-Sixth AAAI Conference on Artificial Intelligence On the Complexity of Consistent Query Answering in the Presence of Simple Ontologies Meghyn Bienvenu Laboratoire de Recherche

More information