Logics for Data and Knowledge Representation

Slides:



Advertisements
Similar presentations
1 Knowledge Representation Introduction KR and Logic.
Advertisements

CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
Why study grammar? Knowledge of grammar facilitates language learning
DK R Logics for Data and Knowledge Representation Languages for Data Representation Originally by Alessandro Agostini and Fausto Giunchiglia Modified by.
LDK R Logics for Data and Knowledge Representation Modal Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
© Janice Regan, CMPT 102, Sept CMPT 102 Introduction to Scientific Computer Programming The software development method algorithms.
Logics for Data and Knowledge Representation Modeling Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia, Rui Zhang.
Informatics 43 – May 7, Restatement of Goals for Testing Want to verify software’s correctness  Need to test  Need to decide on test cases  No.
Department of Informatics, UC Irvine SDCL Collaboration Laboratory Software Design and sdcl.ics.uci.edu 1 Informatics 43 Introduction to Software Engineering.
CS 330 Programming Languages 09 / 13 / 2007 Instructor: Michael Eckmann.
CS 330 Programming Languages 09 / 18 / 2007 Instructor: Michael Eckmann.
Programming Language Semantics Mooly SagivEran Yahav Schrirber 317Open space html://
Meaning and Language Part 1.
Foundations This chapter lays down the fundamental ideas and choices on which our approach is based. First, it identifies the needs of architects in the.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
Syntax & Semantic Introduction Organization of Language Description Abstract Syntax Formal Syntax The Way of Writing Grammars Formal Semantic.
Chapter 6: Objections to the Physical Symbol System Hypothesis.
CSC1401: Introductory Programming Steve Cooper
LDK R Logics for Data and Knowledge Representation Context Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
Chapter 1 Introduction Dr. Frank Lee. 1.1 Why Study Compiler? To write more efficient code in a high-level language To provide solid foundation in parsing.
LDK R Logics for Data and Knowledge Representation Modeling First version by Alessandro Agostini and Fausto Giunchiglia Second version by Fausto Giunchiglia.
Winter 2007SEG2101 Chapter 71 Chapter 7 Introduction to Languages and Compiler.
1 Knowledge Based Systems (CM0377) Lecture 4 (Last modified 5th February 2001)
Logics for Data and Knowledge Representation Exercises: Modeling Fausto Giunchiglia, Rui Zhang and Vincenzo Maltese.
LDK R Logics for Data and Knowledge Representation Context Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
C H A P T E R TWO Syntax and Semantic.
Slide 1 Propositional Definite Clause Logic: Syntax, Semantics and Bottom-up Proofs Jim Little UBC CS 322 – CSP October 20, 2014.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
LOGIC AND ONTOLOGY Both logic and ontology are important areas of philosophy covering large, diverse, and active research projects. These two areas overlap.
1 Introduction to Software Engineering Lecture 1.
LDK R Logics for Data and Knowledge Representation Propositional Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
Logics for Data and Knowledge Representation Languages for Data Representation First version by Alessandro Agostini and Fausto Giunchiglia Second version.
Department of Informatics, UC Irvine SDCL Collaboration Laboratory Software Design and sdcl.ics.uci.edu 1 Informatics 43 Introduction to Software Engineering.
LDK R Logics for Data and Knowledge Representation Modal Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
LDK R Logics for Data and Knowledge Representation PL of Classes.
Albert Gatt LIN3021 Formal Semantics Lecture 4. In this lecture Compositionality in Natural Langauge revisited: The role of types The typed lambda calculus.
Data and Knowledge Representation Languages Introduction to the course Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
Key Concepts Representation Inference Semantics Discourse Pragmatics Computation.
Programming Languages and Design Lecture 3 Semantic Specifications of Programming Languages Instructor: Li Ma Department of Computer Science Texas Southern.
LDK R Logics for Data and Knowledge Representation Propositional Logic: Reasoning First version by Alessandro Agostini and Fausto Giunchiglia Second version.
LDK R Logics for Data and Knowledge Representation First Order Logics (FOL) Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto.
Computer Science CPSC 322 Lecture 22 Logical Consequences, Proof Procedures (Ch 5.2.2)
Copy right 2004 Adam Pease permission to copy granted so long as slides and this notice are not altered Ontology Overview Introduction.
LDK R Logics for Data and Knowledge Representation Propositional Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
Logics for Data and Knowledge Representation ClassL (part 1): syntax and semantics.
Presented by Kyumars Sheykh Esmaili Description Logics for Data Bases (DLHB,Chapter 16) Semantic Web Seminar.
LDK R Logics for Data and Knowledge Representation Description Logics: family of languages.
Mathematical Logics Course introduction. Forehead  Lecturers: Fausto Giunchiglia, Vincenzo Maltese  Scheduling: Tuesday 8:30-10:30, room A107 Thursday.
LDK R Logics for Data and Knowledge Representation Modal Logic: exercises Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
LDK R Logics for Data and Knowledge Representation Modal Logic: exercises Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
Logics for Data and Knowledge Representation ClassL (part 1): syntax and semantics.
1 Representing and Reasoning on XML Documents: A Description Logic Approach D. Calvanese, G. D. Giacomo, M. Lenzerini Presented by Daisy Yutao Guo University.
Advanced Computer Systems
Logics for Data and Knowledge Representation
Survey of Knowledge Base Content
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
BBI 3212 ENGLISH SYNTAX AND MORPHOLOGY
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Logics for Data and Knowledge Representation
Mathematical Logics Course introduction 1.
Data and Knowledge Representation
Logics for Data and Knowledge Representation
CSNB234 ARTIFICIAL INTELLIGENCE
Introduction to Databases
Logics for Data and Knowledge Representation
ONTOMERGE Ontology translations by merging ontologies Paper: Ontology Translation on the Semantic Web by Dejing Dou, Drew McDermott and Peishen Qi 2003.
Logics for Data and Knowledge Representation
Presentation transcript:

Logics for Data and Knowledge Representation Fausto Giunchiglia Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia and Rui Zhang

Forehead Staff Contents Scheduling Lectures Reception times Course website Objective and Outcomes Prerequisites Contents Lectures Handouts & Slides Readings Other resources Exam policy & Grading

Outline: Introduction (Abstraction)Modeling Representation Model Language Theory The World Realization Interpretation Data & Knowledge

What are we talking about? A Running example: a picture The world? A model? A theory?

The world The world is everything around us. One can only describe a part of the world with certain degree of abstraction and approximation.

Example: a model of the world from the picture An abstraction of a part of the world. Domain: the set of objects that are interested. Individual: single item in the domain. Set: group of individuals sharing common properties Relation: set of pairs of individuals Example: a model of the world from the picture

Example: a model of the world from the picture Language English Natural Language: Italian, Chinese, … Java Programming Language: C, Python, … Picture Diagram: photo, ER, UML, … FOL Logic: Modal Logic, DLs, … Example: a model of the world from the picture

Theory Theory = Data + Knowledge (about the model) Data: A collection of facts from which conclusions may be drawn. Useful irrelevant or redundant facts, which must be processed to be meaningful. Used as a basis for reasoning, discussion or calculation (Merriam-Webster). Knowledge: How to use a language to represent and structure the facts. The sum of what is known. Knowledge is data in context, or organized data, or also data in relationship.

Data in the Example English: Java: Diagram: FOL: Person(Benedeta) “There are 3 girls playing in the snow…” Java: P1 = new Person(Benedeta,red); … Diagram: the pictures on the right. FOL: Person(Benedeta) ClothColor(Benedata,Red)

Knowledge in the Example English: “The figure with head, arms, body, legs represents a person. The white stuff represents snow. The grew stuffs are mountains. …” Java: Class Person(String name, String Benedeta,red); … Diagram: The picture on the above right. The ER diagram on the right. Behind Yellow Right Light Pink Right Pink FOL: x,y Person(x)Person(y) Play(x,y) …

Data vs. Knowledge in Different Aspects A factual output of physical device Bare facts Isolated facts Direct facts … Observed Knowledge Statement a class is related to another Organized facts Related facts Processed facts … Axioms + theorems (via inference/deduction/reas oning) Bare vs. Organized: some pixels vs. pixels form images of persons Isolated vs. Related: pixel(200,300) is RGB(254,0,0) vs. pixel(200,300) to pixel(300,500) are white snow Direct vs. Processed(by human/ pattern recognition): raw vs. reasoning/inference

Syntax and Semantics Syntax: the way a language is written. Syntax is determined by a set of “rules” saying how to construct the expressions of the language from the set of atomic tokens (i.e., terms, characters, symbols). The set of atomic token is called alphabet of symbols, or simply the alphabet). Semantics: the way a language is interpreted. determines the meaning of syntactic constructs (expressions), that is, the relationship between syntactic constructs and the elements of some universe of meanings (the model). such relationship is called interpretation.

Example of Syntax and Semantics Suppose we want to represent the fact that Benedetta and Eleonora are near each other. By using English we may write (syntax): Benedetta is near to Eleonora. By using a ‘symbolized’ English we may write (syntax): near(B,E), or extensively near(Benedetta,Eleonora) To fix the semantics of “near(B,E)” we need to fix an interpretation I of it, i.e., “near” by I means near (spatial relation) “B” by I means Benedetta (a girl) “E” by I means Eleonora (a girl)

Levels of Formalization Both Syntax and Semantics can be formal or informal. Diagrams Programming Languages NLs Logics Level1 Leveln English Italian Russian Hindi ... ER UML ... SQL ... PL FOL DL ... 14

Logics What is a logic for? Why logic? Which logic? How to represent? Specification Automation Why logic? Advantages of a logical framework: Precise Syntax Precise Semantics Reasoning mechanisms Which logic? Expressiveness ↔ Complexity How to represent? Syntax (Webster): the way in which linguistic elements (as words) are put together to form constituents (as phrases or clauses) Semantics (Webster): the meaning or relationship of meanings of a sign or set of signs especially connotative meaning

Efficiency VS. Effectiveness Task of the modeler: an appropriate representation Effectiveness (with language: expressiveness) What is it? Adequate to accomplish a purpose; producing the intended result. How to measure it? completeness and correctness Efficiency (with a language: complexity) Performing in the best possible manner; satisfactory and economical to use. time and space consumption Trade-off

What we refer to in this course Languages Level of Formalization Natural Language English, Italian, etc. Diagrams ER, UML, etc. Logic First Order Logic Modal Logic Description Logics … Informal Semi-formal Formal Focus of the course: How to use logics

What is the message? Expressions Language Knowledge Data

Exercises What is in the comic? What is the data? What is the knowledge? Represent the comic in English(natural Language) List at least 3 schemas to represent the comic and try to formalize the contents with them.