The Knowledge Presentation Language. Web Ontology Language (OWL)  Web Ontology Language (OWL) extends RDF and RDFS languages by adding several other.

Slides:



Advertisements
Similar presentations
CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
Advertisements

An Introduction to RDF(S) and a Quick Tour of OWL
12 Dec. 2006CmpE 583 Fall 2006 Basic OWL Lite 1 Basic OWL Lite off Textbook Ch. 12: Classes & Properties Atilla Elçi.
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.
Dr. Jim Bowring Computer Science Department College of Charleston CSIS 690 (633) May Evening 2009 Semantic Web Principles and Practice Class 7: 3 June.
Chapter 8: Web Ontology Language (OWL) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
Chapter 4 Web Ontology Language: OWL
Knowledge Technologies Manolis Koubarakis 1 An Introduction to RDF Schema.
More RDF CS 431 – Carl Lagoze – Cornell University Acknowledgements: Eric Miller Dieter Fensel.
From SHIQ and RDF to OWL: The Making of a Web Ontology Language
Chapter 4A Semantic Web Primer 1 Chapter 4 Web Ontology Language: OWL Grigoris Antoniou Frank van Harmelen.
13 Dec. 2006CmpE 583 Fall 2006 OWL Lite- Property Char’s. 1 OWL Lite: Ch. 13- Property Characteristics Atilla ELÇİ.
Chapter 6 Understanding Each Other CSE 431 – Intelligent Agents.
Chapter 4 Web Ontology Language: OWL Grigoris Antoniou Frank van Harmelen Augmented by Boontawee Suntisrivaraporn,
1 MASWS Multi-Agent Semantic Web Systems: OWL Stephen Potter, CISA, School of Informatics, University of Edinburgh, Edinburgh, UK.
Okech Odhiambo Faculty of Information Technology Strathmore University
OWL – Part II. owl:equivalentProperty  Already we have learned about asserting that two properties behave in the same way  To make two properties equivalent,
OWL and SDD Dave Thau University of Kansas
1 st Workshop on Intelligent and Knowledge-oriented Technologies, , Bratislava Scripting the Semantic Web Marian Babik, Ladislav Hluchy Intelligent.
OWL 2 Web Ontology Language. Topics Introduction to OWL Usage of OWL Problems with OWL 1 Solutions from OWL 2.
SQL Databases are a Moving Target Juan F. Sequeda – Syed Hamid Tirmizi –
1 Object-Orientation in Ontology Date: April 30, 2007 Byunggul Koh Taeksu Kim.
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.
10/14/20151 OWL. 10/14/20152 What’s inside an ontology? Concepts: Classes + class-hierarchy instances Properties: often also called “Roles” or “Slots”
Chapter 9. 9 RDFS (RDF Schema) RDFS Part of the Ontological Primitive layer Adds features to RDF Provides standard vocabulary for describing concepts.
OWL Representing Information Using the Web Ontology Language 1.
06 Dec Rev'd 07 Dec CmpE 583 Fall 2006 OWL Lite 1 OWL Lite off Textbook Ch. 11: Encoding Atilla Elçi.
Michael Eckert1CS590SW: Web Ontology Language (OWL) Web Ontology Language (OWL) CS590SW: Semantic Web (Winter Quarter 2003) Presentation: Michael Eckert.
Metadata. Generally speaking, metadata are data and information that describe and model data and information For example, a database schema is the metadata.
Chapter 3 RDF Schema. Introduction RDF has a very simple data model RDF Schema (RDFS) enriches the data model, adding vocabulary and associated semantics.
Part I: Set Constructs. RDF Schema (RDFS) RDF does not provide mechanisms to define domain classes and properties RDFS is a vocabulary that provides many.
Ontology & OWL Semantic Web - Fall 2005 Computer Engineering Department Sharif University of Technology.
RDF, OWL, SPARQL and the Semantic Wed ACCU 2009 Seb Rose.
Deep integration of Python with Semantic Web technologies Marian Babik, Ladislav Hluchy Intelligent and Knowledge Technologies Group Institute of Informatics,
Chapter 3 RDF and RDFS Semantics. Introduction RDF has a very simple data model But it is quite liberal in what you can say Semantics can be given using.
Part II. Property domain and range restriction RDFS allows us to put restriction on the properties by specifying their domain and range, providing the.
Of 35 lecture 5: rdf schema. of 35 RDF and RDF Schema basic ideas ece 627, winter ‘132 RDF is about graphs – it creates a graph structure to represent.
RDF Schema (RDFS) RDF user communities need to define the vocabularies (terms) to indicate that they  are describing specific kinds or classes of resources.
OIL and DAML+OIL: Ontology Languages for the Semantic Web Sungshin Lim TOWARDS THE SEMANTIC WEB: Ontology-driven Knowledge.
Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:
Ontology Engineering Lab #5 – September 30, 2013.
Ch 7: RDF schema 현근수, 김영욱, 백상윤, 이용현 Team C. Introduction Semantic web modeling In RDF: simply creates graph structure to represent data In RDFS: about.
Logics for Data and Knowledge Representation Web Ontology Language (OWL) -- Exercises Feroz Farazi.
OWL Full Semantics -- RDF-Compatible Model-Theoretic Semantics by Peter F. Patel-Schneider, Patrick Hayes and Ian Horrocks W3C Recommendation, 2004
OWL Web Ontology Language Overview. The OWL Web Ontology Language is designed for use by applications that need to process the content of information.
The Knowledge Presentation Language. Web Ontology Language (OWL)  Web Ontology Language (OWL) extends RDF and RDFS languages by adding several other.
Practical RDF Chapter 12. Ontologies: RDF Business Models Shelley Powers, O’Reilly SNU IDB Lab. Taikyoung Kim.
ONTOLOGY ENGINEERING Lab #2 – September 8,
Of 38 lecture 6: rdf – axiomatic semantics and query.
CC L A W EB DE D ATOS P RIMAVERA 2015 Lecture 4: Web Ontology Language (I) Aidan Hogan
Semantic Web for the Working Ontologist - RDFS-Plus TEAM C 현근수, 김영욱, 백상윤, 이용현.
OWL Representing Information Using the Web Ontology Language.
Ontology Engineering Lab #4 - September 23, 2013.
Chapter 4 Web Ontology Language: OWL Grigoris Antoniou Frank van Harmelen Augmented by Boontawee Suntisrivaraporn,
OWL Web Ontology Language Summary IHan HSIAO (Sharon)
Semantic Web for the Working Ontologist Dean Allemang Jim Hendler SNU IDB laboratory.
Semantic Web in Depth RDF Schema Dr Nicholas Gibbins –
Chapter Describing Individuals OWL Individuals ▫Ontological Primitive Layer  Mostly described with RDF ▫Instances of user-defined ontological.
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
Vincenzo Maltese, Fausto Giunchiglia University of Trento
The Semantic Web Part 6. RDF Vocabularies: RDF Schema
Logics for Data and Knowledge Representation
Web Ontology Language: OWL
ece 720 intelligent web: ontology and beyond
Chapter 3 RDF and RDFS Semantics
Logics for Data and Knowledge Representation
Knowledge Representation Part VII Protégé / RDFS / OWL / ++
ece 720 intelligent web: ontology and beyond
Presentation transcript:

The Knowledge Presentation Language

Web Ontology Language (OWL)  Web Ontology Language (OWL) extends RDF and RDFS languages by adding several other constructs such as owl:class (in addition to the rdfs:class ), relationships between class and individuals, and property characteristics  These new constructs facilitate interoperability among distributed resources  OWL is encoded in RDF/XML  OWL is said to be ‘monotonic’, meaning that addition of new information to a knowledge base does not falsify previous conclusions

Owl dialects  OWL has three species (dialects): OWL-Lite, OWL DL, and OWL Full  The differences are on the limitations on restrictions on classes  OWL Lite: supports class and property hierarchies and simple restrictions, allowing us to develop thesauri and simple ontologies  OWL DL is the decidable version of OWL Full, with some limitation; it is a restricted version of RDF  OWL Full has no limitation, but may not be decidable

Features of OWL Is compatible with (serializable in) XML. Uses XSD datatypes Follows description logic in having class, property, and individuals Has constructs that are identified by the URIref Allow us to define complex classes with Boolean combinations (intersection, union, complement) Makes it possible to define properties and subproperties and assigning logical metadata (e.g., transitivity) Has features to set two classes, properties, and individuals as equivalent

… Allows setting the cardinality constraints Setting classes as instances Resources defined by it can have labels such that they can be displayed in different natural languages Allows developing Web-distributed ontologies Lets us import and reuse other owl code (ontologies) by extension Allows saving the same ontologies with different versions Allows defining metadata for ontologies (e.g., author, version)

OWL ontology header info Includes namespace declaration Information about the ontology is put within the owl:Ontology Qname, e.g., version, comments, and import The version includes: owl:versionInfo, owl:priorVersion, owl:backwardCompatibleWith, owl:incompatibleWith, owl.deprecatedClass, and owl:deprecatedProperty We can also use the rdfs:comment, rdfs:label, rdfs:seeAlso, and rdfs:isDefinedBy

