The Meaning of Entity-Relationship Diagrams, part II
|
|
- Warren White
- 5 years ago
- Views:
Transcription
1 (1/23) Logic The Meaning of Entity-Relationship Diagrams, part II Enrico Franconi franconi Faculty of Computer Science, Free University of Bozen-Bolzano
2 (2/23) Motivation Show how a Conceptual Data Model like temporal Entity-Relationship can be extended and mapped to an underlying logical formalism. Advantages: a clear semantics for the various ER constructs ability to express complex integrity constraints availability of decision procedures for consistency and logical implication in the enriched data model.
3 (3/23) Entity-Relationship and First Order Logic Entity-Relationship is a visual language to specify a set of constraints that should be satisfied by the relational database realising the ER diagram. The interpretation of an ER diagram is defined as the collection of all the legal databases i.e., all the (finite) relational structures which conform to the constraints imposed by the conceptual schema. In order to formally define the interpretation, an ER diagram is mapped into a set of closed First Order Logic (FOL) formulas. The legal databases of an ER diagram are all the finite relational structures in which the translated set of FOL formulas evaluate to true.
4 (4/23) ER Vs. FOL: The Alphabet The Alphabet of the FOL language will have the following set of Predicate symbols: 1-ary predicate symbols: E 1, E 2,..., E n for each Entity-set; D 1, D 2,..., D m for each Basic Domain. binary predicate symbols: A 1, A 2,..., A k for each Attribute. n-ary predicate symbols: R 1, R 2,..., R p for each Relationship-set.
5 FOL Notation Vector variables indicated as x stand for an n-tuple of variables: x = x 1,..., x n Counting existential quantifier indicated as n or n. n x. ϕ(x) x 1,..., x n, x n+1. ϕ(x 1 )... ϕ(x n ) ϕ(x n+1 ) (x 1 = x 2 )... (x 1 = x n ) (x 1 = x n+1 ) (x 2 = x 3 )... (x 2 = x n ) (x 2 = x n+1 ) (x n = x n+1 ) n x. ϕ(x) x 1,..., x n. ϕ(x 1 )... ϕ(x n ) (x 1 = x 2 )... (x 1 = x n ) (x 2 = x 3 )... (x 2 = x n ) (x n 1 = x n ) (5/23)
6 (6/23) ER: The Interpretation function Interpretation: I = D, I, where D is an arbitrary non-empty set such that: D = Ω B, where: B = m i=1b Di. B Di is the set of values associated with each basic domain (i.e., integer, string, etc.); and B Di B Dj =, i, j. i j Ω is the abstract entity domain such taht B Ω =.
7 (7/23) ER: The Formal Semantics for the Atoms I is the interpretation function that maps: Basic Domain Predicates to elements of the relative basic domain: D i I = B Di (e.g., String I = B String ). Entity-set Predicates to elements of the entity domain: E i I Ω. Attribute Predicates to binary relations such that: A i I Ω B. Relationship-set Predicates to n-ary relations over the entity domain: R i I Ω Ω... Ω = Ω n.
8 (8/23) The Relationship Construct E 1 R E n... The meaning of this constraint is: R I E 1 I... E n I
9 (8/23) The Relationship Construct E 1 R E n... The meaning of this constraint is: R I E 1 I... E n I The FOL translation is the formula: x 1,..., x n. R(x 1,..., x n ) E 1 (x 1 )... E n (x n )
10 (9/23) The Attribute Construct E A D The meaning of this constraint is: E I {e Ω (A I ({e} B D )) 1}
11 (9/23) The Attribute Construct E A D The meaning of this constraint is: E I {e Ω (A I ({e} B D )) 1} The FOL translation is the formula: x. E(x) y.a(x, y) D(y)
12 (10/23) The Cardinality Construct E 1 R E n E i (p,q) The meaning of this constraint is: E i I {e i Ω p (R I (Ω {e i } Ω)) q}
13 (10/23) The Cardinality Construct E 1 R E n (p,q) E i The meaning of this constraint is: E i I {e i Ω p (R I (Ω {e i } Ω)) q} The FOL translation is the formula: x i. E(x i ) p x 1,..., x i 1, x i+1,... x n. R(x 1,..., x n ) q x 1,..., x i 1, x i+1,... x n. R(x 1,..., x n )
14 (11/23) The Cardinality Construct: An Example Professor (2,3) (1,1) Supervises Student A valid Database is: Professor Student Supervises professorid studentid professorid studentid Alex John Alex John Bob Mary Bob Laura Nick Alex Mary Paul Bob Nick Laura Alex Paul
15 (12/23) The Cardinality Construct: An Example Professor (2,3) (1,1) Supervises Student An invalid Database is: Professor Student Supervises professorid studentid professorid studentid Alex John Alex John Bob Mary Bob Laura Nick Alex Mary Paul Bob Nick Laura Alex Paul Alex Laura
16 (13/23) The Cardinality Construct: An Example Professor (2,3) (1,1) Supervises Student The FOL translation is: x, y. Supervises(x, y) Professor(x) Student(y) x. Professor(x) 2 y. Supervises(x, y) 3 y. Supervises(x, y) y. Student(y) =1 x. Supervises(x, y)
17 (14/23) ISA Relations The ISA relation is a constraint that specifies subentity sets. Subentity-set = contains entities with more properties both more attributes and different participation in relationships not pertinent to the Superentity-set. A Subentity-set inherits all the properties of its Subentity-sets. We distinguish between the following different ISA relations: Overlapping Partial; Overlapping Total; Disjoint Partial; Disjoint Total.
18 (15/23) The Overlapping Partial Construct E E 1... E n The meaning of this constraint is: E i I E I, for all i = 1,..., n.
19 (15/23) The Overlapping Partial Construct E E 1... E n The meaning of this constraint is: E i I E I, for all i = 1,..., n. The FOL translation is the formula: x. E i (x) E(x), for all i = 1,..., n.
20 (16/23) The Overlapping Total Construct E E 1... E n The meaning of this constraint is: E i I E I, for all i = 1,..., n E I E 1 I... E n I
21 (16/23) The Overlapping Total Construct E E 1... E n The meaning of this constraint is: E i I E I, for all i = 1,..., n E I E 1 I... E n I The FOL translation is the set of formulas: x. E i (x) E(x), for all i = 1,..., n x. E(x) E 1 (x)... E n
22 (17/23) The Disjoint Partial Construct E E 1... E n The meaning of this constraint is: E i I E I E i I E j I = for all i = 1,..., n for all i j
23 (17/23) The Disjoint Partial Construct E E 1... E n The meaning of this constraint is: E i I E I E i I E j I = for all i = 1,..., n for all i j The FOL translation is the set of formulas: x. E 1 (x) E(x) E 2 (x)... E n (x) x. E 2 (x) E(x) E 3 (x)... E n (x) x. E n 1 (x) E(x) E n (x) x. E n (x) E(x)
24 (18/23) The Disjoint Total Construct E E 1... E n The meaning of this constraint is: E I i E I for all i = 1,..., n E I i E I j = for all i j E I E I I 1... E n
25 (18/23) The Disjoint Total Construct E The meaning of this constraint is: E I i E I E I i E I j = E I E I I 1... E n E 1... E n for all i = 1,..., n for all i j The FOL translation is the set of formulas: x. E(x) E 1 (x)... E n x. E 1 (x) E(x) E 2 (x)... E n (x) x. E 2 (x) E(x) E 3 (x)... E n (x) x. E n 1 (x) E(x) E n (x) x. E n (x) E(x)
26 (19/23) FOL Translation: An Example Employee Manager AreaManager TopManager (1,1) Works-for (1,n) Project (1,1) Manages x, y. Works-for(x, y) Employee(x) Project(y) x, y. Manages(x, y) Top-Manager(x) Project(y) y. Project(y) x. Works-for(x, y) y. Project(y) =1 x. Manages(x, y) x. Top-Manager(x) =1 y. Manages(x, y) x. Manager(x) Employee(x) x. Manager(x) Area-Manager(x) Top-Manager(x) x. Area-Manager(x) Manager(x) Top-Manager(x) x. Top-Manager(x) Manager(x)
27 (20/23) Additional (integrity) constraints Employee Works-for (1,n) Manager Project Resp-for OrganisationalUnit (1,1) AreaManager TopManager Manages Department InterestGroup (1,1) Managers do not work for a project (she/he just manages it). x. Manager(x) y. WORKS-FOR(x, y)
28 (20/23) Additional (integrity) constraints Employee Works-for (1,n) Manager Project Resp-for OrganisationalUnit (1,1) AreaManager TopManager Manages Department InterestGroup (1,1) Managers do not work for a project (she/he just manages it). x. Manager(x) y. WORKS-FOR(x, y) If the minimum cardinality for the participation of employees to the works-for relationship is increased, then...
29 (20/23) Additional (integrity) constraints Employee Works-for (1,n) Manager Project Resp-for OrganisationalUnit (1,1) AreaManager TopManager Manages Department InterestGroup (1,1) Managers do not work for a project (she/he just manages it). x. Manager(x) y. WORKS-FOR(x, y) If the minimum cardinality for the participation of employees to the works-for relationship is increased, then... If an ISA link is added stating that Interest Groups are Departments, then...
30 (21/23) Key constraints A key is a set of attributes of an entity whose value uniquely identify elements of the entity itself. PaySlipNumber(Integer) Salary(Integer) Employee Manager Works-for (1,n) Project ProjectCode(String) AreaManager TopManager (1,1) (1,1) Manages x. Project(x) =1 y. ProjectCode(x, y) String(y) y. x. ProjectCode(x, y) =1 x. ProjectCode(x, y) Project(x)
31 (22/23) Key constraints and relational schema A key is specified for each entity. There is a one-to-one correspondence between (tuple) values of key attribute(s) and instances of an entity. This is why entities are mapped into the relational schema directly with the keys (which have concrete values) rather than with the abstract entity instances. Key values are the concrete representative for the instance of the entity.
32 (23/23) Standard mappings to the relational schema Explain the following: No abstract instance is found ever in a database. Entities are mapped through their attributes. If there is a mandatory one-to-many binary relationship, the key of the dependant entity is added to the attributes of the main entity.
Entity-Relationship Diagrams and FOL
Free University of Bozen-Bolzano Faculty of Computer Science http://www.inf.unibz.it/ artale Descrete Mathematics and Logic BSc course Thanks to Prof. Enrico Franconi for provoding the slides What is a
More informationDescription Logics. Logics and Ontologies. franconi. Enrico Franconi
(1/38) Description Logics Logics and Ontologies Enrico Franconi franconi@cs.man.ac.uk http://www.cs.man.ac.uk/ franconi Department of Computer Science, University of Manchester (2/38) Summary What is an
More informationA A Cookbook for Temporal Conceptual Data Modelling with Description Logics
A A Cookbook for Temporal Conceptual Data Modelling with Description Logics ALESSANDRO ARTALE and VLADISLAV RYZHIKOV, KRDB Research Centre, Free University of Bozen-Bolzano, Italy ROMAN KONTCHAKOV and
More informationComplexity of Reasoning over Temporal Data Models
Complexity of Reasoning over Temporal Data Models A. Artale 1, R. Kontchakov 2, V. Ryzhikov 1, M. Zakharyaschev 2 1 Faculty of Computer Science Free University of Bozen-Bolzano I-39100 Bolzano, Italy lastname@inf.unibz.it
More informationTailoring Temporal Description Logics for Reasoning over Temporal Conceptual Models
Tailoring Temporal Description Logics for Reasoning over Temporal Conceptual Models A. Artale, 1 R. Kontchakov, 2 V. Ryzhikov, 1 and M. Zakharyaschev 2 1 KRDB Research Centre Free University of Bozen-Bolzano,
More informationPredicate Logic. CSE 595 Semantic Web Instructor: Dr. Paul Fodor Stony Brook University
Predicate Logic CSE 595 Semantic Web Instructor: Dr. Paul Fodor Stony Brook University http://www3.cs.stonybrook.edu/~pfodor/courses/cse595.html 1 The alphabet of predicate logic Variables Constants (identifiers,
More informationThe DL-Lite Family of Languages A FO Perspective
The DL-Lite Family of Languages A FO Perspective Alessandro Artale KRDB Research Centre Free University of Bozen-Bolzano Joint work with D. Calvanese, R. Kontchakov, M. Zakharyaschev TU Dresden. December
More informationTranslatable Updates of Selection Views under Constant Complement
Translatable Updates of Selection Views under Constant Complement Enrico Franconi and Paolo Guagliardo Free University of Bozen-Bolzano, Italy 4 th September 2014 DEXA 2014, Munich (Germany) KRDB Research
More informationFirst-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 informationLogical Structures in Natural Language: First order Logic (FoL)
Logical Structures in Natural Language: First order Logic (FoL) Raffaella Bernardi Università degli Studi di Trento e-mail: bernardi@disi.unitn.it Contents 1 How far can we go with PL?................................
More informationCS156: The Calculus of Computation Zohar Manna Winter 2010
Page 3 of 35 Page 4 of 35 quantifiers CS156: The Calculus of Computation Zohar Manna Winter 2010 Chapter 2: First-Order Logic (FOL) existential quantifier x. F [x] there exists an x such that F [x] Note:
More informationa. (6.25 points) where we let b. (6.25 points) c. (6.25 points) d. (6.25 points) B 3 =(x)[ H(x) F (x)], and (11)
A1 Logic (25 points) For each of the following either prove it step-by-step using resolution or another sound and complete technique of your stated choice or disprove it by exhibiting in detail a relevant
More informationRDF and Logic: Reasoning and Extension
RDF and Logic: Reasoning and Extension Jos de Bruijn Faculty of Computer Science, Free University of Bozen-Bolzano, Italy debruijn@inf.unibz.it Stijn Heymans Digital Enterprise Research Institute (DERI),
More information1 First-order logic. 1 Syntax of first-order logic. 2 Semantics of first-order logic. 3 First-order logic queries. 2 First-order query evaluation
Knowledge Bases and Databases Part 1: First-Order Queries Diego Calvanese Faculty of Computer Science Master of Science in Computer Science A.Y. 2007/2008 Overview of Part 1: First-order queries 1 First-order
More informationLightweight Description Logics: DL-Lite A and EL ++
Lightweight Description Logics: DL-Lite A and EL ++ Elena Botoeva 1 KRDB Research Centre Free University of Bozen-Bolzano January 13, 2011 Departamento de Ciencias de la Computación Universidad de Chile,
More informationClassical 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 informationToday. Proof using contrapositive. Compound Propositions. Manipulating Propositions. Tautology
1 Math/CSE 1019N: Discrete Mathematics for Computer Science Winter 2007 Suprakash Datta datta@cs.yorku.ca Office: CSEB 3043 Phone: 416-736-2100 ext 77875 Course page: http://www.cs.yorku.ca/course/1019
More information03 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 informationProseminar on Semantic Theory Fall 2013 Ling 720 First Order (Predicate) Logic: Syntax and Natural Deduction 1
First Order (Predicate) Logic: Syntax and Natural Deduction 1 A Reminder of Our Plot I wish to provide some historical and intellectual context to the formal tools that logicians developed to study the
More informationTHE LOGIC OF QUANTIFIED STATEMENTS. Predicates and Quantified Statements I. Predicates and Quantified Statements I CHAPTER 3 SECTION 3.
CHAPTER 3 THE LOGIC OF QUANTIFIED STATEMENTS SECTION 3.1 Predicates and Quantified Statements I Copyright Cengage Learning. All rights reserved. Copyright Cengage Learning. All rights reserved. Predicates
More informationComplexity of Reasoning in Entity Relationship Models
Complexity of Reasoning in Entity Relationship Models A. Artale 1, D. Calvanese 1, R. Kontchakov 2, V. Ryzhikov 1, M. Zakharyaschev 2 1 Faculty of Computer Science Free University of Bozen-Bolzano I-39100
More informationA Survey of Temporal Knowledge Representations
A Survey of Temporal Knowledge Representations Advisor: Professor Abdullah Tansel Second Exam Presentation Knowledge Representations logic-based logic-base formalisms formalisms more complex and difficult
More informationLogic. Foundations of First Order Logic. franconi. Enrico Franconi
(1/41) Logic Foundations of First Order Logic Enrico Franconi franconi@inf.unibz.it http://www.inf.unibz.it/ franconi Faculty of Computer Science, Free University of Bozen-Bolzano (2/41) Motivation We
More informationTHE problem of updating a database through a set
FULL VERSION WITH COMPLETE PROOFS 1 Lossless Selection Views under Conditional Domain Constraints Ingo Feinerer, Enrico Franconi and Paolo Guagliardo name suggests, prescribes how a database relation can
More informationIntroduction to Predicate Logic Part 1. Professor Anita Wasilewska Lecture Notes (1)
Introduction to Predicate Logic Part 1 Professor Anita Wasilewska Lecture Notes (1) Introduction Lecture Notes (1) and (2) provide an OVERVIEW of a standard intuitive formalization and introduction to
More informationA Logical Formulation of the Granular Data Model
2008 IEEE International Conference on Data Mining Workshops A Logical Formulation of the Granular Data Model Tuan-Fang Fan Department of Computer Science and Information Engineering National Penghu University
More informationPredicate Calculus - Semantics 1/4
Predicate Calculus - Semantics 1/4 Moonzoo Kim CS Dept. KAIST moonzoo@cs.kaist.ac.kr 1 Introduction to predicate calculus (1/2) Propositional logic (sentence logic) dealt quite satisfactorily with sentences
More informationTranslating Ontologies from Predicate-based to Frame-based Languages
1/18 Translating Ontologies from Predicate-based to Frame-based Languages Jos de Bruijn and Stijn Heymans Digital Enterprise Research Institute (DERI) University of Innsbruck, Austria {jos.debruijn,stijn.heymans}@deri.org
More informationEquational Logic. Chapter Syntax Terms and Term Algebras
Chapter 2 Equational Logic 2.1 Syntax 2.1.1 Terms and Term Algebras The natural logic of algebra is equational logic, whose propositions are universally quantified identities between terms built up from
More information06 From Propositional to Predicate Logic
Martin Henz February 19, 2014 Generated on Wednesday 19 th February, 2014, 09:48 1 Syntax of Predicate Logic 2 3 4 5 6 Need for Richer Language Predicates Variables Functions 1 Syntax of Predicate Logic
More informationLogic: 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 informationWith Question/Answer Animations. Chapter 2
With Question/Answer Animations Chapter 2 Chapter Summary Sets The Language of Sets Set Operations Set Identities Functions Types of Functions Operations on Functions Sequences and Summations Types of
More informationRelations to first order logic
An Introduction to Description Logic IV Relations to first order logic Marco Cerami Palacký University in Olomouc Department of Computer Science Olomouc, Czech Republic Olomouc, November 6 th 2014 Marco
More informationif t 1,...,t k Terms and P k is a k-ary predicate, then P k (t 1,...,t k ) Formulas (atomic formulas)
FOL Query Evaluation Giuseppe De Giacomo Università di Roma La Sapienza Corso di Seminari di Ingegneria del Software: Data and Service Integration Laurea Specialistica in Ingegneria Informatica Università
More informationDatabase Theory VU , SS Complexity of Query Evaluation. Reinhard Pichler
Database Theory Database Theory VU 181.140, SS 2018 5. Complexity of Query Evaluation Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 17 April, 2018 Pichler
More informationFixpoint Extensions of Temporal Description Logics
Fixpoint Extensions of Temporal Description Logics Enrico Franconi Faculty of Computer Science Free University of Bozen-Bolzano, Italy franconi@inf.unibz.it David Toman School of Computer Science University
More informationarxiv: v1 [cs.db] 21 Sep 2016
Ladan Golshanara 1, Jan Chomicki 1, and Wang-Chiew Tan 2 1 State University of New York at Buffalo, NY, USA ladangol@buffalo.edu, chomicki@buffalo.edu 2 Recruit Institute of Technology and UC Santa Cruz,
More informationMotivation. 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 informationLogics with Counting. Ian Pratt-Hartmann School of Computer Science University of Manchester Manchester M13 9PL, UK
Logics with Counting Ian Pratt-Hartmann School of Computer Science University of Manchester Manchester M13 9PL, UK 2 Chapter 1 Introduction It is well-known that first-order logic is able to express facts
More informationLecture 11: Measuring the Complexity of Proofs
IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Advanced Course on Computational Complexity Lecture 11: Measuring the Complexity of Proofs David Mix Barrington and Alexis Maciel July
More informationPredicate 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 informationClassical 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 informationPrinciples of Knowledge Representation and Reasoning
Principles of Knowledge Representation and Semantic Networks and Description Logics II: Description Logics Terminology and Notation Bernhard Nebel, Felix Lindner, and Thorsten Engesser November 23, 2015
More informationAutomated Synthesis of Tableau Calculi
Automated Synthesis of Tableau Calculi Renate A. Schmidt 1 and Dmitry Tishkovsky 1 School of Computer Science, The University of Manchester Abstract This paper presents a method for synthesising sound
More information3. 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 informationFirst-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 informationAbout the relationship between formal logic and complexity classes
About the relationship between formal logic and complexity classes Working paper Comments welcome; my email: armandobcm@yahoo.com Armando B. Matos October 20, 2013 1 Introduction We analyze a particular
More informationLogic: First Order Logic (Part I)
Logic: First Order 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 informationSyntax. 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 informationFormal Methods for Java
Formal Methods for Java Lecture 12: Soundness of Sequent Calculus Jochen Hoenicke Software Engineering Albert-Ludwigs-University Freiburg June 12, 2017 Jochen Hoenicke (Software Engineering) Formal Methods
More informationSec$on Summary. Definition of sets Describing Sets
Section 2.1 Sec$on Summary Definition of sets Describing Sets Roster Method Set-Builder Notation Some Important Sets in Mathematics Empty Set and Universal Set Subsets and Set Equality Cardinality of Sets
More informationInformal 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 informationThe Mother of All Paradoxes
The Mother of All Paradoxes Volker Halbach Truth and Intensionality Amsterdam 3rd December 2016 A theory of expressions The symbols of L are: 1. infinitely many variable symbols v 0, v 1, v 2, v 3,...
More informationUnifying Class-Based Representation Formalisms
Journal of Artificial Intelligence Research 11 (1999) 199-240 Submitted 7/98; published 9/99 Unifying Class-Based Representation Formalisms Diego Calvanese Maurizio Lenzerini Daniele Nardi Dipartimento
More informationCOMP 409: Logic Homework 5
COMP 409: Logic Homework 5 Note: The pages below refer to the text from the book by Enderton. 1. Exercises 1-6 on p. 78. 1. Translate into this language the English sentences listed below. If the English
More informationPattern Logics and Auxiliary Relations
Pattern Logics and Auxiliary Relations Diego Figueira Leonid Libkin University of Edinburgh Abstract A common theme in the study of logics over finite structures is adding auxiliary predicates to enhance
More informationWhat Is an Ontology?
What Is an Ontology? Vytautas ČYRAS Vilnius University Faculty of Mathematics and Informatics Vilnius, Lithuania Vytautas.Cyras@mif.vu.lt http://www.mif.vu.lt/~cyras/ Based on: N. Guarino, D. Oberle, S.
More informationFuzzy and Rough Sets Part I
Fuzzy and Rough Sets Part I Decision Systems Group Brigham and Women s Hospital, Harvard Medical School Harvard-MIT Division of Health Sciences and Technology Aim Present aspects of fuzzy and rough sets.
More informationEnhancing the Updatability of Projective Views
Enhancing the Updatability of Projective Views (Extended Abstract) Paolo Guagliardo 1, Reinhard Pichler 2, and Emanuel Sallinger 2 1 KRDB Research Centre, Free University of Bozen-Bolzano 2 Vienna University
More informationPredicate Logic - Introduction
Outline Motivation Predicate Logic - Introduction Predicates & Functions Quantifiers, Coming to Terms with Formulas Quantifier Scope & Bound Variables Free Variables & Sentences c 2001 M. Lawford 1 Motivation:
More information1 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 informationCS632 Notes on Relational Query Languages I
CS632 Notes on Relational Query Languages I A. Demers 6 Feb 2003 1 Introduction Here we define relations, and introduce our notational conventions, which are taken almost directly from [AD93]. We begin
More informationPredicate Logic: Semantics
Predicate Logic: Semantics Alice Gao Lecture 13 Based on work by J. Buss, L. Kari, A. Lubiw, B. Bonakdarpour, D. Maftuleac, C. Roberts, R. Trefler, and P. Van Beek 1/34 Outline Semantics of Predicate Logic
More informationSets. Introduction to Set Theory ( 2.1) Basic notations for sets. Basic properties of sets CMSC 302. Vojislav Kecman
Introduction to Set Theory ( 2.1) VCU, Department of Computer Science CMSC 302 Sets Vojislav Kecman A set is a new type of structure, representing an unordered collection (group, plurality) of zero or
More informationOn the Relationship between Description Logic-based and F-Logic-based Ontologies
Fundamenta Informaticae??? (200?) 1001 1024 1001 IOS Press On the Relationship between Description Logic-based and F-Logic-based Ontologies Jos de Bruijn Faculty of Computer Science Free University of
More informationRelational Calculus. Dr Paolo Guagliardo. University of Edinburgh. Fall 2016
Relational Calculus Dr Paolo Guagliardo University of Edinburgh Fall 2016 First-order logic term t := x (variable) c (constant) f(t 1,..., t n ) (function application) formula ϕ := P (t 1,..., t n ) t
More informationLING 501, Fall 2004: Quantification
LING 501, Fall 2004: Quantification The universal quantifier Ax is conjunctive and the existential quantifier Ex is disjunctive Suppose the domain of quantification (DQ) is {a, b}. Then: (1) Ax Px Pa &
More informationINTRODUCTION TO NONMONOTONIC REASONING
Faculty of Computer Science Chair of Automata Theory INTRODUCTION TO NONMONOTONIC REASONING Anni-Yasmin Turhan Dresden, WS 2017/18 About the Course Course Material Book "Nonmonotonic Reasoning" by Grigoris
More informationMathematical Preliminaries. Sipser pages 1-28
Mathematical Preliminaries Sipser pages 1-28 Mathematical Preliminaries This course is about the fundamental capabilities and limitations of computers. It has 3 parts 1. Automata Models of computation
More informationLogic: First Order Logic
Logic: First Order Logic Raffaella Bernardi bernardi@inf.unibz.it P.zza Domenicani 3, Room 2.28 Faculty of Computer Science, Free University of Bolzano-Bozen http://www.inf.unibz.it/~bernardi/courses/logic06
More information15414/614 Optional Lecture 3: Predicate Logic
15414/614 Optional Lecture 3: Predicate Logic Anvesh Komuravelli 1 Why Predicate Logic? Consider the following statements. 1. Every student is younger than some instructor. 2. Not all birds can fly. Propositional
More informationDatabases 2011 The Relational Algebra
Databases 2011 Christian S. Jensen Computer Science, Aarhus University What is an Algebra? An algebra consists of values operators rules Closure: operations yield values Examples integers with +,, sets
More informationVC-DENSITY FOR TREES
VC-DENSITY FOR TREES ANTON BOBKOV Abstract. We show that for the theory of infinite trees we have vc(n) = n for all n. VC density was introduced in [1] by Aschenbrenner, Dolich, Haskell, MacPherson, and
More informationFormal (Natural) Deduction for Predicate Calculus
Formal (Natural) Deduction for Predicate Calculus Lila Kari University of Waterloo Formal (Natural) Deduction for Predicate Calculus CS245, Logic and Computation 1 / 42 Formal deducibility for predicate
More informationLecture 10: Predicate Logic and Its Language
Discrete Mathematics (II) Spring 2017 Lecture 10: Predicate Logic and Its Language Lecturer: Yi Li 1 Predicates and Quantifiers In this action, we show you why a richer language should be introduced than
More informationAutomated Reasoning Lecture 5: First-Order Logic
Automated Reasoning Lecture 5: First-Order Logic Jacques Fleuriot jdf@inf.ac.uk Recap Over the last three lectures, we have looked at: Propositional logic, semantics and proof systems Doing propositional
More informationFormal Methods for Java
Formal Methods for Java Lecture 20: Sequent Calculus Jochen Hoenicke Software Engineering Albert-Ludwigs-University Freiburg January 15, 2013 Jochen Hoenicke (Software Engineering) Formal Methods for Java
More informationMAI0203 Lecture 7: Inference and Predicate Calculus
MAI0203 Lecture 7: Inference and Predicate Calculus Methods of Artificial Intelligence WS 2002/2003 Part II: Inference and Knowledge Representation II.7 Inference and Predicate Calculus MAI0203 Lecture
More informationData-Driven Logical Reasoning
Data-Driven Logical Reasoning Claudia d Amato Volha Bryl, Luciano Serafini November 11, 2012 8 th International Workshop on Uncertainty Reasoning for the Semantic Web 11 th ISWC, Boston (MA), USA. Heterogeneous
More informationWhy Knowledge Representation?
CSE 3401: Intro to AI & LP Knowledge Representation & First-Order Logic Required Readings: R & N Chapter 8 Optional: If you need more background: 7.1-7.3 Motivation for logic, basic introduction to semantics.
More informationPredicate Logic: Introduction and Translations
Predicate Logic: Introduction and Translations Alice Gao Lecture 10 Based on work by J. Buss, L. Kari, A. Lubiw, B. Bonakdarpour, D. Maftuleac, C. Roberts, R. Trefler, and P. Van Beek 1/29 Outline Predicate
More informationLogik für Informatiker Logic for computer scientists. Induction
Logik für Informatiker for computer scientists Induction WiSe 2011/12 Induction Induction is like a chain of dominoes. You need the dominoes must be close enough together one falling dominoe knocks down
More informationFoundations 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 informationQuery Answering in DL-Lite with Datatypes: A Non-Uniform Approach
1 / 20 Department of Computer Science Query Answering in DL-Lite with Datatypes: A Non-Uniform Approach February 2, 2017 André Hernich, Julio Lemos, Frank Wolter OBDM In Ontology-Based Data Management,
More informationCSC242: Intro to AI. Lecture 12. Tuesday, February 26, 13
CSC242: Intro to AI Lecture 12 Quiz Stop Time: 2:15 ULW First draft due Mar 1 8-10 pages minimum First-Order Logic First-Order Logic Propositional Logic Syntax & Semantics Truth tables Model checking
More informationWhy Knowledge Representation? Example. Example. CSE 3401: Intro to AI & LP Knowledge Representation & First-Order Logic
CSE 3401: Intro to AI & LP Knowledge Representation & First-Order Logic Required Readings: Chapter 8 Optional: If you need more background: Why Knowledge Representation? Consider the task of understanding
More informationAxioms as definitions: revisiting Hilbert
Axioms as definitions: revisiting Hilbert Laura Fontanella Hebrew University of Jerusalem laura.fontanella@gmail.com 03/06/2016 What is an axiom in mathematics? Self evidence, intrinsic motivations an
More informationComputational Logic. Relational Query Languages with Negation. Free University of Bozen-Bolzano, Werner Nutt
Computational Logic Free University of Bozen-Bolzano, 2010 Werner Nutt (Slides adapted from Thomas Eiter and Leonid Libkin) Computational Logic 1 Queries with All Who are the directors whose movies are
More informationExercises for the Logic Course
Exercises for the Logic Course First Order Logic Course Web Page http://www.inf.unibz.it/~artale/dml/dml.htm Computer Science Free University of Bozen-Bolzano December 22, 2017 1 Exercises 1.1 Formalisation
More informationCOM364 Automata Theory Lecture Note 2 - Nondeterminism
COM364 Automata Theory Lecture Note 2 - Nondeterminism Kurtuluş Küllü March 2018 The FA we saw until now were deterministic FA (DFA) in the sense that for each state and input symbol there was exactly
More informationHomework Assignment 2. Due Date: October 17th, CS425 - Database Organization Results
Name CWID Homework Assignment 2 Due Date: October 17th, 2017 CS425 - Database Organization Results Please leave this empty! 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 2.10 2.11 2.12 2.15 2.16 2.17 2.18 2.19 Sum
More informationDefinition: Let S and T be sets. A binary relation on SxT is any subset of SxT. A binary relation on S is any subset of SxS.
4 Functions Before studying functions we will first quickly define a more general idea, namely the notion of a relation. A function turns out to be a special type of relation. Definition: Let S and T be
More informationIntelligent 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 informationIntroduction to Decision Sciences Lecture 2
Introduction to Decision Sciences Lecture 2 Andrew Nobel August 24, 2017 Compound Proposition A compound proposition is a combination of propositions using the basic operations. For example (p q) ( p)
More informationINTRODUCTION TO PREDICATE LOGIC HUTH AND RYAN 2.1, 2.2, 2.4
INTRODUCTION TO PREDICATE LOGIC HUTH AND RYAN 2.1, 2.2, 2.4 Neil D. Jones DIKU 2005 Some slides today new, some based on logic 2004 (Nils Andersen), some based on kernebegreber (NJ 2005) PREDICATE LOGIC:
More informationMathematical Logic. Reasoning in First Order Logic. Chiara Ghidini FBK-IRST, Trento, Italy. May 2, 2013
Mathematical Logic Reasoning in First Order Logic Chiara Ghidini ghidini@fbk.eu FBK-IRST, Trento, Italy May 2, 2013 1 Well formed formulas Free and bounded variables 2 Graph Coloring Problem Data Bases
More informationAAA615: Formal Methods. Lecture 2 First-Order Logic
AAA615: Formal Methods Lecture 2 First-Order Logic Hakjoo Oh 2017 Fall Hakjoo Oh AAA615 2017 Fall, Lecture 2 September 24, 2017 1 / 29 First-Order Logic An extension of propositional logic with predicates,
More informationFirst Order Logic Semantics (3A) Young W. Lim 9/17/17
First Order Logic (3A) Young W. Lim Copyright (c) 2016-2017 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version
More informationCOMP2411 Lecture 10: Propositional Logic Programming. Note: This material is not covered in the book. Resolution Applied to Horn Clauses
COMP2411 Lecture 10: Propositional Logic Programming Note: This material is not covered in the book Consider two Horn clauses Resolution Applied to Horn Clauses p p 1... p n and q q 1... q m Suppose these
More information