AI - Week 13 Knowledge Representation, Logic, Semantic Web Lee McCluskey, room 2/07

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

Predicate Logic Colin Campbell. A Formal Language Predicate Logic provides a way to formalize natural language so that ambiguity is removed. Mathematical.
Knowledge Representation Methods
1 Conditional XPath, the first order complete XPath dialect Maarten Marx Presented by: Einav Bar-Ner.
Artificial Intelligence First-Order Predicate Logic -
Ontologies - What’s all the fuss about? Lee McCluskey Department of Computing and Mathematical Sciences University of Huddersfield.
Formal Aspects of Computer Science - Week 5 Logic and Reasoning Lee McCluskey, room 2/07
Natural Language Processing  First-Order Predicate Logic - Predicates  Short Introduction to Description Logics  PowerLoom.
Computability and Complexity 9-1 Computability and Complexity Andrei Bulatov Logic Reminder (Cnt’d)
The Semantic Web – WEEK 11: Description Logic + OWL Featuring..MAD COWS.
Logic Programming Languages. Objective To introduce the concepts of logic programming and logic programming languages To introduce a brief description.
The Semantic Web Week 13 Module Website: Lecture: Knowledge Acquisition / Engineering Practical: Getting to know.
The Semantic Web – WEEK 7: Logic, Reasoning and Proof The “Layer Cake” Model – [From Rector & Horrocks Semantic Web cuurse] You are here!
AI - Week 16 Logic and Reasoning in AI: Resolution Refutation Lee McCluskey, room 2/07
Knowledge Representation using First-Order Logic (Part II) Reading: Chapter 8, First lecture slides read: Second lecture slides read:
AI - Week 15 Logic and Reasoning in AI Lee McCluskey, room 2/07
Modelling Conceptual Knowledge using Logic - Week 6 Lee McCluskey Department of Computing and Mathematical Sciences University of Huddersfield.
CSE (c) S. Tanimoto, 2008 Predicate Calculus I 1 Predicate Calculus 1 Motivation Basics Encoding.
The Semantic Web Week 12 Term 1 Recap Lee McCluskey, room 2/07 Department of Computing And Mathematical Sciences Module Website:
The Semantic Web – WEEK 10: Introduction to Description Logics The “Layer Cake” Model – [From Rector & Horrocks Semantic Web cuurse] We are back down to.
Formal Aspects of Computer Science – Week 12 RECAP Lee McCluskey, room 2/07
Predicate Calculus.
CIA2326 Week4: Predicate Logic : introduction Lee McCluskey, room 2/07
School of Computing and Engineering, University of Huddersfield Formal Aspects of Computer Science - CIA 2326 Lee McCluskey, room 2/07
1 First order theories. 2 Satisfiability The classic SAT problem: given a propositional formula , is  satisfiable ? Example:  Let x 1,x 2 be propositional.
FIRST ORDER LOGIC Levent Tolga EREN.
Ming Fang 6/12/2009. Outlines  Classical logics  Introduction to DL  Syntax of DL  Semantics of DL  KR in DL  Reasoning in DL  Applications.
1st-order Predicate Logic (FOL)
Declarative vs Procedural Programming  Procedural programming requires that – the programmer tell the computer what to do. That is, how to get the output.
ISBN Chapter 3 Describing Semantics -Attribute Grammars -Dynamic Semantics.
Propositional Logic Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma Guadalajara
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Key Concepts Representation Inference Semantics Discourse Pragmatics Computation.
3.2 Semantics. 2 Semantics Attribute Grammars The Meanings of Programs: Semantics Sebesta Chapter 3.
Bertram Ludäscher Department of Computer Science & Engineering University of California, San Diego CSE-291: Ontologies in Data Integration.
CS6133 Software Specification and Verification
Logical and Functional Programming
For Wednesday Read chapter 9, sections 1-3 Homework: –Chapter 7, exercises 8 and 9.
The Law of Resolution Formal Aspects of Computer Science - Week 7 The Law of Resolution Lee McCluskey, room 2/07
LDK R Logics for Data and Knowledge Representation First Order Logics (FOL) Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto.
Computing & Information Sciences Kansas State University Lecture 12 of 42 CIS 530 / 730 Artificial Intelligence Lecture 12 of 42 William H. Hsu Department.
LDK R Logics for Data and Knowledge Representation Propositional Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
Albert Gatt LIN3021 Formal Semantics Lecture 3. Aims This lecture is divided into two parts: 1. We make our first attempts at formalising the notion of.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
First-Order Logic Semantics Reading: Chapter 8, , FOL Syntax and Semantics read: FOL Knowledge Engineering read: FOL.
Propositional Logic Rather than jumping right into FOL, we begin with propositional logic A logic involves: §Language (with a syntax) §Semantics §Proof.
EEL 5937 Content languages EEL 5937 Multi Agent Systems Lecture 10, Feb. 6, 2003 Lotzi Bölöni.
1 Section 7.1 First-Order Predicate Calculus Predicate calculus studies the internal structure of sentences where subjects are applied to predicates existentially.
March 3, 2016Introduction to Artificial Intelligence Lecture 12: Knowledge Representation & Reasoning I 1 Back to “Serious” Topics… Knowledge Representation.
Artificial Intelligence Logical Agents Chapter 7.
Knowledge Representation Lecture 2 out of 5. Last Week Intelligence needs knowledge We need to represent this knowledge in a way a computer can process.
CENG 424-Logic for CS Introduction Based on the Lecture Notes of Konstantin Korovin, Valentin Goranko, Russel and Norvig, and Michael Genesereth.
Chapter 7. Propositional and Predicate Logic
Knowledge Representation and Reasoning
The function of knowledge representation scheme is
Proposition & Predicates
CS201: Data Structures and Discrete Mathematics I
Logic Programming Languages
Logics for Data and Knowledge Representation
1st-order Predicate Logic (FOL)
Back to “Serious” Topics…
Logics for Data and Knowledge Representation
Encoding Knowledge with First Order Predicate Logic
Encoding Knowledge with First Order Predicate Logic
Logics for Data and Knowledge Representation
CS201: Data Structures and Discrete Mathematics I
Encoding Knowledge with First Order Predicate Logic
Representations & Reasoning Systems (RRS) (2.2)
1st-order Predicate Logic (FOL)
Logics for Data and Knowledge Representation
Presentation transcript:

AI - Week 13 Knowledge Representation, Logic, Semantic Web Lee McCluskey, room 2/07 NB I WILL BE AWAY NEXT WEEK

School of Computing and Mathematics, University of Huddersfield Sketch of Term 2 1. Knowledge Representation, Logic, Semantic Web - Requirements for fomalised knowledge (Semantic Web, Ontology) - First Order Logic representation and reasoning - Prolog as First Order Logic - Description Logics - OWL : Description Logic for the Semantic Web - Ontology Creation (Protégé) 2. Machine Learning - Knowledge Acquisition and Engineering - Knowledge Extraction - Data Mining - Skill Acquisition

School of Computing and Mathematics, University of Huddersfield Overview n We need to FORMALISE knowledge to make it independent of PROCESS or FUNCTION, so that processes can “understand” the knowledge represented. n It is very hard to represent diverse, rich, highly structured information, and allow efficient reasoning with it, using a single formalism or language

School of Computing and Mathematics, University of Huddersfield Semantic Web n The vision of the “Semantic Web” is to have all public (www) ‘data’ encoded in a way that ANY application program can use it – even programs that have no encoding to anticipate the meaning of the data. n A second (dual) requirement of the semantic web is to have all public (www) processes or services encoded in a way that ANY application program can use then - even programs that have no encoding to anticipate the meaning of them. n The meaning of the data / processes will therefore have to be encoded u.. To be program-independent (declarative) u.. To be accessible to the client program n So all programs using the Semantic Web will have to ‘understand’ HOW to extract the meaning of data / services encoded within it. Thus the Semantic Web will contain knowledge representation..

