Incomplete Information in RDF

Size: px
Start display at page:

Download "Incomplete Information in RDF"

Transcription

1 Incomplete Information in RDF Charalampos Nikolaou and Manolis Koubarakis Department of Informatics and Telecommunications National and Kapodistrian University of Athens Web Reasoning and Rule Systems (RR) 2013 July 27, 2013

2 Outline Motivation Previous work The RDF i framework SPARQL query evaluation over RDF i databases An algorithm for certain answer computation Preliminary complexity results Conclusions and future work C. Nikolaou and M. Koubarakis Incomplete Information in RDF 2/36

3 Motivation Incomplete information is an important issue in many research areas: relational databases, knowledge representation and the semantic web. Incomplete information arises in many practical settings (e.g., sensor data). RDF is often used to represent such data. Even if initial information is complete, incomplete information arises later on (e.g., relational view updates, data integration, data exchange). Although there is much work recently on incomplete information in XML, not much has been done for incomplete information in RDF. C. Nikolaou and M. Koubarakis Incomplete Information in RDF 3/36

4 Previous work Relational Relations extended to tables with various models of incompleteness [Imielinski/Lipski 84] Complexity results for the associated decision problems [Abiteboul/Kanellakis/Grahne 91] Dependencies and updates [Grahne 91] C. Nikolaou and M. Koubarakis Incomplete Information in RDF 4/36

5 Previous work Relational Relations extended to tables with various models of incompleteness [Imielinski/Lipski 84] Complexity results for the associated decision problems [Abiteboul/Kanellakis/Grahne 91] Dependencies and updates [Grahne 91] XML Dynamic enrichment of incomplete information [Abiteboul/Segoufin/Vianu 01, 06] General models of incompleteness, query answering, and computational complexity [Barceló/Libkin/Poggi/Sirangelo 09, 10] C. Nikolaou and M. Koubarakis Incomplete Information in RDF 4/36

6 Previous work (cont d) RDF Blank nodes as existential variables in the RDF standard SPARQL query evaluation under certain answer semantics (Open World Assumption) [Arenas/Pérez 11] Anonymous timestamps in general temporal RDF graphs [Gutierrez/Hurtado/Vaisman 05] General temporal RDF graphs with temporal constraints [Hurtado/Vaisman 06] C. Nikolaou and M. Koubarakis Incomplete Information in RDF 5/36

7 Previous work (cont d) RDF Blank nodes as existential variables in the RDF standard SPARQL query evaluation under certain answer semantics (Open World Assumption) [Arenas/Pérez 11] Anonymous timestamps in general temporal RDF graphs [Gutierrez/Hurtado/Vaisman 05] General temporal RDF graphs with temporal constraints [Hurtado/Vaisman 06] RDF i : It captures incomplete information for property values using constraints. It is for RDF what the c-tables model is for the relational model. C. Nikolaou and M. Koubarakis Incomplete Information in RDF 5/36

8 RDF i by example Example hotspot1 type Hotspot. fire1 type Fire. hotspot1 correspondsto fire1. fire1 occuredin _R1. y P 23 x C. Nikolaou and M. Koubarakis Incomplete Information in RDF 6/36

9 RDF i by example Example y hotspot1 type Hotspot. fire1 type Fire. hotspot1 correspondsto fire1. fire1 occuredin _R P R1 NTPP "x 6 x 23 y 8 y 19" 6 23 x C. Nikolaou and M. Koubarakis Incomplete Information in RDF 6/36

10 RDF i in a nutshell Extension of RDF for capturing incomplete information for property values that exist but are unknown or partially known Partial knowledge captured by constraints using an appropriate constraint language L interpreted over a fixed structure M L Syntax RDF graphs extended to RDF i databases: pair (G, φ) G: RDF graph with a new kind of literals, called e-literals φ: quantifier-free formula of L Semantics Possible world semantics as in [Imielinski/Lipski 84] and [Grahne 91] C. Nikolaou and M. Koubarakis Incomplete Information in RDF 7/36

11 Constraint languages L Examples ECL Equality constraints interpreted over an infinite domain: x EQ y, x EQ c Blank nodes as existential variables C. Nikolaou and M. Koubarakis Incomplete Information in RDF 8/36

12 Constraint languages L Examples ECL Equality constraints interpreted over an infinite domain: x EQ y, x EQ c Blank nodes as existential variables dipcl/depcl Difference constraints of the form x y c interpreted over the integers or rationals Incomplete temporal information [Koubarakis 94] C. Nikolaou and M. Koubarakis Incomplete Information in RDF 8/36

13 Constraint languages L Examples ECL Equality constraints interpreted over an infinite domain: x EQ y, x EQ c Blank nodes as existential variables dipcl/depcl Difference constraints of the form x y c interpreted over the integers or rationals Incomplete temporal information [Koubarakis 94] TCL Topological constraints of non-empty, regular closed subsets of topological space Six binary predicates: DC, EC, PO, EQ, TPP, NTPP x DC y x EC y x y x y x EQ y x TPP y x y y x x PO y x y x NTPP y y x C. Nikolaou and M. Koubarakis Incomplete Information in RDF 8/36

14 Constraint languages L Examples ECL Equality constraints interpreted over an infinite domain: x EQ y, x EQ c Blank nodes as existential variables TCL Topological constraints of non-empty, regular closed subsets of topological space Six binary predicates: DC, EC, PO, EQ, TPP, NTPP dipcl/depcl Difference constraints of the form x y c interpreted over the integers or rationals Incomplete temporal information [Koubarakis 94] PCL TCL plus constant symbols representing polygons in Q 2 e.g., r NTPP "x y 0 x 1 y 0" C. Nikolaou and M. Koubarakis Incomplete Information in RDF 8/36

15 RDF i : Vocabulary RDF RDF i L I (IRIs) B (blank nodes) L (literals) M (datatype map) I B L C (literals) U (e-literals) M A (datatypes) constants variables set of sorts C. Nikolaou and M. Koubarakis Incomplete Information in RDF 9/36

16 RDF i : Vocabulary RDF RDF i L I (IRIs) B (blank nodes) L (literals) M (datatype map) I B L C (literals) U (e-literals) M A (datatypes) constants variables set of sorts M L interprets the constants of L in agreement with function L2V of M C. Nikolaou and M. Koubarakis Incomplete Information in RDF 9/36

17 RDF i : Syntax I subject predicate object I B I B L C U θ I : IRIs B: blank nodes L : literals C : constants of L U: e-literals Definition (s, p, o) (I B) I (I B L C U) is called an e-triple C. Nikolaou and M. Koubarakis Incomplete Information in RDF 10/36

18 RDF i : Syntax I subject predicate object I B I B L C U θ I : IRIs B: blank nodes L : literals C : constants of L U: e-literals Definition (s, p, o) (I B) I (I B L C U) is called an e-triple If t is an e-triple and θ a conjunction of L-constraints, then the pair (t, θ) is called a conditional triple C. Nikolaou and M. Koubarakis Incomplete Information in RDF 10/36