Part of Structural Geology Structural Geology

Two Types of Property in OWL  Datatype Property has a typed literal (e.g., XSD or RDF literal) as its range  As a binary relation, the datatype property relates a set of instances of a [domain] class to a set of instances of a datatype (range; object)  A datatype property is declared using the owl:DatatypeProperty  Or:

Object Property  Object property has a URIref as its range  As a binary property, it relates a set of individuals of one class to the set of individuals of another class  That is, the subject and objects of a triple using an object property are both individuals  Object properties are declared in two different ways: or:

Example in N3 struc:foldDescription rdf:type owl:DatatypeProperty. struc:foldDescription rdfs:domain struc:Fold. struc:foldDescription rdfs:range xsd:string. struc: Fold struc: foldDescriptionxsd:tring struc:foldAxis rdf:type owl:ObjectProperty. struc:foldAxis rdfs:domainstruc:Fold. struc:foldAxis rdfs:rangestruc:Line. struc:Foldstruc:foldAxisstruc:Line

Domain and range of properties Can be assigned in a short form: Or the long way, as is shown in the following slide!

owl:inveseOf  Properties themselves have properties  owl:inverseOf property relates two properties to each other  Many properties in one direction have an inverse property in the opposite direction  For example, the first property in each of the following pairs reverses the direction of the second property  ‘ analyzes’ and ‘analyzedBy’  ‘investigates’ and ‘investigatedBy’  ‘hasSample’ and ‘sampleOf  ‘wrote’ and ‘writtenBy’  ‘locatedIn’ and ‘locationOf’  These follow the definition of the mathematical inverse function that state: if f(x) = y, then f -1 (y) = x.

Inference of the owl:inverseOf P owl:inverseOf Q. If x P y. Then y Q x.  Example: The partOf property is an inverse property struc : Fold hasPart struc : limb. partOf owl : inveseOf struc : hasPart.  This means that if fold has limb as part, then limb is part of fold FoldLimb xy hasPart partOf Q P

FoldLimb xy hasPart partOf

partOf owl:inverseOf hasPart

owl:symmetricProperty  If the property that relates two classes is the same (has the same name) in both directions, we declare the property as symmetric  For example: ‘equals’ or ‘siblingOf’ is a symmetric property  if x is siblingOf y, then y is siblingOf x  Symmetric properties must be declared as such P rdf : type owl:SymmetricProperty.  The inference for a symmetric property is as follows: P owl:inverseOf P.  That is, the symmetric property is an inverse property.

owl:transitiveProperty  In mathematics, a relation is said to be transitive if P(a,b) and P(b,c) implies P(a,c). This is represented by the owl:TransitiveProperty, which applies to a property. P rdf : type owl:TransitiveProperty. The inference for this property is as follows: IF x P y. y P z. THEN x P z. C part of B B part of A C part of A. A B C FaultBendFaultSegment xy P Fault z P

partOf  The partOf property (containment) may be transitive (not always). Finger is part of hand, and hand is part of body  However, someone’s hand is not part of the group to which the person is part of  Geologically, being fractal, faults have segments that have smaller fault segments, which have even smaller segments which are themselves fault struc:FaultSegment struc:partOf struc: FaultSegment. struc:partOf rdf :type owl:TransitiveProperty. struc:FaultSegment rdfs:subClassOf struc:Fault. FaultBendFaultSegment xy partOf Fault z partOf

Transitive partOf partOf owl:inverseOf hasPart

locatedIn is transitive C locatedIn B B locatedIn A C locatedIn A. geo:locatedInrdf:typeowl:TransitiveProperty. If tect:SanAndreasFault geo:locatedIn geo:California. geo:California geo:locatedIn geo:United States. Then geo:SanAndreasFault geo:locatedIn geo:United States. A B C

Functional Property … A functional property is a property that can have only one unique value y (object) for each instance x (subject) e.g., hasBirthMother is functional This means that there cannot be two distinct values y 1 and y 2 if (x, y 1 ) and (x, y 2 ) are instances of the functional property If x p y 1 and x p y 2, then y 1 =y 2 Ashley hasBirthMother Jane Ashley hasBirthMother Maria then jane=Maria Given x (subject individual) we can find y (object individual)! Both object and datatype properties can be declared functional! There could be many x ’s, but all relate to one y Example: husband property may be functional in some cultures: Woman husband Man(not in polygamy or same sex marriages) If x husband y 1 and x husband y 2, then y 1 =y 2 If Jane husband Jack and Jane husband Jeff, then Jack = Jeff y2 x y1 p p x x y x x x