School of Computing and Mathematics, University of Huddersfield Knowledge on the Web? We want to represent CONCEPTUAL KNOWLEDGE on the WEB. How is this to be done?

School of Computing and Mathematics, University of Huddersfield Ontologies Knowledge in the Semantic Web will mainly be held in what are called “Ontologies” An Ontology is a a precise, structured representation of a ‘conceptualisation’ An Ontology is often written in some kind of LOGIC Reality Conceptualisation C subset of X U Y D&Y => Z Ontology X Y “an abstract, simplified view of the world”

School of Computing and Mathematics, University of Huddersfield First - order (predicate) logic FOL (FOPL) is a notation used widely in computing for - giving meaning to systems eg relational calculus in data bases - model of computation (with computational forms such as Prolog) - to help prove program correctness - modelling intelligent software agents - expressing and manipulating knowledge … FOPL can be used to represent conceptual knowledge

School of Computing and Mathematics, University of Huddersfield FOPL – grammar Syntax Classes Example Syntax constants.. a,b,c... functions.. f,g,h... - apply to constants/vars predicates.. p,q,r...- unary, binary,.. variables.. x,y,z... quantifiers.. A, E connectives.. V, &, =>,, <= Other bits.. Brackets Wffs – well formed formulae Eg Ax(p(x) => Ey q(x,y)&p(y))

School of Computing and Mathematics, University of Huddersfield FOPL – grammar WFF ::= ATOM | ~ ATOM | (WFF) | WFF connective WFF | quantifier variable WFF ATOM ::= predicate | predicate(ARG-LIST) ARG-LIST ::= TERM | TERM, ARG-LIST TERM ::= constant | variable | function(ARG-LIST)

School of Computing and Mathematics, University of Huddersfield Ontologies and FOPL: Specifying the Conceptualisation n Let constants denote object names and date type values in the world n Let unary predicates represent properties/classes eg cat(x), person(x),.. n Let binary predicates represent relations between objects, and values of attributes eg brother(bill,ben) status(tank, full) n Let the Wffs represent the logical structure of the conceptualisation

School of Computing and Mathematics, University of Huddersfield FOPL: interpretation Given Wffs in FOPL, an interpretation I is given by mapping the constants, function and predicate symbols to elements in the conceptualisation We say that Wff W is true in an interpretation I if W evaluates to true under I. The evaluation uses the well known meaning of connectives and quantifiers

School of Computing and Mathematics, University of Huddersfield FOPL: interpretation - example Universe = persons Wffs Ax,Ax,Az g(x,y) <= (f(x,z)&p(z,y)) Ax,Ay,Az u(x,y) <= (p(z,y)&b(x,z)) Ax m(x) => p(x) Ax f(x) => p(x) Example Interpretation is: g = grandfather, f = father, p = parent, b = brother, u = uncle, m = mother Are the wffs true?

School of Computing and Mathematics, University of Huddersfield FOPL – reasoning IN fopl we are fundamentally interested in if a wff w LOGICALLY FOLLOWS from another wff W (usually written as “..a set of WFFs”) W |= w Definition: w logically follows from W if and only if every interpretation that makes W true also makes w true

School of Computing and Mathematics, University of Huddersfield FOPL – more definitions A Wff is Satisfiable – at least one interpretation makes it true Unsatisfiable – no interpretation makes it true Tautological or Valid – all interpretations makes it true

School of Computing and Mathematics, University of Huddersfield Conclusion: n AI applications often need representations of knowledge such as ontologies n The Semantic Web will be one such application n Logic can be used to specify a conceptualisation ie to define an ontology n We have introduced FOPL and some definitions eg “Interpretation”, “Logically Follows”, “(Un)satisfiable”