Path Querying on Graph Databases
|
|
- Pearl Bates
- 8 years ago
- Views:
Transcription
1 Path Querying on Graph Databases Jelle Hellings Hasselt University and transnational University of Limburg 1/38
2 Overview Graph Databases Motivation Walk Logic Relations with FO and MSO Relations with CTL and Hybrid CTL Conjunctive Regular Path Queries Open Problems and Conclusion 2/38
3 Overview Graph Databases Motivation Walk Logic Relations with FO and MSO Relations with CTL and Hybrid CTL Conjunctive Regular Path Queries Open Problems and Conclusion 3/38
4 Graphs Pieces of data (nodes) Relations between the pieces of data (edges) Example (Social networks) workswith Jan Jelle worksat UHasselt worksat 4/38
5 Applications XML and RDF, Social networks, Transportation networks, The World Wide Web,... 5/38
6 Graph Database: Google Maps Nodes: points of interest, addresses,... Edges: road network Queries: Example (Distance based query) university close to <my address> (answer: Universiteit Hasselt; 5.2 km) Example (Route-planning query) From: <my address>, to: <university> (answer: options for university; followed by route) 6/38
7 Challenges Engineering: big data Storage, distributed processing, hardware failures,... Conceptual: semantics and consistency Structured data (facebook) versus structured? data (the web) Conceptual: data querying Local/navigational based versus graph-wide path based No widely used general purpose languages Current practice: application specific languages 7/38
8 Challenges Engineering: big data Storage, distributed processing, hardware failures,... Conceptual: semantics and consistency Structured data (facebook) versus structured? data (the web) Conceptual: data querying Local/navigational based versus graph-wide path based No widely used general purpose languages Current practice: application specific languages Our focus Path-based graph querying 7/38
9 Overview Graph Databases Motivation Walk Logic Relations with FO and MSO Relations with CTL and Hybrid CTL Conjunctive Regular Path Queries Open Problems and Conclusion 8/38
10 Motivation Expressing graph-queries Properties of paths, walks,... Route planning We want to travel from our office to a cafetaria and from this cafetaria get back to the office using a different route 9/38
11 Graph querying Graphs as traditional relations worksat(person, company) Already deep knowledge of these systems First-order based query languages: Q(n) := m workswith(n, m) worksat(m, UHasselt) Largely restricted to local reasoning no paths, no or only limited reachability,... 10/38
12 Higher-order logics Monadic second-order logic Extend first-order logic with quantification over sets Strong theoretical background Sets with only nodes versus sets with nodes and edges Some graph problems are naturally expressible with sets: Graph coloring, bipartite graph,... S T ( x (x S x T ) (x S = x T ) (x T = x S) y edge(x, y) = ((x S y T ) (y S x T ))) Paths non-straightforward: y is reachable from x S [(x S) u v (u S edge(u, v) = v S) = y S] 11/38
13 Conjunctive Regular Path Queries Idea Query nodes based on labelling of paths between nodes Express labelling by a regular expression Example Q(a, b) := aπb, (αβ + γδ) + (π) α n 1 n 2 β n 3 γ n 4 δ n 5 γ n 6 α n 7 β n 8 δ 12/38
14 Conjunctive Regular Path Queries Idea Query nodes based on labelling of paths between nodes Express labelling by a regular expression Example Q(a, b) := aπb, (αβ + γδ) + (π) α n 1 n 2 β n 3 γ n 4 δ n 5 γ n 6 α n 7 β n 8 δ 12/38
15 Conjunctive Regular Path Queries Idea Query nodes based on labelling of paths between nodes Express labelling by a regular expression Example Q(a, b) := aπb, (αβ + γδ) + (π) α n 1 n 2 β n 3 γ n 4 δ n 5 γ n 6 α n 7 β n 8 δ 12/38
16 Extended Conjunctive Regular Path Queries Idea Comparing labelling of paths Regular expressions over n-tuples Use special symbol to specify end-of-path Example Q(a, b) := aπ 1 b, aπ 2 b, ([ α β ] + [ α ])(π 1, π 2 ) α n 1 n 2 α n 3 α n 4 β n 6 β n 7 β n 8 α 13/38
17 Computation tree logic Usage: verification of formal models Describe behaviour by a transition system (graph) Write propositions that should hold Example shutdown buy start idle work crash giveup 14/38
18 Computation tree logic Usage: verification of formal models Describe behaviour by a transition system (graph) Write propositions that should hold Example shutdown buy start idle work crash giveup Machine never crashes: A G crash 14/38
19 Computation tree logic Usage: verification of formal models Describe behaviour by a transition system (graph) Write propositions that should hold Example shutdown buy start idle work crash giveup Machine can work without crashing: E G crash 14/38
20 Hybrid CTL Idea CTL has only implicit paths and nodes Add ability to name nodes in our formulae Example a b We can get from a to b in two different ways: E v1 E F( v2 E X F(b v1 E( v 2 U v 3 ))) 15/38
21 Hybrid CTL Idea CTL has only implicit paths and nodes Add ability to name nodes in our formulae Example v 1 a b We can get from a to b in two different ways: E v1 E F( v2 E X F(b v1 E( v 2 U v 3 ))) 15/38
22 Hybrid CTL Idea CTL has only implicit paths and nodes Add ability to name nodes in our formulae Example v 2 v 1 a b We can get from a to b in two different ways: E v1 E F( v2 E X F(b v1 E( v 2 U v 3 ))) 15/38
23 Hybrid CTL Idea CTL has only implicit paths and nodes Add ability to name nodes in our formulae Example v 2 v 1 v 3 a b We can get from a to b in two different ways: E v1 E F( v2 E X F(b v1 E( v 2 U v 3 ))) 15/38
24 Hybrid CTL Idea CTL has only implicit paths and nodes Add ability to name nodes in our formulae Example v 2 v 1 v 3 a b v 2 v 2 We can get from a to b in two different ways: E v1 E F( v2 E X F(b v1 E( v 2 U v 3 ))) 15/38
25 Overview Graph Databases Motivation Walk Logic Relations with FO and MSO Relations with CTL and Hybrid CTL Conjunctive Regular Path Queries Open Problems and Conclusion 16/38
26 Walk Logic Idea: extend first-order logic Add walks Add positions on walks Necessary operators to compare positions Route planning We want to travel from our office to a cafetaria (R) and from this cafetaria get back to the office using a different route (S) R S t 1 R t 2 R u 1 S u 2 S u 3 S (office(t 1 ) t 1 < t 2 cafeteria(t 2 ) u 1 < u 3 < u 2 u 1 t 2 u 2 t 1 t 3 R (t 1 < t 3 < t 2 = t 3 u 3 )) 17/38
27 Definitions Definition (Directed node-labeled graph) A directed node-labeled graph is a triple G = (N, E, l): N is a finite set of nodes E N N is the set of edges l : N 2 AP is a node-label function 18/38
28 Walk Logic Walk variables Position variables per walk variable Atomic Formulae a(t) Node referred to by position variable t has labelling a t 1 t 2 Position variables t 1, t 2 refer to the same node t 1 < t 2 Position variable t 1 comes before t 2 in walk W Position variables t 1 and t 2 must be of the same sort ϕ, ψ are formulae ϕ, ϕ ψ W ϕ t W ϕ Negation and disjunction Quantification over walks Quantification over positions on walks 19/38
29 Semantics: walks? Definition Infinite walk A finite or infinite sequence v 1... of nodes such that (v i, v i+1 ) E for each 1 i v 1... Walk A nonempty finite sequence v 1... v n of nodes such that (v i, v i+1 ) E for each 1 i n Trail A walk without edge repetition Path A walk without node repetition 20/38
30 Semantics: walks? Definition Infinite walk A finite or infinite sequence v 1... of nodes such that (v i, v i+1 ) E for each 1 i v 1... Walk A nonempty finite sequence v 1... v n of nodes such that (v i, v i+1 ) E for each 1 i n Trail A walk without edge repetition Path A walk without node repetition CTL and Hybrid CTL : primarily infinite walks CRPQs: primarily walks 20/38
31 Semantics: expressive power Hierarchy of expressive power Infinite walk A walk W is finite: t W u W t < u Walk A walk is a trail (informally): t W u W (t u t +1 u +1 ) = t = u Trail A trail W is a path (informally): t W u W t u = t = u Path Logic Trail Logic Walk Logic Infinite Walk Logic 21/38
32 Walk-based Graph Properties Example (Hamiltonian Path (in Path Logic)) P Q t Q u P (t u) Example (Eulerian Trail (in Trail Logic)) T Q t Q u T (t u) (t +1 u +1 ) Example (Strongly Connected) P Q t P u Q R v R w R (v < w t v u w) 22/38
33 Properties on undirected graphs Theorem Weakly Connected is not expressible on directed graphs Proof. n 1 n 2 n 3 n 4 n 5 n 6 All walks contain at most 2 nodes: reduce to first-order logic Direction matters! On undirected graphs: Weakly Connected same way as strongly connected Planar Graph using Kuratowski s Theorem 23/38
34 Overview Graph Databases Motivation Walk Logic Relations with FO and MSO Relations with CTL and Hybrid CTL Conjunctive Regular Path Queries Open Problems and Conclusion 24/38
35 MSO(nodes, edges) and paths Observations Path: sequence of connected edges No node repetition: nodes and positions coincide Node a before node b on path P if and only if Node b is reachable from a using the edges in P Theorem Path Logic MSO(nodes, edges) 25/38
36 Set-based Graph Properties Theorem Bipartite graph is not expressible on directed graphs Lemma (Dénes Kőnig) A graph is bipartite iff it does not contain an odd cycle Proof. n 2 n 3 m 2 m 3 m 4 n 1 m 1 m 6 m 5 All walks contain at most 3 nodes: reduce to first-order logic MSO(nodes) can express bipartite graph Is Walk Logic strictly subsumed by MSO? 26/38
37 Eulerian Trail Theorem MSO(nodes, edges) cannot express Eulerian Trail Lemma (well known result) MSO cannot distinguish sets with i from sets with j elements Proof. For MSO: existence of Eulerian Trail in the graph a n v 2. a 1 v 1 a n b m b m. =.. b 1 a 1 b 1 Reduces to sets A and B having the equal number of elements 27/38
38 Relations with FO and MSO We have FO Path Logic MSO(nodes, edges) Trail Logic, Walk Logic, and Infinite Walk Logic are incomparable with MSO(nodes) and MSO(nodes, edges) Lemma (Courcelle and Engelfriet) MSO(nodes) cannot express Hamiltonian Path Path Logic and MSO(nodes) are incomparable Path Logic Trail Logic 1 Walk Logic Infinite Walk Logic 1 The proof for Trail Logic Walk Logic is omitted but is similar to the proof of Path Logic Trail Logic 28/38
39 Overview Graph Databases Motivation Walk Logic Relations with FO and MSO Relations with CTL and Hybrid CTL Conjunctive Regular Path Queries Open Problems and Conclusion 29/38
40 Review: Hybrid CTL Definition Let a be an atomic proposition, x a node variable, ϕ 1 and ϕ 2 node formulas, ψ 1 and ψ 2 path formulas Node formulas ϕ ::= a x ϕ 1 ϕ 1 ϕ 2 x ϕ x ϕ 1 E ψ Path formulas ψ ::= ϕ ψ 1 ψ 1 ψ 1 X ψ 1 ψ 1 U ψ 2 30/38
41 Translating Hybrid CTL to Walk Logic Idea Node formulas Properties of single node: translate to properties of single position Hybrid extensions Named nodes: translate to named position variables Path formulas Properties on a single path with forward navigation: translate to walk variable; keep track of current position using position variables and < 31/38
42 Translating Hybrid CTL to Walk Logic Idea Node formulas Properties of single node: translate to properties of single position Hybrid extensions Named nodes: translate to named position variables Path formulas Properties on a single path with forward navigation: translate to walk variable; keep track of current position using position variables and < CTL Hybrid CTL Infinite Walk Logic 31/38
43 Hybrid CTL Infinite Walk Logic? Theorem Hybrid CTL Infinite Walk Logic Proof. CTL Infinite Walk Logic as CTL is invariant under bisimulation Hybrid CTL Infinite Walk Logic as Hybrid CTL is invariant under generated submodels 32/38
44 Hybrid CTL Infinite Walk Logic? Theorem Hybrid CTL Infinite Walk Logic Proof. CTL Infinite Walk Logic as CTL is invariant under bisimulation Hybrid CTL Infinite Walk Logic as Hybrid CTL is invariant under generated submodels CTL Hybrid CTL Infinite Walk Logic 32/38
45 Hybrid CTL Infinite Walk Logic? Theorem Hybrid CTL Infinite Walk Logic Proof. CTL Infinite Walk Logic as CTL is invariant under bisimulation Hybrid CTL Infinite Walk Logic as Hybrid CTL is invariant under generated submodels CTL Hybrid CTL Infinite Walk Logic Walk Logic Infinite Walk Logic 32/38
46 Overview Graph Databases Motivation Walk Logic Relations with FO and MSO Relations with CTL and Hybrid CTL Conjunctive Regular Path Queries Open Problems and Conclusion 33/38
47 CRPQs versus Walk Logics Different languages! Focus on path labelling versus focus on path-structure of graphs All CRPQs are incomparable with all Walk Logics. 34/38
48 CRPQs versus Walk Logics Different languages! Focus on path labelling versus focus on path-structure of graphs All CRPQs are incomparable with all Walk Logics. Similar semantically questions Similar proof techniques 34/38
49 Some results Hamiltonian path cannot be expressed Eulerian trail cannot be expressed 35/38
50 Some results Hamiltonian path cannot be expressed Eulerian trail cannot be expressed Paths versus Walks CRPQ with paths can express queries not expressible in the strongest language with Walks! 35/38
51 Overview Graph Databases Motivation Walk Logic Relations with FO and MSO Relations with CTL and Hybrid CTL Conjunctive Regular Path Queries Open Problems and Conclusion 36/38
52 Open Problems Walk Logic versus Infinite Walk Logic: Infinite walks are the standard in verification logics Can we express the verification logics in Walk Logic? Also interesting: finite CTL versus infinite CTL Complexity bounds on model checking for WL: WL model checking is decidable Current approach has horrible complexity 37/38
53 Conclusion General walk-based reasoning on graphs Relates to practical graph languages Framework for studying expressivity 38/38
Formal Verification and Linear-time Model Checking
Formal Verification and Linear-time Model Checking Paul Jackson University of Edinburgh Automated Reasoning 21st and 24th October 2013 Why Automated Reasoning? Intellectually stimulating and challenging
More informationFixed-Point Logics and Computation
1 Fixed-Point Logics and Computation Symposium on the Unusual Effectiveness of Logic in Computer Science University of Cambridge 2 Mathematical Logic Mathematical logic seeks to formalise the process of
More informationTemporal Logics. Computation Tree Logic
Temporal Logics CTL: definition, relationship between operators, adequate sets, specifying properties, safety/liveness/fairness Modeling: sequential, concurrent systems; maximum parallelism/interleaving
More informationAlgorithmic Software Verification
Algorithmic Software Verification (LTL Model Checking) Azadeh Farzan What is Verification Anyway? Proving (in a formal way) that program satisfies a specification written in a logical language. Formal
More informationSemantics and Verification of Software
Semantics and Verification of Software Lecture 21: Nondeterminism and Parallelism IV (Equivalence of CCS Processes & Wrap-Up) Thomas Noll Lehrstuhl für Informatik 2 (Software Modeling and Verification)
More informationIntroduction to Logic in Computer Science: Autumn 2006
Introduction to Logic in Computer Science: Autumn 2006 Ulle Endriss Institute for Logic, Language and Computation University of Amsterdam Ulle Endriss 1 Plan for Today Now that we have a basic understanding
More informationlogic language, static/dynamic models SAT solvers Verified Software Systems 1 How can we model check of a program or system?
5. LTL, CTL Last part: Alloy logic language, static/dynamic models SAT solvers Today: Temporal Logic (LTL, CTL) Verified Software Systems 1 Overview How can we model check of a program or system? Modeling
More informationV. Adamchik 1. Graph Theory. Victor Adamchik. Fall of 2005
V. Adamchik 1 Graph Theory Victor Adamchik Fall of 2005 Plan 1. Basic Vocabulary 2. Regular graph 3. Connectivity 4. Representing Graphs Introduction A.Aho and J.Ulman acknowledge that Fundamentally, computer
More informationModel Checking: An Introduction
Announcements Model Checking: An Introduction Meeting 2 Office hours M 1:30pm-2:30pm W 5:30pm-6:30pm (after class) and by appointment ECOT 621 Moodle problems? Fundamentals of Programming Languages CSCI
More informationSchedule. Logic (master program) Literature & Online Material. gic. Time and Place. Literature. Exercises & Exam. Online Material
OLC mputational gic Schedule Time and Place Thursday, 8:15 9:45, HS E Logic (master program) Georg Moser Institute of Computer Science @ UIBK week 1 October 2 week 8 November 20 week 2 October 9 week 9
More informationA first step towards modeling semistructured data in hybrid multimodal logic
A first step towards modeling semistructured data in hybrid multimodal logic Nicole Bidoit * Serenella Cerrito ** Virginie Thion * * LRI UMR CNRS 8623, Université Paris 11, Centre d Orsay. ** LaMI UMR
More informationSoftware Modeling and Verification
Software Modeling and Verification Alessandro Aldini DiSBeF - Sezione STI University of Urbino Carlo Bo Italy 3-4 February 2015 Algorithmic verification Correctness problem Is the software/hardware system
More informationCSC2420 Fall 2012: Algorithm Design, Analysis and Theory
CSC2420 Fall 2012: Algorithm Design, Analysis and Theory Allan Borodin November 15, 2012; Lecture 10 1 / 27 Randomized online bipartite matching and the adwords problem. We briefly return to online algorithms
More informationSocial Media Mining. Graph Essentials
Graph Essentials Graph Basics Measures Graph and Essentials Metrics 2 2 Nodes and Edges A network is a graph nodes, actors, or vertices (plural of vertex) Connections, edges or ties Edge Node Measures
More informationSoftware Verification and Testing. Lecture Notes: Temporal Logics
Software Verification and Testing Lecture Notes: Temporal Logics Motivation traditional programs (whether terminating or non-terminating) can be modelled as relations are analysed wrt their input/output
More informationA Propositional Dynamic Logic for CCS Programs
A Propositional Dynamic Logic for CCS Programs Mario R. F. Benevides and L. Menasché Schechter {mario,luis}@cos.ufrj.br Abstract This work presents a Propositional Dynamic Logic in which the programs are
More informationIntroduction to Graph Theory
Introduction to Graph Theory Allen Dickson October 2006 1 The Königsberg Bridge Problem The city of Königsberg was located on the Pregel river in Prussia. The river divided the city into four separate
More informationDiscrete Mathematics & Mathematical Reasoning Chapter 10: Graphs
Discrete Mathematics & Mathematical Reasoning Chapter 10: Graphs Kousha Etessami U. of Edinburgh, UK Kousha Etessami (U. of Edinburgh, UK) Discrete Mathematics (Chapter 6) 1 / 13 Overview Graphs and Graph
More informationMidterm Practice Problems
6.042/8.062J Mathematics for Computer Science October 2, 200 Tom Leighton, Marten van Dijk, and Brooke Cowan Midterm Practice Problems Problem. [0 points] In problem set you showed that the nand operator
More informationCHAPTER 7 GENERAL PROOF SYSTEMS
CHAPTER 7 GENERAL PROOF SYSTEMS 1 Introduction Proof systems are built to prove statements. They can be thought as an inference machine with special statements, called provable statements, or sometimes
More informationTesting LTL Formula Translation into Büchi Automata
Testing LTL Formula Translation into Büchi Automata Heikki Tauriainen and Keijo Heljanko Helsinki University of Technology, Laboratory for Theoretical Computer Science, P. O. Box 5400, FIN-02015 HUT, Finland
More information(LMCS, p. 317) V.1. First Order Logic. This is the most powerful, most expressive logic that we will examine.
(LMCS, p. 317) V.1 First Order Logic This is the most powerful, most expressive logic that we will examine. Our version of first-order logic will use the following symbols: variables connectives (,,,,
More informationGoal of the Talk Theorem The class of languages recognisable by T -coalgebra automata is closed under taking complements.
Complementation of Coalgebra Automata Christian Kissig (University of Leicester) joint work with Yde Venema (Universiteit van Amsterdam) 07 Sept 2009 / Universitá degli Studi di Udine / CALCO 2009 Goal
More informationSPARQL: Un Lenguaje de Consulta para la Web
SPARQL: Un Lenguaje de Consulta para la Web Semántica Marcelo Arenas Pontificia Universidad Católica de Chile y Centro de Investigación de la Web M. Arenas SPARQL: Un Lenguaje de Consulta para la Web Semántica
More informationGraph Theory Problems and Solutions
raph Theory Problems and Solutions Tom Davis tomrdavis@earthlink.net http://www.geometer.org/mathcircles November, 005 Problems. Prove that the sum of the degrees of the vertices of any finite graph is
More informationTheoretical Computer Science (Bridging Course) Complexity
Theoretical Computer Science (Bridging Course) Complexity Gian Diego Tipaldi A scenario You are a programmer working for a logistics company Your boss asks you to implement a program that optimizes the
More informationAutomata-based Verification - I
CS3172: Advanced Algorithms Automata-based Verification - I Howard Barringer Room KB2.20: email: howard.barringer@manchester.ac.uk March 2006 Supporting and Background Material Copies of key slides (already
More informationtutorial: hardware and software model checking
tutorial: hardware and software model checking gerard holzmann and anuj puri { gerard anuj } @research.bell-labs.com Bell Labs, USA outline introduction (15 mins) theory and algorithms system modeling
More informationx < y iff x < y, or x and y are incomparable and x χ(x,y) < y χ(x,y).
12. Large cardinals The study, or use, of large cardinals is one of the most active areas of research in set theory currently. There are many provably different kinds of large cardinals whose descriptions
More informationXML Data Integration
XML Data Integration Lucja Kot Cornell University 11 November 2010 Lucja Kot (Cornell University) XML Data Integration 11 November 2010 1 / 42 Introduction Data Integration and Query Answering A data integration
More informationINDISTINGUISHABILITY OF ABSOLUTELY CONTINUOUS AND SINGULAR DISTRIBUTIONS
INDISTINGUISHABILITY OF ABSOLUTELY CONTINUOUS AND SINGULAR DISTRIBUTIONS STEVEN P. LALLEY AND ANDREW NOBEL Abstract. It is shown that there are no consistent decision rules for the hypothesis testing problem
More informationDevelopment of global specification for dynamically adaptive software
Development of global specification for dynamically adaptive software Yongwang Zhao School of Computer Science & Engineering Beihang University zhaoyw@act.buaa.edu.cn 22/02/2013 1 2 About me Assistant
More informationhttp://aejm.ca Journal of Mathematics http://rema.ca Volume 1, Number 1, Summer 2006 pp. 69 86
Atlantic Electronic http://aejm.ca Journal of Mathematics http://rema.ca Volume 1, Number 1, Summer 2006 pp. 69 86 AUTOMATED RECOGNITION OF STUTTER INVARIANCE OF LTL FORMULAS Jeffrey Dallien 1 and Wendy
More informationConsistent Query Answering in Databases Under Cardinality-Based Repair Semantics
Consistent Query Answering in Databases Under Cardinality-Based Repair Semantics Leopoldo Bertossi Carleton University School of Computer Science Ottawa, Canada Joint work with: Andrei Lopatenko (Google,
More informationIntroduction to Software Verification
Introduction to Software Verification Orna Grumberg Lectures Material winter 2013-14 Lecture 4 5.11.13 Model Checking Automated formal verification: A different approach to formal verification Model Checking
More informationGenerating models of a matched formula with a polynomial delay
Generating models of a matched formula with a polynomial delay Petr Savicky Institute of Computer Science, Academy of Sciences of Czech Republic, Pod Vodárenskou Věží 2, 182 07 Praha 8, Czech Republic
More informationBisimulation and Logical Preservation for Continuous-Time Markov Decision Processes
Bisimulation and Logical Preservation for Continuous-Time Markov Decision Processes Martin R. Neuhäußer 1,2 Joost-Pieter Katoen 1,2 1 RWTH Aachen University, Germany 2 University of Twente, The Netherlands
More informationBounded Treewidth in Knowledge Representation and Reasoning 1
Bounded Treewidth in Knowledge Representation and Reasoning 1 Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien Luminy, October 2010 1 Joint work with G.
More informationAlgebraic Recognizability of Languages
of Languages LaBRI, Université Bordeaux-1 and CNRS MFCS Conference, Prague, August 2004 The general problem Problem: to specify and analyse infinite sets by finite means The general problem Problem: to
More informationCorrespondence analysis for strong three-valued logic
Correspondence analysis for strong three-valued logic A. Tamminga abstract. I apply Kooi and Tamminga s (2012) idea of correspondence analysis for many-valued logics to strong three-valued logic (K 3 ).
More informationOn strong fairness in UNITY
On strong fairness in UNITY H.P.Gumm, D.Zhukov Fachbereich Mathematik und Informatik Philipps Universität Marburg {gumm,shukov}@mathematik.uni-marburg.de Abstract. In [6] Tsay and Bagrodia present a correct
More informationAnswer: (a) Since we cannot repeat men on the committee, and the order we select them in does not matter, ( )
1. (Chapter 1 supplementary, problem 7): There are 12 men at a dance. (a) In how many ways can eight of them be selected to form a cleanup crew? (b) How many ways are there to pair off eight women at the
More informationOutline. NP-completeness. When is a problem easy? When is a problem hard? Today. Euler Circuits
Outline NP-completeness Examples of Easy vs. Hard problems Euler circuit vs. Hamiltonian circuit Shortest Path vs. Longest Path 2-pairs sum vs. general Subset Sum Reducing one problem to another Clique
More informationIntroducing Formal Methods. Software Engineering and Formal Methods
Introducing Formal Methods Formal Methods for Software Specification and Analysis: An Overview 1 Software Engineering and Formal Methods Every Software engineering methodology is based on a recommended
More informationModel Checking II Temporal Logic Model Checking
1/32 Model Checking II Temporal Logic Model Checking Edmund M Clarke, Jr School of Computer Science Carnegie Mellon University Pittsburgh, PA 15213 2/32 Temporal Logic Model Checking Specification Language:
More informationBindings, mobility of bindings, and the -quantifier
ICMS, 26 May 2007 1/17 Bindings, mobility of bindings, and the -quantifier Dale Miller, INRIA-Saclay and LIX, École Polytechnique This talk is based on papers with Tiu in LICS2003 & ACM ToCL, and experience
More informationDevelopment of dynamically evolving and self-adaptive software. 1. Background
Development of dynamically evolving and self-adaptive software 1. Background LASER 2013 Isola d Elba, September 2013 Carlo Ghezzi Politecnico di Milano Deep-SE Group @ DEIB 1 Requirements Functional requirements
More informationA Logic-Based Approach to Cloud Computing
A Logic-Based Approach to Cloud Computing Jan Van den Bussche (Hasselt University, Belgium) joint work with Tom Ameloot and Frank Neven 1 Origins of Cloud Computing Large websites (Amazon, Google, Facebook)
More informationMATHEMATICS: CONCEPTS, AND FOUNDATIONS Vol. III - Logic and Computer Science - Phokion G. Kolaitis
LOGIC AND COMPUTER SCIENCE Phokion G. Kolaitis Computer Science Department, University of California, Santa Cruz, CA 95064, USA Keywords: algorithm, Armstrong s axioms, complete problem, complexity class,
More information2. The Language of First-order Logic
2. The Language of First-order Logic KR & R Brachman & Levesque 2005 17 Declarative language Before building system before there can be learning, reasoning, planning, explanation... need to be able to
More informationThe Model Checker SPIN
The Model Checker SPIN Author: Gerard J. Holzmann Presented By: Maulik Patel Outline Introduction Structure Foundation Algorithms Memory management Example/Demo SPIN-Introduction Introduction SPIN (Simple(
More informationBig Data from a Database Theory Perspective
Big Data from a Database Theory Perspective Martin Grohe Lehrstuhl Informatik 7 - Logic and the Theory of Discrete Systems A CS View on Data Science Applications Data System Users 2 Us Data HUGE heterogeneous
More informationAnotherpossibilityistoentersomealreadyknownimplicationsbeforestartingtheexploration.Theseimplications,theuseralreadyknowstobevalid,
BackgroundImplicationsandExceptions AttributeExplorationwith jectsinaspeciedcontext.thisknowledgerepresentationisespeciallyuseful Summary:Implicationsbetweenattributescanrepresentknowledgeaboutob- Schlogartenstr.7,D{64289Darmstadt,stumme@mathematik.th-darmstadt.de
More informationDEGREES OF CATEGORICITY AND THE HYPERARITHMETIC HIERARCHY
DEGREES OF CATEGORICITY AND THE HYPERARITHMETIC HIERARCHY BARBARA F. CSIMA, JOHANNA N. Y. FRANKLIN, AND RICHARD A. SHORE Abstract. We study arithmetic and hyperarithmetic degrees of categoricity. We extend
More informationCS510 Software Engineering
CS510 Software Engineering Propositional Logic Asst. Prof. Mathias Payer Department of Computer Science Purdue University TA: Scott A. Carr Slides inspired by Xiangyu Zhang http://nebelwelt.net/teaching/15-cs510-se
More informationComputational Methods for Database Repair by Signed Formulae
Computational Methods for Database Repair by Signed Formulae Ofer Arieli (oarieli@mta.ac.il) Department of Computer Science, The Academic College of Tel-Aviv, 4 Antokolski street, Tel-Aviv 61161, Israel.
More informationTowards a Theory of Search Queries
Towards a Theory of Search Queries George H.L. Fletcher Washington State University Vancouver fletcher@vancouver.wsu.edu Dirk Van Gucht Indiana University vgucht@cs.indiana.edu Jan Van den Bussche Hasselt
More informationMathematics for Computer Science/Software Engineering. Notes for the course MSM1F3 Dr. R. A. Wilson
Mathematics for Computer Science/Software Engineering Notes for the course MSM1F3 Dr. R. A. Wilson October 1996 Chapter 1 Logic Lecture no. 1. We introduce the concept of a proposition, which is a statement
More informationThe Recovery of a Schema Mapping: Bringing Exchanged Data Back
The Recovery of a Schema Mapping: Bringing Exchanged Data Back MARCELO ARENAS and JORGE PÉREZ Pontificia Universidad Católica de Chile and CRISTIAN RIVEROS R&M Tech Ingeniería y Servicios Limitada A schema
More informationHandout #Ch7 San Skulrattanakulchai Gustavus Adolphus College Dec 6, 2010. Chapter 7: Digraphs
MCS-236: Graph Theory Handout #Ch7 San Skulrattanakulchai Gustavus Adolphus College Dec 6, 2010 Chapter 7: Digraphs Strong Digraphs Definitions. A digraph is an ordered pair (V, E), where V is the set
More informationMATHEMATICS Unit Decision 1
General Certificate of Education January 2007 Advanced Subsidiary Examination MATHEMATICS Unit Decision 1 MD01 Tuesday 16 January 2007 9.00 am to 10.30 am For this paper you must have: an 8-page answer
More informationQuerying Past and Future in Web Applications
Querying Past and Future in Web Applications Daniel Deutch Tel-Aviv University Tova Milo Customer HR System Logistics ERP Bank ecomm CRM Supplier Outline Introduction & Motivation Querying Future [VLDB
More informationUniversity of Ostrava. Reasoning in Description Logic with Semantic Tableau Binary Trees
University of Ostrava Institute for Research and Applications of Fuzzy Modeling Reasoning in Description Logic with Semantic Tableau Binary Trees Alena Lukasová Research report No. 63 2005 Submitted/to
More informationA computational model for MapReduce job flow
A computational model for MapReduce job flow Tommaso Di Noia, Marina Mongiello, Eugenio Di Sciascio Dipartimento di Ingegneria Elettrica e Dell informazione Politecnico di Bari Via E. Orabona, 4 70125
More informationOn the Modeling and Verification of Security-Aware and Process-Aware Information Systems
On the Modeling and Verification of Security-Aware and Process-Aware Information Systems 29 August 2011 What are workflows to us? Plans or schedules that map users or resources to tasks Such mappings may
More informationOn the k-path cover problem for cacti
On the k-path cover problem for cacti Zemin Jin and Xueliang Li Center for Combinatorics and LPMC Nankai University Tianjin 300071, P.R. China zeminjin@eyou.com, x.li@eyou.com Abstract In this paper we
More informationUPDATES OF LOGIC PROGRAMS
Computing and Informatics, Vol. 20, 2001,????, V 2006-Nov-6 UPDATES OF LOGIC PROGRAMS Ján Šefránek Department of Applied Informatics, Faculty of Mathematics, Physics and Informatics, Comenius University,
More informationDecidable Fragments of First-Order and Fixed-Point Logic
From prefix-vocabulary classes to guarded logics graedel@rwth-aachen.de. Aachen University The classical decision problem part of Hilbert s formalist programme for the foundations of mathematics in modern
More informationIntroduction to Algorithms. Part 3: P, NP Hard Problems
Introduction to Algorithms Part 3: P, NP Hard Problems 1) Polynomial Time: P and NP 2) NP-Completeness 3) Dealing with Hard Problems 4) Lower Bounds 5) Books c Wayne Goddard, Clemson University, 2004 Chapter
More informationDedekind s forgotten axiom and why we should teach it (and why we shouldn t teach mathematical induction in our calculus classes)
Dedekind s forgotten axiom and why we should teach it (and why we shouldn t teach mathematical induction in our calculus classes) by Jim Propp (UMass Lowell) March 14, 2010 1 / 29 Completeness Three common
More informationCODING TRUE ARITHMETIC IN THE MEDVEDEV AND MUCHNIK DEGREES
CODING TRUE ARITHMETIC IN THE MEDVEDEV AND MUCHNIK DEGREES PAUL SHAFER Abstract. We prove that the first-order theory of the Medvedev degrees, the first-order theory of the Muchnik degrees, and the third-order
More informationINTRODUCTORY SET THEORY
M.Sc. program in mathematics INTRODUCTORY SET THEORY Katalin Károlyi Department of Applied Analysis, Eötvös Loránd University H-1088 Budapest, Múzeum krt. 6-8. CONTENTS 1. SETS Set, equal sets, subset,
More informationRuntime Verification - Monitor-oriented Programming - Monitor-based Runtime Reflection
Runtime Verification - Monitor-oriented Programming - Monitor-based Runtime Reflection Martin Leucker Technische Universität München (joint work with Andreas Bauer, Christian Schallhart et. al) FLACOS
More informationModel checking test models. Author: Kevin de Berk Supervisors: Prof. dr. Wan Fokkink, dr. ir. Machiel van der Bijl
Model checking test models Author: Kevin de Berk Supervisors: Prof. dr. Wan Fokkink, dr. ir. Machiel van der Bijl February 14, 2014 Abstract This thesis is about model checking testing models. These testing
More informationFormal Verification of Software
Formal Verification of Software Sabine Broda Department of Computer Science/FCUP 12 de Novembro de 2014 Sabine Broda (DCC-FCUP) Formal Verification of Software 12 de Novembro de 2014 1 / 26 Formal Verification
More informationON FUNCTIONAL SYMBOL-FREE LOGIC PROGRAMS
PROCEEDINGS OF THE YEREVAN STATE UNIVERSITY Physical and Mathematical Sciences 2012 1 p. 43 48 ON FUNCTIONAL SYMBOL-FREE LOGIC PROGRAMS I nf or m at i cs L. A. HAYKAZYAN * Chair of Programming and Information
More informationComposing Schema Mappings: An Overview
Composing Schema Mappings: An Overview Phokion G. Kolaitis UC Santa Scruz & IBM Almaden Joint work with Ronald Fagin, Lucian Popa, and Wang-Chiew Tan The Data Interoperability Challenge Data may reside
More informationTuring Degrees and Definability of the Jump. Theodore A. Slaman. University of California, Berkeley. CJuly, 2005
Turing Degrees and Definability of the Jump Theodore A. Slaman University of California, Berkeley CJuly, 2005 Outline Lecture 1 Forcing in arithmetic Coding and decoding theorems Automorphisms of countable
More informationThe composition of Mappings in a Nautural Interface
Composing Schema Mappings: Second-Order Dependencies to the Rescue Ronald Fagin IBM Almaden Research Center fagin@almaden.ibm.com Phokion G. Kolaitis UC Santa Cruz kolaitis@cs.ucsc.edu Wang-Chiew Tan UC
More informationFoundational Proof Certificates
An application of proof theory to computer science INRIA-Saclay & LIX, École Polytechnique CUSO Winter School, Proof and Computation 30 January 2013 Can we standardize, communicate, and trust formal proofs?
More informationStatic analysis of parity games: alternating reachability under parity
8 January 2016, DTU Denmark Static analysis of parity games: alternating reachability under parity Michael Huth, Imperial College London Nir Piterman, University of Leicester Jim Huan-Pu Kuo, Imperial
More informationThe Ultimate Undecidability Result for the Halpern Shoham Logic
The Ultimate Undecidability Result for the Halpern Shoham Logic Jerzy Marcinkowski, Jakub Michaliszyn Institute of Computer Science University Of Wrocław {jma,jmi}@cs.uni.wroc.pl Abstract The Halpern Shoham
More informationThe Union-Find Problem Kruskal s algorithm for finding an MST presented us with a problem in data-structure design. As we looked at each edge,
The Union-Find Problem Kruskal s algorithm for finding an MST presented us with a problem in data-structure design. As we looked at each edge, cheapest first, we had to determine whether its two endpoints
More informationAutomated Route Planning for Milk-Run Transport Logistics with the NuSMV Model Checker
IEICE TRANS. INF. & SYST., VOL.E96 D, NO.12 DECEMBER 2013 2555 PAPER Special Section on Parallel and Distributed Computing and Networking Automated Route Planning for Milk-Run Transport Logistics with
More informationScalable Automated Symbolic Analysis of Administrative Role-Based Access Control Policies by SMT solving
Scalable Automated Symbolic Analysis of Administrative Role-Based Access Control Policies by SMT solving Alessandro Armando 1,2 and Silvio Ranise 2, 1 DIST, Università degli Studi di Genova, Italia 2 Security
More informationAnalysis of Algorithms, I
Analysis of Algorithms, I CSOR W4231.002 Eleni Drinea Computer Science Department Columbia University Thursday, February 26, 2015 Outline 1 Recap 2 Representing graphs 3 Breadth-first search (BFS) 4 Applications
More informationJUST-IN-TIME SCHEDULING WITH PERIODIC TIME SLOTS. Received December May 12, 2003; revised February 5, 2004
Scientiae Mathematicae Japonicae Online, Vol. 10, (2004), 431 437 431 JUST-IN-TIME SCHEDULING WITH PERIODIC TIME SLOTS Ondřej Čepeka and Shao Chin Sung b Received December May 12, 2003; revised February
More informationOptimizing Description Logic Subsumption
Topics in Knowledge Representation and Reasoning Optimizing Description Logic Subsumption Maryam Fazel-Zarandi Company Department of Computer Science University of Toronto Outline Introduction Optimization
More informationFormal Verification Problems in a Bigdata World: Towards a Mighty Synergy
Dept. of Computer Science Formal Verification Problems in a Bigdata World: Towards a Mighty Synergy Matteo Camilli matteo.camilli@unimi.it http://camilli.di.unimi.it ICSE 2014 Hyderabad, India June 3,
More informationReliability Guarantees in Automata Based Scheduling for Embedded Control Software
1 Reliability Guarantees in Automata Based Scheduling for Embedded Control Software Santhosh Prabhu, Aritra Hazra, Pallab Dasgupta Department of CSE, IIT Kharagpur West Bengal, India - 721302. Email: {santhosh.prabhu,
More informationExplorer's Guide to the Semantic Web
Explorer's Guide to the Semantic Web THOMAS B. PASSIN 11 MANNING Greenwich (74 w. long.) contents preface xiii acknowledgments xv about this booh xvii The Semantic Web 1 1.1 What is the Semantic Web? 3
More informationFormalization of the CRM: Initial Thoughts
Formalization of the CRM: Initial Thoughts Carlo Meghini Istituto di Scienza e Tecnologie della Informazione Consiglio Nazionale delle Ricerche Pisa CRM SIG Meeting Iraklio, October 1st, 2014 Outline Overture:
More informationA Logic Approach for LTL System Modification
A Logic Approach for LTL System Modification Yulin Ding and Yan Zhang School of Computing & Information Technology University of Western Sydney Kingswood, N.S.W. 1797, Australia email: {yding,yan}@cit.uws.edu.au
More informationNotes on NP Completeness
Notes on NP Completeness Rich Schwartz November 10, 2013 1 Overview Here are some notes which I wrote to try to understand what NP completeness means. Most of these notes are taken from Appendix B in Douglas
More informationChapter 7. Logic, Games and Interaction. 7.1 Logic meets Games
Chapter 7 Logic, Games and Interaction Overview When we bring the logical systems for information and for action from the preceding two chapters together, we get to a ubiquitous phenomenon that has a more
More informationData Exchange: Semantics and Query Answering
Data Exchange: Semantics and Query Answering Ronald Fagin a Phokion G. Kolaitis b,1 Renée J. Miller c,1 Lucian Popa a a IBM Almaden Research Center {fagin,lucian}@almaden.ibm.com b University of California
More information! " # The Logic of Descriptions. Logics for Data and Knowledge Representation. Terminology. Overview. Three Basic Features. Some History on DLs
,!0((,.+#$),%$(-&.& *,2(-$)%&2.'3&%!&, Logics for Data and Knowledge Representation Alessandro Agostini agostini@dit.unitn.it University of Trento Fausto Giunchiglia fausto@dit.unitn.it The Logic of Descriptions!$%&'()*$#)
More informationUsing Patterns and Composite Propositions to Automate the Generation of Complex LTL
University of Texas at El Paso DigitalCommons@UTEP Departmental Technical Reports (CS) Department of Computer Science 8-1-2007 Using Patterns and Composite Propositions to Automate the Generation of Complex
More informationFirst-Order Stable Model Semantics and First-Order Loop Formulas
Journal of Artificial Intelligence Research 42 (2011) 125-180 Submitted 03/11; published 10/11 First-Order Stable Model Semantics and First-Order Loop Formulas Joohyung Lee Yunsong Meng School of Computing,
More informationMonitoring Metric First-order Temporal Properties
Monitoring Metric First-order Temporal Properties DAVID BASIN, FELIX KLAEDTKE, SAMUEL MÜLLER, and EUGEN ZĂLINESCU, ETH Zurich Runtime monitoring is a general approach to verifying system properties at
More information