19 RDF i : Syntax I subject predicate object I B I B L C U θ I : IRIs B: blank nodes L : literals C : constants of L U: e-literals Definition (s, p, o) (I B) I (I B L C U) is called an e-triple If t is an e-triple and θ a conjunction of L-constraints, then the pair (t, θ) is called a conditional triple A set of conditional triples is called a conditional graph C. Nikolaou and M. Koubarakis Incomplete Information in RDF 10/36

20 RDF i : Syntax (cont d) Definition An RDF i database D is a pair D = (G, φ) where G is a conditional graph and φ a Boolean combination of L-constraints (global constraint) Example hotspot1 type Hotspot. fire1 type Fire. hotspot1 correspondsto fire1. fire1 occuredin _R1. y 19 8 P R1 NTPP "x 6 x 23 y 8 y 19" 6 23 x C. Nikolaou and M. Koubarakis Incomplete Information in RDF 11/36

21 RDF i : Semantics RDF i database D Rep set of RDF graphs G 1, G 2,. C. Nikolaou and M. Koubarakis Incomplete Information in RDF 12/36

22 RDF i : Semantics RDF i database D Rep set of RDF graphs G 1, G 2,. Definition A valuation v is a function from U to C assigning to each e-literal from U a constant from C Definition Let G be a conditional graph and v a valuation. Then v(g) denotes the RDF graph {v(t) (t, θ) G and M L = v(θ)} C. Nikolaou and M. Koubarakis Incomplete Information in RDF 12/36

23 RDF i : Semantics (cont d) From RDF i databases to sets of RDF graphs An RDF i database D = (G, φ) corresponds to the following set of RDF graphs: { Rep(D) = H there exists valuation v and RDF graph H } such that M L = v(φ) and H v(g) Relation captures the OWA semantics An RDF i database corresponds to an infinite number of RDF graphs C. Nikolaou and M. Koubarakis Incomplete Information in RDF 13/36

24 Question How can we evaluate a query q over an RDF i database D (compute q D )? C. Nikolaou and M. Koubarakis Incomplete Information in RDF 14/36

25 Question How can we evaluate a query q over an RDF i database D (compute q D )? Semantic definition q Rep(D) = { q G G Rep(D)} C. Nikolaou and M. Koubarakis Incomplete Information in RDF 14/36

26 Question How can we evaluate a query q over an RDF i database D (compute q D )? Semantic definition q Rep(D) = { q G G Rep(D)} C. Nikolaou and M. Koubarakis Incomplete Information in RDF 14/36

27 Question How can we evaluate a query q over an RDF i database D (compute q D )? Semantic definition q Rep(D) = { q G G Rep(D)} In practice? Start with SPARQL algebra of [Pérez/Arenas/Gutierrez 06] with set semantics Define SPARQL query evaluation for RDF i databases C. Nikolaou and M. Koubarakis Incomplete Information in RDF 14/36

28 From mappings to e-mappings... {?F fire1,?s x 1 x 2 y 1 y 2 } C. Nikolaou and M. Koubarakis Incomplete Information in RDF 15/36

29 From mappings to e-mappings... {?F fire1,?s x 1 x 2 y 1 y 2 } {?F fire1,?s R1} C. Nikolaou and M. Koubarakis Incomplete Information in RDF 15/36

30 ... to conditional mappings {?F fire1,?s x 1 x 2 y 1 y 2 } C. Nikolaou and M. Koubarakis Incomplete Information in RDF 16/36

31 ... to conditional mappings ( ) {?F fire1,?s x 1 x 2 y 1 y 2 }, true C. Nikolaou and M. Koubarakis Incomplete Information in RDF 16/36

32 ... to conditional mappings ( ) {?F fire1,?s R1}, R1 EQ x 1 x 2 y 1 y 2 C. Nikolaou and M. Koubarakis Incomplete Information in RDF 16/36

33 From compatible mappings to possibly compatible mappings Join of conditional mappings ( ) {?F fire1,?s R1}, R1 EQ x 1 x 2 y 1 y 2 ( ) {?S R2}, true C. Nikolaou and M. Koubarakis Incomplete Information in RDF 17/36

34 From compatible mappings to possibly compatible mappings Join of conditional mappings ( ) {?F fire1,?s R1}, R1 EQ x 1 x 2 y 1 y 2 ( ) {?S R2}, true C. Nikolaou and M. Koubarakis Incomplete Information in RDF 17/36

35 From compatible mappings to possibly compatible mappings Join of conditional mappings ( ) {?F fire1,?s R1}, R1 EQ x 1 x 2 y 1 y 2 ( ) {?S R2}, true = C. Nikolaou and M. Koubarakis Incomplete Information in RDF 17/36

36 From compatible mappings to possibly compatible mappings Join of conditional mappings ( ) {?F fire1,?s R1}, R1 EQ x 1 x 2 y 1 y 2 ( ) {?S R2}, true = ( {?F fire1,?s R1}, true R1 EQ R2 ) R1 EQ x 1 x 2 y 1 y 2 C. Nikolaou and M. Koubarakis Incomplete Information in RDF 17/36

37 Operations on conditional mappings Let Ω 1 and Ω 2 be sets of conditional mappings. We can define the operation of: Join (Ω 1 Ω 2 ) Union (Ω 1 Ω 2 ) Difference (Ω 1 \ Ω 2 ) Left-outer join (Ω 1 1Ω 2 ) C. Nikolaou and M. Koubarakis Incomplete Information in RDF 18/36

38 Graph pattern evaluation If D is an RDF i database and P a graph pattern, the evaluation of P over D is defined recursively: C. Nikolaou and M. Koubarakis Incomplete Information in RDF 19/36

39 Graph pattern evaluation If D is an RDF i database and P a graph pattern, the evaluation of P over D is defined recursively: base case: P is the triple pattern t recursion: P is (P 1 AND P 2 ) P 1 D P 2 D P is (P 1 UNION P 2 ) P 1 D P 2 D P is (P 1 OPT P 2 ) P 1 D 1 P 2 D C. Nikolaou and M. Koubarakis Incomplete Information in RDF 19/36

40 Graph pattern evaluation If D is an RDF i database and P a graph pattern, the evaluation of P over D is defined recursively: base case: P is the triple pattern t recursion: P is (P 1 AND P 2 ) P 1 D P 2 D P is (P 1 UNION P 2 ) P 1 D P 2 D P is (P 1 OPT P 2 ) P 1 D 1 P 2 D P is (P 1 FILTER R) where R is a conjunction of L-constraints C. Nikolaou and M. Koubarakis Incomplete Information in RDF 19/36

41 Graph pattern evaluation If D is an RDF i database and P a graph pattern, the evaluation of P over D is defined recursively: base case: P is the triple pattern t recursion: P is (P 1 AND P 2 ) P 1 D P 2 D P is (P 1 UNION P 2 ) P 1 D P 2 D P is (P 1 OPT P 2 ) P 1 D 1 P 2 D P is (P 1 FILTER R) where R is a conjunction of L-constraints C. Nikolaou and M. Koubarakis Incomplete Information in RDF 19/36

