This file is licensed under the Creative Commons Attribution-NonCommercial 3.0 (CC BY-NC 3.0 ) Dr. Harald Sack Hasso Plattner Institute for IT Systems Engineering University of Potsdam Spring 2013 Semantic Web Technologies Lecture 5: Knowledge Representations II 06: Web Ontology Language (Part 3)
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
This file is licensed under the Creative Commons Attribution-NonCommercial 3.0 (CC BY-NC 3.0)
Dr. Harald Sack
Hasso Plattner Institute for IT Systems Engineering
University of Potsdam
Spring 2013
Semantic Web Technologies
Lecture 5: Knowledge Representations II06: Web Ontology Language (Part 3)
Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
2
Lecture 5: Knowledge Representations II
Open HPI - Course: Semantic Web Technologies
Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
3
06 Web Ontology Language - OWL (Part 3)Open HPI - Course: Semantic Web Technologies - Lecture 5: Knowledge Representations II
Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
4
OWL – Relationships among Individuals
• via inference it can be entailed that „WRR012345“ is an „AlcoholicBeverage“
• Difference of Individuals via owl:differentFrom
:WegelerRheingauRiesling a :Wine ; :isMadeOf :Riesling ; :hasVintageYear 2007 ; owl:sameAs :WRR012345 .:Wine a owl:Class ; rdfs:subClassOf :AlcoholicBeverage .:AlcoholicBeverage a owl:Class.
:WRR012346 a :Wine ; owl:differentFrom :WRR012345 .
Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
5
OWL – Relationships among Individuals
[] a owl:AllDifferent ; owl:distinctMembers (:WegelerRheingauRiesling :AltoAdigeChardonnay :ChateauxLafiteRothschild :MarquesDeRiscal) .
• OWL provides a shortcut to define several individuals to be different
Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
6
OWL – Closed Classes (Nominals)
• This says that there are only two redwines available in the store.
:Wine a owl:Class ;:ChateauxLatourPauillac a :Wine .:ChateauxLafiteRothschild a :Wine .:RedwinesInStore a owl:Class ; owl:oneOf (:ChateauxLatourPauillac, :ChateauxLafiteRothschild) .