Knowledge Representation Part VII Protégé / RDFS / OWL / ++

Slides:



Advertisements
Similar presentations
An Introduction to RDF(S) and a Quick Tour of OWL
Advertisements

Based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester A Practical Introduction to Ontologies & OWL Session 3: Additional.
Protege Tutorial Based on ProtegeOWLTutorial at protege website.
Protege Tutorial Based on ProtegeOWLTutorial at protege website.
Tutorial Le Phuoc Son Hoang Huu Hanh Hue University.
Internet Technologies An Introduction to Ontologies in OWL Bibliography The OWL Guide The OWL Overview Description Logic slides from Enrico Franconi Artificial.
Of 27 lecture 7: owl - introduction. of 27 ece 627, winter ‘132 OWL a glimpse OWL – Web Ontology Language describes classes, properties and relations.
OWL TUTORIAL APT CSA 3003 OWL ANNOTATOR Charlie Abela CSAI Department.
Chapter 8: Web Ontology Language (OWL) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
Protégé Classes, Properties and Instances Susana R. de Novoa UNIK4710.
1 An Introduction To The Semantic Web. 2 Information Access on the Web Find an mp3 of a song that was on the Billboard Top Ten that features a cowbell.
Chapter 8: Web Ontology Language (OWL) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
Knowledge Technologies Manolis Koubarakis 1 An Introduction to RDF Schema.
The Semantic Web Week 14 Module Website: Lecture (SHORT): OWL PIZZAS Practical (LONGER): Getting to know Protégé-2000.
Internet Technologies An Introduction to Ontologies in OWL Bibliography The OWL Guide The OWL Overview Description Logic slides from Enrico Franconi Artificial.
Ontologies: Making Computers Smarter to Deal with Data Kei Cheung, PhD Yale Center for Medical Informatics CBB752, February 9, 2015, Yale University.
13 Dec. 2006CmpE 583 Fall 2006 OWL Lite- Property Char’s. 1 OWL Lite: Ch. 13- Property Characteristics Atilla ELÇİ.
1 MASWS Multi-Agent Semantic Web Systems: OWL Stephen Potter, CISA, School of Informatics, University of Edinburgh, Edinburgh, UK.
8/11/2011 Web Ontology Language (OWL) Máster Universitario en Inteligencia Artificial Mikel Egaña Aranguren 3205 Facultad de Informática Universidad Politécnica.
INF 384 C, Spring 2009 Ontologies Knowledge representation to support computer reasoning.
OWL and SDD Dave Thau University of Kansas
Biomedical Informatics Introduction to Ontology Liqin Wang, MS SWE Workshop 2011 Aug 10 th, 2011.
OWL 2 Web Ontology Language. Topics Introduction to OWL Usage of OWL Problems with OWL 1 Solutions from OWL 2.
Building an Ontology of Semantic Web Techniques Utilizing RDF Schema and OWL 2.0 in Protégé 4.0 Presented by: Naveed Javed Nimat Umar Syed.
OWL 2 in use. OWL 2 OWL 2 is a knowledge representation language, designed to formulate, exchange and reason with knowledge about a domain of interest.
The Knowledge Presentation Language. Web Ontology Language (OWL)  Web Ontology Language (OWL) extends RDF and RDFS languages by adding several other.
Semantic Web Ontology Design Pattern Li Ding Department of Computer Science Rensselaer Polytechnic Institute October 3, 2007 Class notes for CSCI-6962.
Umi Laili Yuhana December, Context Aware Group - Intelligent Agent Laboratory Computer Science and Information Engineering National Taiwan University.
Mapping Guide Mapping Ontologies and Data Sets in RDF/RDFS/OWL2 Michel Böhms.
© O. Corcho, MC Suárez de Figueroa Baonza 1 OWL and SWRL Protégé 4: Building an OWL Ontology Mari Carmen Suárez-Figueroa, Oscar Corcho {mcsuarez,
Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:
Protégé-OWL Screens Introduction* *Summarized from various examples from the Protégé web site ( and interacting with the tool.
Ontology Engineering Lab #2 – September 9,
Ontology Engineering Lab #5 – September 30, 2013.
Logics for Data and Knowledge Representation Web Ontology Language (OWL) -- Exercises Feroz Farazi.
Ontology Engineering Lab #3 – September 16, 2013.
Practical RDF Chapter 12. Ontologies: RDF Business Models Shelley Powers, O’Reilly SNU IDB Lab. Taikyoung Kim.
ONTOLOGY ENGINEERING Lab #2 – September 8,
ONTOLOGY ENGINEERING Lab #3 – September 15,
Semantic Web for the Working Ontologist Dean Allemang Jim Hendler SNU IDB laboratory.
ONTOLOGY ENGINEERING Lab #4 - September 22, 2014.
Ontology Engineering Lab #4 - September 23, 2013.
1 T. Hill Review of: ROWLBAC – Representing Role Based Access Control in OWL T. Finin, A. Joshi L. Kagal, B. Thuraisingham, J. Niu, R. Sandhu, W. Winsborough.
Of 32 lecture 8: owl – language I. of 32 ece 627, winter ‘132 OWL XML/RDF syntax: header
Web Ontology Language (OWL). OWL The W3C Web Ontology Language (OWL) is a Semantic Web language designed to represent rich and complex knowledge about.
BioHealth Informatics Group Copyright © 2005, The University of Manchester1 A Practical Introduction to Ontologies & OWL Additional Exercises: Common Errors.
Ccs.  Ontologies are used to capture knowledge about some domain of interest. ◦ An ontology describes the concepts in the domain and also the relationships.
Chapter Describing Individuals OWL Individuals ▫Ontological Primitive Layer  Mostly described with RDF ▫Instances of user-defined ontological.
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.
Week 7: Semantic Web and Semantic Search
Knowledge Representation Part VI
Knowledge Representation Part V RDF
Based on ProtegeOWLTutorial at protege website
Knowledge Representation Part II Description Logic & Introduction to Protégé Jan Pettersen Nytun.
Knowledge Representation Part VII Protégé / RDFS / OWL / ++
Information Organization
Knowledge Representation Part I Ontology
Knowledge Representation Part VI
Enhanced Content Models
Jan Pettersen Nytun, UiA
ece 720 intelligent web: ontology and beyond
Session 1: Primitive Classes Nick Drummond
Linking Guide Michel Böhms.
Service-Oriented Computing: Semantics, Processes, Agents
Knowledge Representation (Part I)
Logics for Data and Knowledge Representation
ece 720 intelligent web: ontology and beyond
Knowledge Representation Mandatory Exercise II IKT
Presentation transcript:

Knowledge Representation Part VII Protégé / RDFS / OWL / ++ Much of the content of this presentation has been copied from: A Practical Guide To Building OWL Ontologies Using Protégé 4 and CO-ODE Tools Edition 1.3, Matthew Horridge Jan Pettersen Nytun, UiA

Outline Property Characteristics OWL Restrictions

Knowledge Representation Part II, JPN, UiA OWL Property types There are two main types of properties: Object properties. Datatype properties. Additionally: Annotation properties can be used to add metadata (data about data). Knowledge Representation Part II, JPN, UiA

Property Characteristics OWL allows the meaning of properties to be enriched through the use of property characteristics. Knowledge Representation Part III, JPN, UiA

Knowledge Representation Part III, JPN, UiA Inverse Property If some property links individual A to individual B then its inverse property will link individual B to individual A. If Matthew hasParent Jean, then because of the inverse property we can infer that Jean hasChild Matthew. Knowledge Representation Part III, JPN, UiA

Functional Properties A functional property connects only one object or literal to a subject. birth mother: One's biological mother E.g., it is only possible to have one birth mother Knowledge Representation Part III, JPN, UiA

Functional Properties Continues … Mapping functional property to UML: It is possible to define an association as functional by specifying the upper multiplicity of the navigable end as being 0..1 Person isBirthMotherTo * birth mother: One's biological mother 0..1 Female hasBirthMother Knowledge Representation Part III, JPN, UiA

Inverse Functional Properties If a property is inverse functional then it means that the inverse property is functional. birth mother: One's biological mother Knowledge Representation Part III, JPN, UiA

Functional / Inverse Functional Properties Inverse functional properties are similar, but in the reverse direction. Person isBirthMotherTo Inverse Functional Property * birth mother: One's biological mother Functional Property 0..1 Female hasBirthMother JPN, UiA

Functional / Inverse Functional Properties continues … Both object properties and datatype properties can be declared as "functional“ but only object properties can be decleared to be “functional inverse”. RDF does not allow literal values as the subjects of triples. I seems this is why we need both???

More Property Characteristics If a property is transitive, and the property relates individual a to individual b, and also individual b to individual c, then we can infer that individual a is related to individual c via property P. E.g., subRegionOf JPN, UiA

More Property Characteristics If a property P is symmetric, and the property relates individual a to individual b then individual b is also related to individual a via property P. E.g., hasSibling JPN, UiA

More Property Characteristics If a property P is asymmetric, and the property relates individual a to individual b then individual b cannot be related to individual a via property P. E.g., isMotherTo JPN, UiA

More Property Characteristics A property P is said to be reflexive when the property must relate individual to itself. E.g., hasRelative (everybody has himself as a relative). This does not necessarily mean that every two individuals which are related by a reflexive property are identical. birth mother: One's biological mother JPN, UiA

More Property Characteristics parentOf More Property Characteristics Irreflexive, meaning that no individual can be related to itself by such a role. E.g., hasParent birth mother: One's biological mother Knowledge Representation Part III, JPN, UiA

Outline Property Characteristics OWL Restrictions

[4]: In OWL classes are built up of descriptions that specify the conditions that must be satisfied by an individual for it to be a member of the class.

OWL Restrictions Three main categories: Quantifier Restrictions existential restrictions universal restrictions Cardinality Restrictions hasValue Restrictions

A restriction describes a class of individuals based on the relationships that members of the class participate in. A restriction describes an anonymous class.

Quantifier Restrictions Existential restrictions – some Describe classes of individuals that participate in at least one relationship along a specified property to individuals that are members of a specified class. Universal restrictions – only Describe classes of individuals that for a given property only have relationships along this property to individuals that are members of a specified class.

New version of Protégé calls it “Subclass of”

Existential Restrictions A restriction containing an owl:someValuesFrom constraint describes a class of all individuals for which at least one value of the property concerned is an instance of the class description or a data value in the data range.

Cardinality in dialog window should be ignored (it is 1..*)

In Turtle Representation pizza:Pizza rdf:type owl:Class ; rdfs:label "Pizza"@en ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:onProperty pizza:hasBase ; owl:someValuesFrom pizza:PizzaBase ] ; … At least one pizza base!

pizza:Margherita rdf:type owl:Class ; rdfs:label "Margherita"@pt ; rdfs:subClassOf pizza:NamedPizza , [ rdf:type owl:Restriction ; owl:onProperty pizza:hasTopping ; owl:allValuesFrom [ rdf:type owl:Class ; owl:unionOf ( pizza:MozzarellaTopping pizza:TomatoTopping ) ] ] , … Only = owl:allValuesFrom

There is no “+” for adding; conditions comes from superclass!

Multiple Inheritance from Anonymous Classes :Pizza rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:onProperty :hasTopping ; owl:someValuesFrom :PizzaTopping ] , [ rdf:type owl:Restriction ; owl:onProperty :hasBase ; owl:someValuesFrom :PizzaBase ] .

References [1] Book: David Poole and Alan Mackworth, Artificial Intelligence: Foundations of Computational Agents, Cambridge University Press, 2010, http://artint.info/ [2] http://www.w3.org/TR/swbp-n-aryRelations/ [3] RDF 1.1 Primer, W3C Working Group Note, 24 June 2014 [4] A Practical Guide To Building OWL Ontologies Using Protégé 4 and CO-ODE Tools Edition 1.3, Matthew Horridge [5] http://www.w3.org/TR/2009/REC-owl2-syntax-20091027/