42 Triple pattern evaluation (case 1) Example Database D fire1 occuredin _R1. Query q?f occuredin?r R1 NTPP "x 6 x 23 y 8 y 19" C. Nikolaou and M. Koubarakis Incomplete Information in RDF 20/36

43 Triple pattern evaluation (case 1) Example Database D fire1 occuredin _R1. Query q?f occuredin?r R1 NTPP "x 6 x 23 y 8 y 19" Answer (set of conditional mappings) { ({?F ) } q D = fire1,?r R1}, true C. Nikolaou and M. Koubarakis Incomplete Information in RDF 20/36

44 Triple pattern evaluation (case 2) Example Database D fire1 occuredin _R1. R1 NTPP "x 6 x 23 y 8 y 19" Query q?f occuredin "x 1 x 2 y 1 y 2" C. Nikolaou and M. Koubarakis Incomplete Information in RDF 21/36

45 Triple pattern evaluation (case 2) Example Database D fire1 occuredin _R1. R1 NTPP "x 6 x 23 y 8 y 19" Query q?f occuredin "x 1 x 2 y 1 y 2" Answer (set of conditional mappings) { ({?F ) } q D = fire1}, R1 EQ "x 1 x 2 y 1 y 2" C. Nikolaou and M. Koubarakis Incomplete Information in RDF 21/36

46 Evaluation of FILTER graph patterns Example Database D fire1 occuredin _R1. R1 NTPP "x 6 x 23 y 8 y 19" Query q?f occuredin?r. FILTER (?R NTPP "x 1 x 2 y 1 y 2") C. Nikolaou and M. Koubarakis Incomplete Information in RDF 22/36

47 Evaluation of FILTER graph patterns Example Database D fire1 occuredin _R1. R1 NTPP "x 6 x 23 y 8 y 19" Query q?f occuredin?r. FILTER (?R NTPP "x 1 x 2 y 1 y 2") Answer q D = { ({?F fire1,?r R1}, R1 NTPP "x 1 x 2 y 1 y 2" )} C. Nikolaou and M. Koubarakis Incomplete Information in RDF 22/36

48 SELECT queries Example Database D fire1 occuredin _R1. R1 NTPP "x 6 x 23 y 8 y 19" Query q SELECT?F WHERE {?F occuredin?r. FILTER (?R NTPP "x 1 x 2 y 1 y 2")} C. Nikolaou and M. Koubarakis Incomplete Information in RDF 23/36

49 SELECT queries Example Database D fire1 occuredin _R1. R1 NTPP "x 6 x 23 y 8 y 19" Query q SELECT?F WHERE {?F occuredin?r. FILTER (?R NTPP "x 1 x 2 y 1 y 2")} Answer (set of conditional mappings) q D = { ({?F fire1}, R1 NTPP "x 1 x 2 y 1 y 2" )} C. Nikolaou and M. Koubarakis Incomplete Information in RDF 23/36

50 CONSTRUCT queries Example Database D fire1 occuredin _R1. R1 NTPP "x 6 x 23 y 8 y 19" Query q CONSTRUCT {?F type Fire } WHERE {?F occuredin?r } C. Nikolaou and M. Koubarakis Incomplete Information in RDF 24/36

51 CONSTRUCT queries Example Database D fire1 occuredin _R1. R1 NTPP "x 6 x 23 y 8 y 19" Answer (RDF i database) Query q CONSTRUCT {?F type Fire } WHERE {?F occuredin?r } D = (G, φ) fire1 type Fire. R1 NTPP "x 6 x 23 y 8 y 19" C. Nikolaou and M. Koubarakis Incomplete Information in RDF 24/36

52 CONSTRUCT queries Example Database D fire1 occuredin _R1. R1 NTPP "x 6 x 23 y 8 y 19" Answer (RDF i database) Query q CONSTRUCT {?F type Fire } WHERE {?F occuredin?r } D = (G, φ) fire1 type Fire. R1 NTPP "x 6 x 23 y 8 y 19" Closure property C. Nikolaou and M. Koubarakis Incomplete Information in RDF 24/36

53 Correctness of SPARQL query evaluation for RDF i Does query evaluation compute the correct answer (the answer agrees with the semantic definition)? C. Nikolaou and M. Koubarakis Incomplete Information in RDF 25/36

54 Correctness of SPARQL query evaluation for RDF i Does query evaluation compute the correct answer (the answer agrees with the semantic definition)? The following diagram should commute Rep D G q q D Rep G C. Nikolaou and M. Koubarakis Incomplete Information in RDF 25/36

55 Correctness of SPARQL query evaluation for RDF i Does query evaluation compute the correct answer (the answer agrees with the semantic definition)? The following diagram should commute Rep D G q q D Rep G C. Nikolaou and M. Koubarakis Incomplete Information in RDF 25/36

56 Correctness of SPARQL query evaluation for RDF i Does query evaluation compute the correct answer (the answer agrees with the semantic definition)? The following diagram should commute Rep D G q q D Rep G C. Nikolaou and M. Koubarakis Incomplete Information in RDF 25/36

57 Correctness of SPARQL query evaluation for RDF i Does query evaluation compute the correct answer (the answer agrees with the semantic definition)? The following diagram should commute Rep D G q q OR Rep( q D ) = q Rep(D) D Rep G C. Nikolaou and M. Koubarakis Incomplete Information in RDF 25/36

58 Correctness of SPARQL query evaluation for RDF i Does query evaluation compute the correct answer (the answer agrees with the semantic definition)? The following diagram should commute. Does it? Rep D G q q OR Rep( q D ) = q Rep(D) D Rep G C. Nikolaou and M. Koubarakis Incomplete Information in RDF 25/36

59 Correctness of SPARQL query evaluation for RDF i Does query evaluation compute the correct answer (the answer agrees with the semantic definition)? The following diagram should commute. Does it? Rep D G q q OR Rep( q D ) = q Rep(D) D Rep G C. Nikolaou and M. Koubarakis Incomplete Information in RDF 25/36

60 Certain answer to the rescue Definition The certain answer to query q over a set of RDF graphs G is set { q G G G} C. Nikolaou and M. Koubarakis Incomplete Information in RDF 26/36

61 Certain answer to the rescue Definition The certain answer to query q over a set of RDF graphs G is set { q G G G} Using the notion of certain answer we can relax the earlier equality requirement to one that uses Q-equivalence. C. Nikolaou and M. Koubarakis Incomplete Information in RDF 26/36

62 Certain answer to the rescue Definition The certain answer to query q over a set of RDF graphs G is set { q G G G} Using the notion of certain answer we can relax the earlier equality requirement to one that uses Q-equivalence. Definition Let Q be a fragment of SPARQL. Two sets of RDF graphs G, H will be Q-equivalent (denoted by G Q H) if they give the same certain answer to every query q Q { q G G G} = { q H H H} C. Nikolaou and M. Koubarakis Incomplete Information in RDF 26/36

