Knowledge Representation Part II Description Logic & Introduction to Protégé Jan Pettersen Nytun.

Slides:



Advertisements
Similar presentations
Artificial Intelligence Description Logics - Background and Motivation for DL Relation between DL and FOPL (extensional Semantics) Example.
Advertisements

CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
OWL - DL. DL System A knowledge base (KB) comprises two components, the TBox and the ABox The TBox introduces the terminology, i.e., the vocabulary of.
An Introduction to Description Logics
Chronos: A Tool for Handling Temporal Ontologies in Protégé
Semantic Web Thanks to folks at LAIT lab Sources include :
CS570 Artificial Intelligence Semantic Web & Ontology 2
By Ahmet Can Babaoğlu Abdurrahman Beşinci.  Suppose you want to buy a Star wars DVD having such properties;  wide-screen ( not full-screen )  the extra.
Organizing research publications in Web 3 enviroment Anastasiou Lucas Vasilis Tzouvaras
Ontology Notes are from:
Chapter 8: Web Ontology Language (OWL) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
1 DCS861A-2007 Emerging IT II Rinaldo Di Giorgio Andres Nieto Chris Nwosisi Richard Washington March 17, 2007.
ANHAI DOAN ALON HALEVY ZACHARY IVES Chapter 12: Ontologies and Knowledge Representation PRINCIPLES OF DATA INTEGRATION.
Semantic Web Technologies Lecture # 2 Faculty of Computer Science, IBA.
Ontologies: Making Computers Smarter to Deal with Data Kei Cheung, PhD Yale Center for Medical Informatics CBB752, February 9, 2015, Yale University.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
Logics for Data and Knowledge Representation
Chapter 6 Understanding Each Other CSE 431 – Intelligent Agents.
An Introduction to Description Logics. What Are Description Logics? A family of logic based Knowledge Representation formalisms –Descendants of semantic.
Okech Odhiambo Faculty of Information Technology Strathmore University
INF 384 C, Spring 2009 Ontologies Knowledge representation to support computer reasoning.
Ming Fang 6/12/2009. Outlines  Classical logics  Introduction to DL  Syntax of DL  Semantics of DL  KR in DL  Reasoning in DL  Applications.
Chapter 6 Understanding Each Other CSE 431 – Intelligent Agents.
An Introduction to Description Logics (chapter 2 of DLHB)
Coastal Atlas Interoperability - Ontologies (Advanced topics that we did not get to in detail) Luis Bermudez Stephanie Watson Marine Metadata Interoperability.
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Description Logics: Logic foundation of Semantic Web Semantic.
Dr. Bhavani Thuraisingham August 2006 Building Trustworthy Semantic Webs Unit #1: Introduction to The Semantic Web.
Semantic Web Constraint Language complement and the editor development in Protégé Piao Guangyuan.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
1 Artificial Intelligence Applications Institute Centre for Intelligent Systems and their Applications Stuart Aitken Artificial Intelligence Applications.
Artificial Intelligence 2004 Ontology
Introduction to the Semantic Web and Linked Data Module 1 - Unit 2 The Semantic Web and Linked Data Concepts 1-1 Library of Congress BIBFRAME Pilot Training.
DL Overview Second Pass Ming Fang 06/19/2009. Outlines  Description Languages  Knowledge Representation in DL  Logical Inference in DL.
Semantic Web BY: Josh Rachner and Julio Pena. What is the Semantic Web? The semantic web is a part of the world wide web that allows data to be better.
Presented by: Yuhana 12/17/2007 Context Aware Group - Intelligent Agent Laboratory Computer Science and Information Engineering National Taiwan University.
References [1] D:\My Documents\SemanticWebWorkshop\kaynak\Ian Horrocks - CS646\intro-2004.pptD:\My Documents\SemanticWebWorkshop\kaynak\Ian Horrocks -
Description Logics Dr. Alexandra I. Cristea. Description Logics Description Logics allow formal concept definitions that can be reasoned about to be expressed.
ece 627 intelligent web: ontology and beyond
Of 35 lecture 17: semantic web rules. of 35 ece 627, winter ‘132 logic importance - high-level language for expressing knowledge - high expressive power.
Enable Semantic Interoperability for Decision Support and Risk Management Presented by Dr. David Li Key Contributors: Dr. Ruixin Yang and Dr. John Qu.
Knowledge Representation and Reasoning University "Politehnica" of Bucharest Department of Computer Science Fall 2011 Adina Magda Florea
Of 29 lecture 15: description logic - introduction.
LDK R Logics for Data and Knowledge Representation Description Logics: family of languages.
Ontology Technology applied to Catalogues Paul Kopp.
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 16 Description Logic.
Knowledge Representation Part I Ontology Jan Pettersen Nytun Knowledge Representation Part I, JPN, UiA1.
Jan Pettersen Nytun, UIA, page 1 Knowledge Representation Part IV The Semantics Web Starting with XML Jan Pettersen Nytun, UiA.
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
Web-Technology Lecture 13.
Knowledge Representation Part IV The Semantics Web Starting with XML
Knowledge Representation Part VI
Knowledge Representation Part V RDF
The Semantic Web By: Maulik Parikh.
Artificial Intelligence
Knowledge Representation Part I Ontology
Knowledge Representation Part VI
ece 720 intelligent web: ontology and beyond
Semantic Web Foundations
Introduction to Description Logics
ece 720 intelligent web: ontology and beyond
Jan Pettersen Nytun, UiA
RDF For Semantic Web Dhaval Patel 2nd Year Student School of IT
Ontology.
Knowledge Representation (Part I)
Description Logics.
Logics for Data and Knowledge Representation
Knowledge Representation Part VII Protégé / RDFS / OWL / ++
Scalable and Efficient Reasoning for Enforcing Role-Based Access Control
CIS Monthly Seminar – Software Engineering and Knowledge Management IS Enterprise Modeling Ontologies Presenter : Dr. S. Vasanthapriyan Senior Lecturer.
Linked Data Ryan McAlister.
Presentation transcript:

Knowledge Representation Part II Description Logic & Introduction to Protégé Jan Pettersen Nytun

Knowledge Representation Part II, JPN, UiA The Semantic Web "The Semantic Web is not a separate Web but an extension of the current one, in which information is given well-defined meaning, better enabling computers and people to work in cooperation.“ Ref: "The Semantic Web" by  Tim Berners-Lee, James Hendler, and Ora Lassila, Scientific American, 2001 Knowledge Representation Part II, JPN, UiA

Linked Data/Semantic Web From Wikipedia …a method of publishing structured data so that it can be interlinked... …builds upon standard Web technologies such as HTTP, RDF and URIs… it extends them to share information in a way that can be read automatically by computers. This enables data from different sources to be connected and queried. Knowledge Representation Part II, JPN, UiA

Some Semantic Web Technologies are Based on Description Logic (DL) DL is used in AI - modern ontology languages are based on description logics, e.g., OWL. Provide a logical formalism for ontologies and the Semantic Web. Much used in biomedical informatics codification of medical knowledge. Knowledge Representation Part II, JPN, UiA

Description Logic (DL) Continues… A description logic is used to describe classes, properties, and individuals. The knowledge base contains: Tbox (model): A terminological part which should remain constant as the domain being modelled changes. Abox (data): An assertional part describing what is true in some domain at some point in time. Knowledge Representation Part II, JPN, UiA

Description Logic Continues… Terminology part (Tbox or Model): Defines concepts (also called classes), e.g., vital sign, blood pressure, patient. Defines properties (also called roles or property types), e.g., hasBloodPressure. Knowledge Representation Part II, JPN, UiA

Description Logic Continues… Assertion part (ABox or Model Instance): Descriptions of individuals (also called objects) with their properties, e.g., description of a patient and the patients blood pressure. Not all individuals in the assertion part may have been classified and this differs from ordinary object-oriented program development. Knowledge Representation Part II, JPN, UiA

Knowledge Representation Part II, JPN, UiA DL in Short T-Box: Definition of Concepts (“Classes”), Roles (“Properties”) and Constraints. Subsumption Hierarchy (class-subclass hierarchies). A-Box: Assertions about individuals (instances) Unary predicates = concepts (e.g., Person, Boat) Binary predicates = roles Necessary and Sufficient conditions on classes. Knowledge Representation Part II, JPN, UiA