Inference  The owl:FunctionalProperty can only take one value for any [object] individual, allowing sameness to be inferred  The inference rule for this construct is as follows  Note: x is a subject individual and A and B are object individuals If P rdf:type owl:FunctionalProperty. X P A X P B Then A owl:sameAs B. x A p B p x

A property p is functional if x p y 1 and x p y 2 imply that y 1 = y 2 We infer that the two object individuals are the same (y 1 owl:sameAs y 2 ) Note that the subjects are not asserted to be the same; only the objects are the same DaughterProduct daughterProductOf ParentIsotope Sample sampleLocation Location daughterProductOf and sampleLocation are functional properties, because there is one unique value y for x in the following triples: x sampleLocation y or x daughterProductOf y There is a unique location for each sample There is a unique ParentIsotope for each daughterProduct Parent Isotope Daughter Product daughterProductOf Location Sample sampleLocation

Sample Location sampleLocation

Inverse Functional Property This is the inverse property of the functional property. e.g., isBirthMotherOf which is the inverse of hasBirthMoterh The object y of an inverse functional property p uniquely determines the subject x (some individual) y can only be the value for p for a single instance x There cannot be two distinct x 1 and x 2 such that ( x 1, y ) and ( x 2, y ) are instances of p. If there are, then x 1 = x 2 Liz isBirthMotherOf Steven Myra isBirthMotherOf Steven then, Liz = Myra (same individual) Note: People’s name is not inverse functional (different people can have the same name) x1x1 y p p x2x2 Steven Liz Myra isBirthMotherOf

Inverse Functional Property  This property is the inverse of the owl:FunctionalProperty  It is very useful for merging data from different sources  The owl:FunctionalProperty and owl:InverseFunctionalProperty allow merging data for a same individual from different sources  The owl:InverseFunctionalProperty is equivalent to the key in relational databases, such as SSN and driving license number  These are unique  The inference rule of this construct is as follows: P rdf:type owl:InverseFunctionalProperty. A P X. B P X. Then A owl:sameAs B. A x p p B

owl:InverseFunctionalProperty If x p y, and p is inverse functional, then there can be only a single value of x for a given y, that is: The object individual y of an owl:InverseFunctionalProperty p uniquely determines a single subject individual x Given the object individual ( y ), we can find a unique subject individual ( x ) (i.e., x  y -1 ) In this case, if x 1 p y and x 2 p y, then x 1 and x 2 are the same! If x1 ssn and x2 ssn , then x1=x2 e.g., hasSingleAuthorArticle: a person (subject) may have many published papers (objects), but all are authored by one author (subject). PersonhasSingleAuthorArticleSingleAuthorArticle Given a singleAuthorArticle object individual ( y ) we can find a unique subject individual ( x ) y y y x

… A single value of the property (object y, e.g., doi of an Article) cannot be shared by two x subject entities (e.g., Authors). Example: Let’s assume that an isotope is produced by the decay of some unique isotope (may not be true in all cases!) Isotope parentOf DaughterIsotope An object individual y (some daughterIsotope) uniquely determines a single subject individual x (parent isotope) AuthorArticle hasSingleAuthorPaper y x

Example  Let’s assume location of any measurement is uniquely identified by the longitude and latitude (defined by the Location class), i.e., assume no two samples of a rock can be taken at the same exact spot :Station134 : locatedAt : LocationA. :Station346 : locatedAt : LocationA.  We infer that :Station134 owl:sameAs :Station346 StationLocation locatedAt

One-to-one Property  For a one-to-one relationship, we use a combination of the owl:FunctionalProperty and owl:inverseFunctionalProperty.  Note: Sample sampleId XSD:Integer is not a good example, because it is a datatype property, and not every number gives you the sample :hasimage rdfs:domain :ThinSection. :hasImage rdfs:range Image. :hasImage rdf:type owl:FunctionalProperty. :hasImage rdf:type owl:InverseFunctionalProperty.  So, any two thin sections with the same image must be the same thin section! SampleXSD:Integer sampleId x y X ThinSectionImage hasImage

One-to-one hasImage Property

rdf:Description rdf:about=" ThinSectionImage hasImage

 Note that not every functional property can also be an inverse functional property  For example, mineral composition can be functional only, because every mineral has a unique composition, but many individual minerals can share that same composition (if they belong to the same class) (compare with hasFather ) Every individual child has one biological father, but the father can have more than one child  Some properties can only be inverse functional, but not functional  For example, a single-author publication of an author (or description of an outcrop or a thin section by one person) may be inverse functional, because it only belongs to one person ◦ The person can have several such publications or descriptions MineralComposition hasComposition x1x1 x2x2