63 Representation system Let D be the set of all RDF i databases G be the set of all RDF graphs Rep : D G be a function determining the set of possible RDF graphs corresponding to an RDF i database, and Q be a fragment of SPARQL D, Rep, Q is a representation system if for all D D and all q Q, there exists an RDF i database q D such that Rep( q D ) Q q Rep(D) C. Nikolaou and M. Koubarakis Incomplete Information in RDF 27/36

64 Representation system Let D be the set of all RDF i databases G be the set of all RDF graphs Rep : D G be a function determining the set of possible RDF graphs corresponding to an RDF i database, and Q be a fragment of SPARQL D, Rep, Q is a representation system if for all D D and all q Q, there exists an RDF i database q D such that Rep( q D ) Q q Rep(D) Are there interesting fragments Q of SPARQL that lead to a representation system? C. Nikolaou and M. Koubarakis Incomplete Information in RDF 27/36

65 Representation systems for RDF i Theorem The following fragments of SPARQL can give us representation systems for RDF i (with D and Rep as defined): Q C AUF : CONSTRUCT queries using only AND, UNION, and FILTER graph patterns, and without blank nodes in their templates Q C WD : CONSTRUCT queries using only well-designed graph patterns, and without blank nodes in their templates Well-designed graph patterns [Pérez/Arenas/Gutierrez 06] AND, FILTER, OPT fragment P FILTER R: safe P 1 OPT P 2 : variables in P 2 are properly scoped C. Nikolaou and M. Koubarakis Incomplete Information in RDF 28/36

66 Representation systems for RDF i (cont d) Monotonicity Definition A fragment Q of SPARQL is monotone if for every q Q and RDF graphs G and H such that G H, it is q G q H. Proposition [Arenas/Pérez 11] The fragment of SPARQL corresponding to AND, UNION, and FILTER graph patterns is monotone. The fragment of SPARQL corresponding to well-designed graph patterns is weakly-monotone ( ). Proposition Fragments Q C AUF and QC WD are monotone. C. Nikolaou and M. Koubarakis Incomplete Information in RDF 29/36

67 Computing certain answers Representation systems guarantee correctness of query evaluation for RDF i and SPARQL Query evaluation computes an RDF i database q D = D = (G, φ) How could we compute the certain answer? Rep( q D ) Rep( q D ) is infinite! C. Nikolaou and M. Koubarakis Incomplete Information in RDF 30/36

68 Computing certain answers (cont d) Theorem For D = (G, φ) and q from Q C AUF or QC WD, the certain answer of q over D can be computed as follows: i) compute q D = D q = (G q, φ), ii) compute the RDF i database (H q, φ) = ((D q ) EQ ), and iii) return the set of RDF triples {(s, p, o) ((s, p, o), θ) H q such that φ = θ and o / U} C. Nikolaou and M. Koubarakis Incomplete Information in RDF 31/36

69 The certainty problem CERT (q, H, D) Input An RDF graph H, a CONSTRUCT query q, and an RDF i database D Question Does H belong to the certain answer of q over D? H q Rep(D)? C. Nikolaou and M. Koubarakis Incomplete Information in RDF 32/36

70 The certainty problem CERT (q, H, D) Input An RDF graph H, a CONSTRUCT query q, and an RDF i database D Question Does H belong to the certain answer of q over D? H q Rep(D)? We study the data complexity of CERT (q, H, D) H and D are part of the input q is fixed C. Nikolaou and M. Koubarakis Incomplete Information in RDF 32/36

71 Deciding the certainty problem Theorem CERT (q, H, D) is equivalent to deciding whether formula is true ( l)(φ( l) Θ(t, q, D, l)) t H l is the vector of all e-literals in D Θ(t, q, D, l) is of the form θ 1 θ k, where θ i is a conjunction of L-constraints C. Nikolaou and M. Koubarakis Incomplete Information in RDF 33/36

72 Computational complexity Problem L data complexity CERT (q, H, D) ECL/diPCL/dePCL/RCL conp-complete TCL/PCL (RCC-5) EXPTIME C. Nikolaou and M. Koubarakis Incomplete Information in RDF 34/36

73 Computational complexity Problem L data complexity CERT (q, H, D) ECL/diPCL/dePCL/RCL conp-complete TCL/PCL (RCC-5) EXPTIME Problem combined complexity data complexity SPARQL PSPACE-complete SPARQL AUF NP-complete SPARQL WD conp-complete LOGSPACE C. Nikolaou and M. Koubarakis Incomplete Information in RDF 34/36

74 Conclusions RDF i framework Modeling of incomplete information for property values Formal semantics through possible worlds semantics SPARQL query evaluation and certain answer semantics Two representation systems for RDF i and SPARQL Algorithm for certain answer computation Preliminary complexity analysis C. Nikolaou and M. Koubarakis Incomplete Information in RDF 35/36

75 Future work More general models of incomplete information (subject, predicate) More refined complexity results Scalable implementation when L expresses topological constraints with/without constants (TCL/PCL) Connection with query processing for the topology vocabulary extension of GeoSPARQL Probabilistic extension to RDF i Data integration theory for linked data (only practice exists so far) Connection to geospatial OBDA using DL logics C. Nikolaou and M. Koubarakis Incomplete Information in RDF 36/36

76 Thank you

77 Constraint languages L Properties of L Many-sorted first-order language Interpreted over a fixed (intended) structure M L EQ: distinguished equality predicate L-constraints: quantifier-free formulae of L Weakly closed under negation: the negation of every atomic L-constraint is equivalent to a disjunction of L-constraints

78 Correctness of SPARQL query evaluation for RDF i An easy negative example Example (classical RDF - OWA) s p o. D CONSTRUCT { s?p?o } WHERE { s?p?o } q

79 Correctness of SPARQL query evaluation for RDF i An easy negative example Example (classical RDF - OWA) s p o. D CONSTRUCT { s?p?o } WHERE { s?p?o } q Then, q D = D

80 Correctness of SPARQL query evaluation for RDF i (cont d) An easy negative example Example Let us compare the the set of graphs represented by q D with q Rep(D)

81 Correctness of SPARQL query evaluation for RDF i (cont d) An easy negative example Example Let us compare the the set of graphs represented by q D with q Rep(D) Rep( q D ) = { { } { (s, p, o) (s, p, o), (c, d, e) } { (s, p, o), (s, b, c) } },

82 Correctness of SPARQL query evaluation for RDF i (cont d) An easy negative example Example Let us compare the the set of graphs represented by q D with q Rep(D) Rep( q D ) = { { } { (s, p, o) (s, p, o), (c, d, e) q Rep(D) = { { } { (s, p, o) (s, p, o), (s, b, c) } { (s, p, o), (s, b, c) } }, } },