Knowledge Base User Interface Rules Application Software Sensors Terminology (TBox) - Model Rules Sensor Handlers Atomic Complex Classes (Concepts) Classes (Concepts) Actuator Handlers Property Types Property Types Actuators User Interface Assertions (ABox) - Model Instance Asserted Inferred Application Software Named Individuals Named Individuals Query Engine Properties Properties Reasoner

Protégé A free, open-source OWL ontology editor and framework for building intelligent systems

Protégé Class hierarchy (Subsumption hierarchy/taxonomy): Patient is subclass of Person which is subclass of Thing. Property hierarchy: Properties are modeled separately from Classes. hasSSN is sub property of topDataProperty.

Protégé Property hasSSN has Person as domain. This means that an individual having this property must be of type Person, i.e., it is an axiom stating that given an individual with this property then it can be inferred that this individual is of type Person. Property hasSSN has string as Range. I.e., the value of the property must be a text string, e.g., “17106575561”.

Defining an Individual Individual has property hasSSN with value “17106575561”. Id is janPN (complete id:http://www.semanticweb.org/janpn/ontologies/2014/7/untitled-ontology-2#janPN) which we can assume is a globally unique id). The type of the individual is “generic” (i.e., type is Thing).

Starting the Reasoner Since janPN has property hasSSN then it must be a Person (i.e., the domain is Person for hasSSN). inferred

Type and Subclass as Properties Type of an individual is stated as a property - . a property predefined in RDF called rdf:type. E.g.: ( Tom rdf:type Person ) Subclass is a property between classes. a property predefined in RDFS called rdfs:subClassOf. E.g.: ( Employee rdfs:subClassOf Person ) Knowledge Representation Part II, JPN, UiA

Knowledge Base Rules Terminology (TBox) - Model Atomic Complex Classes (Concepts) Classes (Concepts) Property Types Property Types Assertions (ABox) - Model Instance Asserted Inferred Named Individuals Named Individuals Properties Properties

Complex Class An atomic class is somewhat like an “ordinary class”. A Complex class is built with the help of description logic constructors, properties and other classes (atomic or complex).

Complex Class Continues… Example using intersectionOf: Informally: A man is a human that is also a male Formally: Class Man is the intersection of class Human and Male In a more formal syntax: EquivalentClass(Man intersectionOf(Human Male))

Example: Complex Class In Protégé (Alternatively you may specify that Man is subclass of Human and Man) Run reasoner Reasoner infer that Tom is a Man Asserted

Reasoner infers that Tom is a HumanParent Example: To be a parent you need to be human and additionally parent to at least one child. Run reasoner Reasoner infers that Tom is a HumanParent

To be a sick human you need to suffer from at least one sickness Tom and TomsDiabetes2 are individuals Run reasoner Reasoner infers that Tom is a SickHuman

Knowledge Representation, Part II, JPN, UiA Example of rule using The Semantic Web Rule Language (SWRL):  hasParent(?x1,?x2) ∧ hasBrother(?x2,?x3) ⇒ hasUncle(?x1,?x3) Also SPARQL can be used as a rule language. Knowledge Representation, Part II, JPN, UiA

References [1] Book: David Poole and Alan Mackworth, Artificial Intelligence: Foundations of Computational Agents, Cambridge University Press, 2010, http://artint.info/ [2] http://dsg.harvard.edu/courses/hst952/lecture12.ppt%E2%80%8E [3] http://www.jfsowa.com/logic/math.htm#Propositional [4] http://www.cs.ubc.ca/~kevinlb/teaching/cs322%20-%202009-10/Lectures/Logic2.pdf [5] http://www.cs.ubc.ca/~kevinlb/teaching/cs322%20-%202009-10/Lectures/Logic1.pdf [6] http://artint.info/slides/ch05/lect2.pdf Sowa, John F. (2000) Knowledge Representation: Logical, Philosophical, and Computational Foundations, Brooks/Cole Publishing Co., Pacific Grove, CA. Artificial Intelligence: Structures and Strategies for Complex Problem Solving (Addison-Wesley), George F. Luger Smith Barry. Accessed 24th of March, 2013, Ontology: Philosophical and Computational. http: //ontology.buffalo.edu/smith/articles/ontologies.htm Quine WVO. On What There Is. Review of Metaphysics 1948;p. 21–38.