83 Correctness of SPARQL query evaluation for RDF i (cont d) An easy negative example Example Let us compare the the set of graphs represented by q D with q Rep(D) Rep( q D ) = { { } { (s, p, o) (s, p, o), (c, d, e) q Rep(D) = { { } { (s, p, o) (s, p, o), (s, b, c) } { (s, p, o), (s, b, c) } }, } }, There is no g q Rep(D) containing the triple (c, d, e)!

84 Correctness of SPARQL query evaluation for RDF i (cont d) An easy negative example Example Let us compare the the set of graphs represented by q D with q Rep(D) Rep( q D ) = { { } { (s, p, o) (s, p, o), (c, d, e) q Rep(D) = { { } { (s, p, o) (s, p, o), (s, b, c) } { (s, p, o), (s, b, c) } }, } }, There is no g q Rep(D) containing the triple (c, d, e)! This would work if RDF made the CWA

85 Correctness of SPARQL query evaluation for RDF i (cont d) An easy negative example Example Let us compare the the set of graphs represented by q D with q Rep(D) Rep( q D ) = { { } { (s, p, o) (s, p, o), (c, d, e) q Rep(D) = { { } { (s, p, o) (s, p, o), (s, b, c) } { (s, p, o), (s, b, c) } }, } }, There is no g q Rep(D) containing the triple (c, d, e)! This would work if RDF made the CWA We know this already from the relational case [Imielinski/Lipski 84]

86 Computing certain answers Definitions Definition (EQ-completion) The EQ-completed form of D = (G, φ), denoted by D EQ = (G EQ, φ), is taken from D by replacing all e-literals l U appearing in G by the constant c C such that φ = l EQ c

87 Computing certain answers Definitions Definition (EQ-completion) The EQ-completed form of D = (G, φ), denoted by D EQ = (G EQ, φ), is taken from D by replacing all e-literals l U appearing in G by the constant c C such that φ = l EQ c Definition (Normalization) The normalized form of D is the RDF i database D = (G, φ) where G is the set {(t, θ) (t, θ i ) G for all i = 1... n, and θ is i θ i } G = {(t, θ 1 ), (t, θ 2 ), (t, θ )} G = {(t, θ 1 θ 2 ), (t, θ )}

SPARQL Formalization

SPARQL Formalization SPARQL Formalization Marcelo Arenas, Claudio Gutierrez, Jorge Pérez Department of Computer Science Pontificia Universidad Católica de Chile Universidad de Chile Center for Web Research http://www.cwr.cl

More information

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig First-Order Logic First-Order Theories Roopsha Samanta Partly based on slides by Aaron Bradley and Isil Dillig Roadmap Review: propositional logic Syntax and semantics of first-order logic (FOL) Semantic

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

CSE 1400 Applied Discrete Mathematics Definitions

CSE 1400 Applied Discrete Mathematics Definitions CSE 1400 Applied Discrete Mathematics Definitions Department of Computer Sciences College of Engineering Florida Tech Fall 2011 Arithmetic 1 Alphabets, Strings, Languages, & Words 2 Number Systems 3 Machine

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

ECE473 Lecture 15: Propositional Logic

ECE473 Lecture 15: Propositional Logic ECE473 Lecture 15: Propositional Logic Jeffrey Mark Siskind School of Electrical and Computer Engineering Spring 2018 Siskind (Purdue ECE) ECE473 Lecture 15: Propositional Logic Spring 2018 1 / 23 What

More information

Comp487/587 - Boolean Formulas

Comp487/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 information

On the Complexity of the Reflected Logic of Proofs

On the Complexity of the Reflected Logic of Proofs On the Complexity of the Reflected Logic of Proofs Nikolai V. Krupski Department of Math. Logic and the Theory of Algorithms, Faculty of Mechanics and Mathematics, Moscow State University, Moscow 119899,

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

Learning Goals of CS245 Logic and Computation

Learning Goals of CS245 Logic and Computation Learning Goals of CS245 Logic and Computation Alice Gao April 27, 2018 Contents 1 Propositional Logic 2 2 Predicate Logic 4 3 Program Verification 6 4 Undecidability 7 1 1 Propositional Logic Introduction

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

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

Representing and Querying Validity Time in RDF and OWL: A Logic-Based Approach

Representing and Querying Validity Time in RDF and OWL: A Logic-Based Approach Representing and Querying Validity Time in RDF and OWL: A Logic-Based Approach Boris Motik a a Oxford University Computing Laboratory, Oxford, UK Abstract RDF(S) and OWL 2 can currently represent only

More information

First-Order Theorem Proving and Vampire. Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester)

First-Order Theorem Proving and Vampire. Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester) First-Order Theorem Proving and Vampire Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester) Outline Introduction First-Order Logic and TPTP Inference Systems

More information

Syntax. Notation Throughout, and when not otherwise said, we assume a vocabulary V = C F P.

Syntax. Notation Throughout, and when not otherwise said, we assume a vocabulary V = C F P. First-Order Logic Syntax The alphabet of a first-order language is organised into the following categories. Logical connectives:,,,,, and. Auxiliary symbols:.,,, ( and ). Variables: we assume a countable

More information

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw Applied Logic Lecture 1 - Propositional logic Marcin Szczuka Institute of Informatics, The University of Warsaw Monographic lecture, Spring semester 2017/2018 Marcin Szczuka (MIMUW) Applied Logic 2018

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

Approximate Rewriting of Queries Using Views

Approximate Rewriting of Queries Using Views Approximate Rewriting of Queries Using Views Foto Afrati 1, Manik Chandrachud 2, Rada Chirkova 2, and Prasenjit Mitra 3 1 School of Electrical and Computer Engineering National Technical University of

More information

Handbook of Logic and Proof Techniques for Computer Science

Handbook of Logic and Proof Techniques for Computer Science Steven G. Krantz Handbook of Logic and Proof Techniques for Computer Science With 16 Figures BIRKHAUSER SPRINGER BOSTON * NEW YORK Preface xvii 1 Notation and First-Order Logic 1 1.1 The Use of Connectives

More information

Propositional Logic: Models and Proofs

Propositional Logic: Models and Proofs Propositional Logic: Models and Proofs C. R. Ramakrishnan CSE 505 1 Syntax 2 Model Theory 3 Proof Theory and Resolution Compiled at 11:51 on 2016/11/02 Computing with Logic Propositional Logic CSE 505

More information

1 FUNDAMENTALS OF LOGIC NO.10 HERBRAND THEOREM Tatsuya Hagino hagino@sfc.keio.ac.jp lecture URL https://vu5.sfc.keio.ac.jp/slide/ 2 So Far Propositional Logic Logical connectives (,,, ) Truth table Tautology

More information

Lecture 2: Syntax. January 24, 2018

Lecture 2: Syntax. January 24, 2018 Lecture 2: Syntax January 24, 2018 We now review the basic definitions of first-order logic in more detail. Recall that a language consists of a collection of symbols {P i }, each of which has some specified

More information

arxiv:cs/ v1 [cs.db] 26 May 2006

arxiv:cs/ v1 [cs.db] 26 May 2006 Semantics and Complexity of SPARQL Jorge Pérez 1, Marcelo Arenas 2, and Claudio Gutierrez 3 arxiv:cs/0605124v1 [cs.db] 26 May 2006 1 Universidad de Talca 2 Pontificia Universidad Católica de Chile 3 Universidad

More information

Propositional and Predicate Logic - II

Propositional and Predicate Logic - II Propositional and Predicate Logic - II Petr Gregor KTIML MFF UK WS 2016/2017 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - II WS 2016/2017 1 / 16 Basic syntax Language Propositional logic

More information

First-Order Theorem Proving and Vampire

First-Order Theorem Proving and Vampire First-Order Theorem Proving and Vampire Laura Kovács 1,2 and Martin Suda 2 1 TU Wien 2 Chalmers Outline Introduction First-Order Logic and TPTP Inference Systems Saturation Algorithms Redundancy Elimination

More information

A brief introduction to Logic. (slides from

A brief introduction to Logic. (slides from A brief introduction to Logic (slides from http://www.decision-procedures.org/) 1 A Brief Introduction to Logic - Outline Propositional Logic :Syntax Propositional Logic :Semantics Satisfiability and validity

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

Part 2: First-Order Logic

Part 2: First-Order Logic Part 2: First-Order Logic First-order logic formalizes fundamental mathematical concepts is expressive (Turing-complete) is not too expressive (e. g. not axiomatizable: natural numbers, uncountable sets)

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

03 Review of First-Order Logic

03 Review of First-Order Logic CAS 734 Winter 2014 03 Review of First-Order Logic William M. Farmer Department of Computing and Software McMaster University 18 January 2014 What is First-Order Logic? First-order logic is the study of

More information

Motivation. CS389L: Automated Logical Reasoning. Lecture 10: Overview of First-Order Theories. Signature and Axioms of First-Order Theory

Motivation. CS389L: Automated Logical Reasoning. Lecture 10: Overview of First-Order Theories. Signature and Axioms of First-Order Theory Motivation CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories Işıl Dillig Last few lectures: Full first-order logic In FOL, functions/predicates are uninterpreted (i.e., structure

More information

Pairing Transitive Closure and Reduction to Efficiently Reason about Partially Ordered Events

Pairing Transitive Closure and Reduction to Efficiently Reason about Partially Ordered Events Pairing Transitive Closure and Reduction to Efficiently Reason about Partially Ordered Events Massimo Franceschet Angelo Montanari Dipartimento di Matematica e Informatica, Università di Udine Via delle

More information

Outline. Formale Methoden der Informatik First-Order Logic for Forgetters. Why PL1? Why PL1? Cont d. Motivation

Outline. Formale Methoden der Informatik First-Order Logic for Forgetters. Why PL1? Why PL1? Cont d. Motivation Outline Formale Methoden der Informatik First-Order Logic for Forgetters Uwe Egly Vienna University of Technology Institute of Information Systems Knowledge-Based Systems Group Motivation Syntax of PL1

More information

Introduction to Artificial Intelligence Propositional Logic & SAT Solving. UIUC CS 440 / ECE 448 Professor: Eyal Amir Spring Semester 2010

Introduction to Artificial Intelligence Propositional Logic & SAT Solving. UIUC CS 440 / ECE 448 Professor: Eyal Amir Spring Semester 2010 Introduction to Artificial Intelligence Propositional Logic & SAT Solving UIUC CS 440 / ECE 448 Professor: Eyal Amir Spring Semester 2010 Today Representation in Propositional Logic Semantics & Deduction

More information

Monodic fragments of first-order temporal logics

Monodic fragments of first-order temporal logics Outline of talk Most propositional temporal logics are decidable. But the decision problem in predicate (first-order) temporal logics has seemed near-hopeless. Monodic fragments of first-order temporal

More information

The Complexity of Computing the Behaviour of Lattice Automata on Infinite Trees

The Complexity of Computing the Behaviour of Lattice Automata on Infinite Trees The Complexity of Computing the Behaviour of Lattice Automata on Infinite Trees Karsten Lehmann a, Rafael Peñaloza b a Optimisation Research Group, NICTA Artificial Intelligence Group, Australian National

More information

Trichotomy Results on the Complexity of Reasoning with Disjunctive Logic Programs

Trichotomy Results on the Complexity of Reasoning with Disjunctive Logic Programs Trichotomy Results on the Complexity of Reasoning with Disjunctive Logic Programs Mirosław Truszczyński Department of Computer Science, University of Kentucky, Lexington, KY 40506, USA Abstract. We present

More information

ACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes)

ACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes) ACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes) Steve Vickers CS Theory Group Birmingham 2. Theories and models Categorical approach to many-sorted

More information

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

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

Introduction to first-order logic:

Introduction to first-order logic: Introduction to first-order logic: First-order structures and languages. Terms and formulae in first-order logic. Interpretations, truth, validity, and satisfaction. Valentin Goranko DTU Informatics September

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

The non-logical symbols determine a specific F OL language and consists of the following sets. Σ = {Σ n } n<ω

The non-logical symbols determine a specific F OL language and consists of the following sets. Σ = {Σ n } n<ω 1 Preliminaries In this chapter we first give a summary of the basic notations, terminology and results which will be used in this thesis. The treatment here is reduced to a list of definitions. For the

More information

Exercises 1 - Solutions

Exercises 1 - Solutions Exercises 1 - Solutions SAV 2013 1 PL validity For each of the following propositional logic formulae determine whether it is valid or not. If it is valid prove it, otherwise give a counterexample. Note

More information

Finite Model Theory: First-Order Logic on the Class of Finite Models

Finite Model Theory: First-Order Logic on the Class of Finite Models 1 Finite Model Theory: First-Order Logic on the Class of Finite Models Anuj Dawar University of Cambridge Modnet Tutorial, La Roche, 21 April 2008 2 Finite Model Theory In the 1980s, the term finite model

More information

Propositional and Predicate Logic. jean/gbooks/logic.html

Propositional and Predicate Logic.   jean/gbooks/logic.html CMSC 630 February 10, 2009 1 Propositional and Predicate Logic Sources J. Gallier. Logic for Computer Science, John Wiley and Sons, Hoboken NJ, 1986. 2003 revised edition available on line at http://www.cis.upenn.edu/

More information

Predicate Logic: Sematics Part 1

Predicate Logic: Sematics Part 1 Predicate Logic: Sematics Part 1 CS402, Spring 2018 Shin Yoo Predicate Calculus Propositional logic is also called sentential logic, i.e. a logical system that deals with whole sentences connected with

More information

Introduction. Foundations of Computing Science. Pallab Dasgupta Professor, Dept. of Computer Sc & Engg INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR

Introduction. Foundations of Computing Science. Pallab Dasgupta Professor, Dept. of Computer Sc & Engg INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR 1 Introduction Foundations of Computing Science Pallab Dasgupta Professor, Dept. of Computer Sc & Engg 2 Comments on Alan Turing s Paper "On Computable Numbers, with an Application to the Entscheidungs

More information

Database Theory VU , SS Complexity of Query Evaluation. Reinhard Pichler

Database 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 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

Discovering Spatial and Temporal Links among RDF Data Panayiotis Smeros and Manolis Koubarakis

Discovering Spatial and Temporal Links among RDF Data Panayiotis Smeros and Manolis Koubarakis Discovering Spatial and Temporal Links among RDF Data Panayiotis Smeros and Manolis Koubarakis WWW2016 Workshop: Linked Data on the Web (LDOW2016) April 12, 2016 - Montréal, Canada Outline Introduction

More information

An Independence Relation for Sets of Secrets

An Independence Relation for Sets of Secrets Sara Miner More Pavel Naumov An Independence Relation for Sets of Secrets Abstract. A relation between two secrets, known in the literature as nondeducibility, was originally introduced by Sutherland.

More information

First-Order Logic (FOL)

First-Order Logic (FOL) First-Order Logic (FOL) Also called Predicate Logic or Predicate Calculus 2. First-Order Logic (FOL) FOL Syntax variables x, y, z, constants a, b, c, functions f, g, h, terms variables, constants or n-ary

More information

Querying for Provenance, Trust, Uncertainty and other Meta Knowledge in RDF 1

Querying for Provenance, Trust, Uncertainty and other Meta Knowledge in RDF 1 Querying for Provenance, Trust, Uncertainty and other Meta Knowledge in RDF 1 Renata Dividino a, Sergej Sizov a, Steffen Staab a, Bernhard Schueler a a ISWeb - Information Systems and Semantic Web University

More information

Computability and Complexity Theory: An Introduction

Computability and Complexity Theory: An Introduction Computability and Complexity Theory: An Introduction meena@imsc.res.in http://www.imsc.res.in/ meena IMI-IISc, 20 July 2006 p. 1 Understanding Computation Kinds of questions we seek answers to: Is a given

More information

Overview of Topics. Finite Model Theory. Finite Model Theory. Connections to Database Theory. Qing Wang

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

Introduction to Complexity Theory. Bernhard Häupler. May 2, 2006

Introduction to Complexity Theory. Bernhard Häupler. May 2, 2006 Introduction to Complexity Theory Bernhard Häupler May 2, 2006 Abstract This paper is a short repetition of the basic topics in complexity theory. It is not intended to be a complete step by step introduction

More information

Artificial Intelligence Chapter 7: Logical Agents

Artificial Intelligence Chapter 7: Logical Agents Artificial Intelligence Chapter 7: Logical Agents Michael Scherger Department of Computer Science Kent State University February 20, 2006 AI: Chapter 7: Logical Agents 1 Contents Knowledge Based Agents

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

LTCS Report. Decidability and Complexity of Threshold Description Logics Induced by Concept Similarity Measures. LTCS-Report 16-07

LTCS Report. Decidability and Complexity of Threshold Description Logics Induced by Concept Similarity Measures. LTCS-Report 16-07 Technische Universität Dresden Institute for Theoretical Computer Science Chair for Automata Theory LTCS Report Decidability and Complexity of Threshold Description Logics Induced by Concept Similarity

More information

CS256/Spring 2008 Lecture #11 Zohar Manna. Beyond Temporal Logics

CS256/Spring 2008 Lecture #11 Zohar Manna. Beyond Temporal Logics CS256/Spring 2008 Lecture #11 Zohar Manna Beyond Temporal Logics Temporal logic expresses properties of infinite sequences of states, but there are interesting properties that cannot be expressed, e.g.,

More information

Classical First-Order Logic

Classical First-Order Logic Classical First-Order Logic Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) First-Order Logic (Classical) MFES 2008/09

More information

A generalization of modal definability

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

Packet #2: Set Theory & Predicate Calculus. Applied Discrete Mathematics

Packet #2: Set Theory & Predicate Calculus. Applied Discrete Mathematics CSC 224/226 Notes Packet #2: Set Theory & Predicate Calculus Barnes Packet #2: Set Theory & Predicate Calculus Applied Discrete Mathematics Table of Contents Full Adder Information Page 1 Predicate Calculus

More information

3. Only sequences that were formed by using finitely many applications of rules 1 and 2, are propositional formulas.

3. Only sequences that were formed by using finitely many applications of rules 1 and 2, are propositional formulas. 1 Chapter 1 Propositional Logic Mathematical logic studies correct thinking, correct deductions of statements from other statements. Let us make it more precise. A fundamental property of a statement is

More information

CS 486: Lecture 2, Thursday, Jan 22, 2009

CS 486: Lecture 2, Thursday, Jan 22, 2009 CS 486: Lecture 2, Thursday, Jan 22, 2009 Mark Bickford January 22, 2009 1 Outline Propositional formulas Interpretations and Valuations Validity and Satisfiability Truth tables and Disjunctive Normal

More information

A Dichotomy. in in Probabilistic Databases. Joint work with Robert Fink. for Non-Repeating Queries with Negation Queries with Negation

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

2.2 Lowenheim-Skolem-Tarski theorems

2.2 Lowenheim-Skolem-Tarski theorems Logic SEP: Day 1 July 15, 2013 1 Some references Syllabus: http://www.math.wisc.edu/graduate/guide-qe Previous years qualifying exams: http://www.math.wisc.edu/ miller/old/qual/index.html Miller s Moore

More information

Part 1: Propositional Logic

Part 1: Propositional Logic Part 1: Propositional Logic Literature (also for first-order logic) Schöning: Logik für Informatiker, Spektrum Fitting: First-Order Logic and Automated Theorem Proving, Springer 1 Last time 1.1 Syntax

More information

The Expressive Power of SPARQL

The Expressive Power of SPARQL The Expressive Power of SPARQL Renzo Angles and Claudio Gutierrez Technical Report TR/DCC-2008-5 Department of Computer Science, Universidad de Chile {rangles,cgutierr}@dcc.uchile.cl Abstract. This paper

More information

First-order resolution for CTL

First-order resolution for CTL First-order resolution for Lan Zhang, Ullrich Hustadt and Clare Dixon Department of Computer Science, University of Liverpool Liverpool, L69 3BX, UK {Lan.Zhang, U.Hustadt, CLDixon}@liverpool.ac.uk Abstract

More information

Intelligent Agents. First Order Logic. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University. last change: 19.

Intelligent Agents. First Order Logic. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University. last change: 19. Intelligent Agents First Order Logic Ute Schmid Cognitive Systems, Applied Computer Science, Bamberg University last change: 19. Mai 2015 U. Schmid (CogSys) Intelligent Agents last change: 19. Mai 2015

More information

Chapter 4: Computation tree logic

Chapter 4: Computation tree logic INFOF412 Formal verification of computer systems Chapter 4: Computation tree logic Mickael Randour Formal Methods and Verification group Computer Science Department, ULB March 2017 1 CTL: a specification

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

First-Order Logic. Chapter Overview Syntax

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

Introduction to Advanced Results

Introduction to Advanced Results Introduction to Advanced Results Master Informatique Université Paris 5 René Descartes 2016 Master Info. Complexity Advanced Results 1/26 Outline Boolean Hierarchy Probabilistic Complexity Parameterized

More information

Linear Temporal Logic and Büchi Automata

Linear Temporal Logic and Büchi Automata Linear Temporal Logic and Büchi Automata Yih-Kuen Tsay Department of Information Management National Taiwan University FLOLAC 2009 Yih-Kuen Tsay (SVVRL @ IM.NTU) Linear Temporal Logic and Büchi Automata

More information

Lifted Inference: Exact Search Based Algorithms

Lifted Inference: Exact Search Based Algorithms Lifted Inference: Exact Search Based Algorithms Vibhav Gogate The University of Texas at Dallas Overview Background and Notation Probabilistic Knowledge Bases Exact Inference in Propositional Models First-order

More information

Model Checking for Modal Intuitionistic Dependence Logic

Model Checking for Modal Intuitionistic Dependence Logic 1/71 Model Checking for Modal Intuitionistic Dependence Logic Fan Yang Department of Mathematics and Statistics University of Helsinki Logical Approaches to Barriers in Complexity II Cambridge, 26-30 March,

More information

Propositional and Predicate Logic

Propositional and Predicate Logic Formal Verification of Software Propositional and Predicate Logic Bernhard Beckert UNIVERSITÄT KOBLENZ-LANDAU B. Beckert: Formal Verification of Software p.1 Propositional Logic: Syntax Special symbols

More information

Undecidable Problems. Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, / 65

Undecidable Problems. Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, / 65 Undecidable Problems Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, 2018 1/ 65 Algorithmically Solvable Problems Let us assume we have a problem P. If there is an algorithm solving

More information

Propositional Logic Language

Propositional Logic Language Propositional Logic Language A logic consists of: an alphabet A, a language L, i.e., a set of formulas, and a binary relation = between a set of formulas and a formula. An alphabet A consists of a finite

More information

CM10196 Topic 2: Sets, Predicates, Boolean algebras

CM10196 Topic 2: Sets, Predicates, Boolean algebras CM10196 Topic 2: Sets, Predicates, oolean algebras Guy McCusker 1W2.1 Sets Most of the things mathematicians talk about are built out of sets. The idea of a set is a simple one: a set is just a collection

More information

SPARQL Algebra Sebastian Rudolph

SPARQL Algebra Sebastian Rudolph FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES SPARQL Algebra Sebastian Rudolph The SPARQL Query Language TU Dresden Foundations of Semantic Web Technologies slide 2 of 56 The SPARQL Query Language TU Dresden

More information

PROPOSITIONAL LOGIC. VL Logik: WS 2018/19

PROPOSITIONAL LOGIC. VL Logik: WS 2018/19 PROPOSITIONAL LOGIC VL Logik: WS 2018/19 (Version 2018.2) Martina Seidl (martina.seidl@jku.at), Armin Biere (biere@jku.at) Institut für Formale Modelle und Verifikation BOX Game: Rules 1. The game board

More information

Notes. Corneliu Popeea. May 3, 2013

Notes. Corneliu Popeea. May 3, 2013 Notes Corneliu Popeea May 3, 2013 1 Propositional logic Syntax We rely on a set of atomic propositions, AP, containing atoms like p, q. A propositional logic formula φ Formula is then defined by the following

More information

An Introduction to Description Logics

An Introduction to Description Logics An Introduction to Description Logics Marco Cerami Palacký University in Olomouc Department of Computer Science Olomouc, Czech Republic Olomouc, 21.11.2013 Marco Cerami (UPOL) Description Logics 21.11.2013

More information

Informal Statement Calculus

Informal Statement Calculus FOUNDATIONS OF MATHEMATICS Branches of Logic 1. Theory of Computations (i.e. Recursion Theory). 2. Proof Theory. 3. Model Theory. 4. Set Theory. Informal Statement Calculus STATEMENTS AND CONNECTIVES Example

More information

Logic: Propositional Logic (Part I)

Logic: Propositional Logic (Part I) Logic: Propositional Logic (Part I) Alessandro Artale Free University of Bozen-Bolzano Faculty of Computer Science http://www.inf.unibz.it/ artale Descrete Mathematics and Logic BSc course Thanks to Prof.

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

Classical First-Order Logic

Classical First-Order Logic Classical First-Order Logic Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2009/2010 Maria João Frade (DI-UM) First-Order Logic (Classical) MFES 2009/10

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

Handling Inconsistency in Knowledge Bases

Handling Inconsistency in Knowledge Bases Georgia State University ScholarWorks @ Georgia State University Computer Science Dissertations Department of Computer Science 5-10-2017 Handling Inconsistency in Knowledge Bases Badrinath Jayakumar Follow

More information

SPATIAL LOGICS WITH CONNECTEDNESS PREDICATES

SPATIAL LOGICS WITH CONNECTEDNESS PREDICATES SPATIAL LOGICS WITH CONNECTEDNESS PREDICATES R. KONTCHAKOV, I. PRATT-HARTMANN, F. WOLTER, AND M. ZAKHARYASCHEV School of Computer Science and Information Systems, Birkbeck College London e-mail address:

More information

Notation Index. gcd(a, b) (greatest common divisor) NT-16

Notation Index. gcd(a, b) (greatest common divisor) NT-16 Notation Index (for all) B A (all functions) B A = B A (all functions) SF-18 (n) k (falling factorial) SF-9 a R b (binary relation) C(n,k) = n! k! (n k)! (binomial coefficient) SF-9 n! (n factorial) SF-9

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

Inverting Proof Systems for Secrecy under OWA

Inverting Proof Systems for Secrecy under OWA Inverting Proof Systems for Secrecy under OWA Giora Slutzki Department of Computer Science Iowa State University Ames, Iowa 50010 slutzki@cs.iastate.edu May 9th, 2010 Jointly with Jia Tao and Vasant Honavar

More information

Preliminaries. Introduction to EF-games. Inexpressivity results for first-order logic. Normal forms for first-order logic

Preliminaries. 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 information

Foundations of Query Languages

Foundations of Query Languages Foundations of Query Languages SS 2011 2. 2. Foundations of Query Languages Dr. Fang Wei Lehrstuhl für Datenbanken und Informationssysteme Universität Freiburg SS 2011 Dr. Fang Wei 30. Mai 2011 Seite 1

More information

The Expressive Power of SPARQL

The Expressive Power of SPARQL The Expressive Power of SPARQL Renzo Angles and Claudio Gutierrez Technical Report TR/DCC-2008-5 Department of Computer Science, Universidad de Chile {rangles,cgutierr}@dcc.uchile.cl Abstract. This paper

More information