Semantic Web for the Working Ontologist Dean Allemang Jim Hendler SNU IDB laboratory.

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

Leveraging Data and Structure in Ontology Integration Octavian Udrea 1 Lise Getoor 1 Renée J. Miller 2 1 University of Maryland College Park 2 University.
Logics for Data and Knowledge Representation Web Ontology Language (OWL) Feroz Farazi.
Of 27 lecture 7: owl - introduction. of 27 ece 627, winter ‘132 OWL a glimpse OWL – Web Ontology Language describes classes, properties and relations.
Chapter 8: Web Ontology Language (OWL) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
1 Semantic Web Technologies: The foundation for future enterprise systems Okech Odhiambo Knowledge Systems Research Group Strathmore University.
Dr. Jim Bowring Computer Science Department College of Charleston CSIS 690 (633) May Evening 2009 Semantic Web Principles and Practice Class 7: 3 June.
Dr. Jim Bowring Computer Science Department College of Charleston CSIS 690 (633) May Evening 2009 Semantic Web Principles and Practice Class 5: 27 May.
Ontologies and the Semantic Web by Ian Horrocks presented by Thomas Packer 1.
Chapter 8: Web Ontology Language (OWL) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
GloServ: Global Service Discovery Architecture Knarig Arabshian and Henning Schulzrinne IRT internal talk April 26, 2005.
More RDF CS 431 – Carl Lagoze – Cornell University Acknowledgements: Eric Miller Dieter Fensel.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
From SHIQ and RDF to OWL: The Making of a Web Ontology Language
Department of Computer Science, University of Maryland, College Park 1 Sharath Srinivas - CMSC 818Z, Spring 2007 Semantic Web and Knowledge Representation.
Dr. Jim Bowring Computer Science Department College of Charleston CSIS 690 (633) May Evening 2009 Semantic Web Principles and Practice Class 3: 18 May.
Semantic Web Andrejs Lesovskis. Publishing on the Web Making information available without knowing the eventual use; reuse, collaboration; reproduction.
인공지능 특강 프로젝트 - Development of Decision Tree Algorithm for Semantic Web data 전동규.
13 Dec. 2006CmpE 583 Fall 2006 OWL Lite- Property Char’s. 1 OWL Lite: Ch. 13- Property Characteristics Atilla ELÇİ.
Logics for Data and Knowledge Representation Resource Description Framework (RDF) Feroz Farazi.
Okech Odhiambo Faculty of Information Technology Strathmore University
RDF Query language The following slides are from Grigoris Antoniou, Frank van Harmelen, “A Semantic Web Primer” Dean Allemang, Jim Hendler, “Semantic Web.
Logics for Data and Knowledge Representation
Database Support for Semantic Web Masoud Taghinezhad Omran Sharif University of Technology Computer Engineering Department Fall.
SQL Databases are a Moving Target Juan F. Sequeda – Syed Hamid Tirmizi –
Entity Framework Overview. Entity Framework A set of technologies in ADO.NET that support the development of data-oriented software applications A component.
RDFS-Plus See D. Allemang and J. Hendler, Semantic Web for the Working Ontologist: Effective Modeling in RDFS and OWL, Morgan Kaufmann, 2008 Present a.
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.
Ontology & OWL Semantic Web - Fall 2005 Computer Engineering Department Sharif University of Technology.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Advanced topics in software engineering (Semantic web)
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.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:
Semantic Web for the Working Ontologist Dean Allemang Jim Hendler SNU IDB laboratory.
Semantic Web for the Working Ontologist Dean Allemang Jim Hendler SNU IDB laboratory.
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.
Steven Seida How Does an RDF Knowledge Store Compare to an RDBMS?
OWL Full Semantics -- RDF-Compatible Model-Theoretic Semantics by Peter F. Patel-Schneider, Patrick Hayes and Ian Horrocks W3C Recommendation, 2004
Practical RDF Chapter 12. Ontologies: RDF Business Models Shelley Powers, O’Reilly SNU IDB Lab. Taikyoung Kim.
Semantic Web for the Working Ontologist Dean Allemang Jim Hendler SNU IDB laboratory.
Of 38 lecture 6: rdf – axiomatic semantics and query.
Semantic Web for the Working Ontologist Dean Allemang Jim Hendler SNU IDB laboratory.
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 현근수, 김영욱, 백상윤, 이용현.
Semantic Web for the Working Ontologist Dean Allemang Jim Hendler SNU IDB laboratory.
Semantic Web for the Working Ontologist Dean Allemang Jim Hendler SNU IDB laboratory.
Semantic Web for the Working Ontologist Dean Allemang Jim Hendler SNU IDB laboratory Last modified,
Dr. Philip Cannata 1 RDF. Dr. Philip Cannata 2 10 Java (Object Oriented) ASP RDF (Horn Clause Deduction, Semantic Web) Relation Jython in Java This Course.
OWL Representing Information Using the Web Ontology Language.
Semantic Web for the Working Ontologist Dean Allemang Jim Hendler SNU IDB laboratory.
Of 32 lecture 8: owl – language I. of 32 ece 627, winter ‘132 OWL XML/RDF syntax: header
Semantic Web for the Working Ontologist Dean Allemang Jim Hendler SNU IDB laboratory.
Semantic Web for the Working Ontologist Dean Allemang Jim Hendler SNU IDB laboratory.
Semantic Interoperability in GIS N. L. Sarda Suman Somavarapu.
Semantic Web for the Working Ontologist Dean Allemang Jim Hendler SNU IDB laboratory.
Chapter Describing Individuals OWL Individuals ▫Ontological Primitive Layer  Mostly described with RDF ▫Instances of user-defined ontological.
Vincenzo Maltese, Fausto Giunchiglia University of Trento
Knowledge Representation Part VI
Logics for Data and Knowledge Representation
Knowledge Representation Part VI
ece 720 intelligent web: ontology and beyond
Aidan Hogan CC La Web de Datos Primavera 2017 Lecture 4: Web Ontology Language (OWL) [I] Aidan Hogan
Logics for Data and Knowledge Representation
ece 720 intelligent web: ontology and beyond
Presentation transcript:

Semantic Web for the Working Ontologist Dean Allemang Jim Hendler SNU IDB laboratory

Semantic Web for the Working OntologistDean Allemang, Jim Hendler Working Ontology Contents 2 ■ Chapter 1 What is the Semantic Web? ■ Chapter 2 Semantic Modeling ■ Chapter 3 RDF-The Basis of the semantic Web ■ Chapter 4 Semantic Web Application Architecture ■ Chapter 5 RDF and Inferencing ■ Chapter 6 RDF Schema ■ Chapter 7 RDFS-Plus ■ Chapter 8 Using RDFS-Plus in the Wild ■ Chapter 9 Basic OWL ■ Chapter 10 Counting and Sets in OWL ■ Chapter 11 Using OWL in the Wild ■ Chapter 12 Good and Bad Modeling Practices ■ Chapter 13 OWL Levels and Logic

Semantic Web for the Working OntologistDean Allemang, Jim Hendler Chapter 7 RDFS-Plus ■ Inverse ■ Symmetric Properties ■ Transitivity ■ Equivalence ■ Computing Sameness ■ Summary 3

Semantic Web for the Working OntologistDean Allemang, Jim Hendler Introduction ■ RDFS-Plus = RDFS + particular set of OWL constructs RDF provides a very limited set of inference capabilities that have considerable utility in a Semantic Web setting for merging information from multiple sources OWL, more elaborate constraints on how information is to be merged can be specified RDFS-Plus is expressed entirely in RDF 4

Semantic Web for the Working OntologistDean Allemang, Jim Hendler 1. Inverse ■ Meaning of owl:inverseOf owl:inverseOf have considerable utility in modeling, based on how it can interact with other modeling constructs 5 Powl:inverseOfQ. xPy. yQx. {geo:Scotland lit:settingFor ?play.} {?play lit:settingIn geo:Scotland.} Why we need owl:inverseOf ?

Semantic Web for the Working OntologistDean Allemang, Jim Hendler 1.1 Integrating Data that Do Not Want to Be Integrated How can we merge signedTo and borrows given that they don’t share domains and ranges? 6 BookPatron signedTo borrows BookPatron Merge?

Semantic Web for the Working OntologistDean Allemang, Jim Hendler 1.1 Integrating Data that Do Not Want to Be Integrated ■ Solution 7 :signedTo owl:inverseOf :signedOut. :signedOut rdfs:subPropertyOf :hasPossession. :borrows rdfs:subPropertyOf :hasPossession. signedOut BookPatron signedTo borrows BookPatron Merge!

Semantic Web for the Working OntologistDean Allemang, Jim Hendler 2. Symmetric Properties ■ Unlike owl:inverseOf, which is a property that relates two other properties, owl:SymmetricProperty is just an aspect of a single property and is expressed in OWL as a Class 8 P rdf:type owl:SymmetricProperty. P owl:inverseOf P. bio:married rdf:type owl:SymmetricProperty. ShakespeareAnnHathaway married ShakespeareAnnHathaway

Semantic Web for the Working OntologistDean Allemang, Jim Hendler possessedByhasPossession owl:inverseOf signedTosignedOut owl:inverseOf lentToborrows owl:inverseOf rdf:subPropertyOf 2.1 Using OWL to Extend OWL 9 owl:inverseOf rdf:type owl:SymmetricProperty. :hasPossession owl:inverseOf :possessedBy. :signedOut owl:inverseOf :signedTo. :borrows owl:inverseOf :lentTo. possessedByhasPossession owl:inverseOf signedTosignedOut owl:inverseOf lentToborrows owl:inverseOf rdf:subPropertyOf

Semantic Web for the Working OntologistDean Allemang, Jim Hendler 3. Transitivity 10 P rdf:type owl:TransitiveProperty. X P Y. Y P Z. X P Z. ■ Typical Example Ancestor/descendant Geographical containment

Semantic Web for the Working OntologistDean Allemang, Jim Hendler 3.1. Relating Parents to Ancestors 11 :hasParent rdfs:subPropertyOf :hasAncestor. :hasAncestor rdf:type owl:TransitiveProperty. :Alexia :hasParent :WillemAlexander. :WillemAlexander :hasParent :Beatrix. :Beatrix :hasParent :Wilhelmina. :Alexia :hasAncestor :WillemAlexander. :WillemAlexander :hasAncestor :Beatrix. :Beatrix :hasAncestor :Wilhelmina. Alexia WillemAlexander Beatrix Wilhelmina hasAncestor :Alexia :hasAncestor :Beatrix. :WillemAlexander :hasAncestor :Wilhelmina. :Alexia :hasAncestor :Wilhelmina

Semantic Web for the Working OntologistDean Allemang, Jim Hendler 3.2. Layers of Relationships ■ It can be somewhat controversial whether a property is transitive or not (e.g. “part of”) Are Mick Jagger’s thumbs are part of the Rolling Stones? ■ How can we simultaneously maintain transitive and non-transitive versions of the partOf information? 12 dm:partOf rdfs:subPropertyOf gm:partOf. gm:partOf rdf:type owl:TransitiveProperty. MickJaggersThumb TheRollingStones MickJagger dm:partOf MickJaggersThumb TheRollingStones MickJagger gm:partOf dm:partOf gm:partOf

Semantic Web for the Working OntologistDean Allemang, Jim Hendler 3.3 Managing Networks of Dependencies 13 TurnInFreezer AddMilk CookCustard GraduallyMix Chill HeatCream SliceBean BeatEggs AddSugar SeparateEggs dependsOn :dependsOn owl:inverseOf :enables. :SliceBean :enables :HeatCream. :SeparateEggs :enables :AddSugar. :AddSugar :enables :BeatEggs. :BeatEggs :enables :GraduallyMix. :HeatCream :enables :GraduallyMix. :GraduallyMix :enables :CookCustard. :CookCustard :enables :Chill. :Chill :enables :AddMilk. :AddMilk :enables :TurnInFreezer.

Semantic Web for the Working OntologistDean Allemang, Jim Hendler 3.3 Managing Networks of Dependencies ■ How can we know all the steps it depends on or all the steps that depend on it? 14 :dependsOn rdfs:subPropertyOf :hasPrerequisite. :hasPrerequisite rdf:type owl:TransitiveProperty. :enables rdfs:subPropertyOf :prerequisiteFor. :prerequisiteFor rdf:type owl:TransitiveProperty. :GraduallyMix :hasPrerequisite :AddSugar; :hasPrerequisite :SeparateEggs; :hasPrerequisite :SliceBean; :hasPrerequisite :HeatCream; :hasPrerequisite :BeatEggs; TurnInFreezer AddMilk CookCustard GraduallyMix Chill HeatCream SliceBean BeatEggs AddSugar SeparateEggs dependsOn

Semantic Web for the Working OntologistDean Allemang, Jim Hendler 3.3 Managing Networks of Dependencies ■ Can we model the relationship between steps so that we can connect steps in the same recipe together? Problem. :GraduallyMix :inSameRecipe :GraduallyMix. has been inferred 15 :dependsOn rdfs:subPropertyOf :neighborStep. :enables rdfs:subPropertyOf :neighborStep. :neighborStep rdfs:subPropertyOf :inSameRecipe. :inSameRecipe rdf:type owl:TransitiveProperty. owl:TransitivePropertyinSameRecipe neighborStep dependsOnenables rdfs:subPropertyOf rdf:type rdfs:subPropertyOf

Semantic Web for the Working OntologistDean Allemang, Jim Hendler 3.3 Managing Networks of Dependencies ■ How can we define a property that will relate a recipe step only to the other steps in the same recipe? 16 :dependsOn rdfs:subPropertyOf :hasPrerequisite. :hasPrerequisite rdf:type owl:TransitiveProperty. :enables rdfs:subPropertyOf :prerequisiteFor. :prerequisiteFor rdf:type owl:TransitiveProperty. :hasPrerequisite rdfs:subPropertyOf :otherStep. :prerequisiteFor rdfs:subPropertyOf :otherStep. owl:TransitiveProperty prerequisiteFor dependsOnenables rdfs:subPropertyOf otherStep hasPrerequisite rdf:type rdfs:subPropertyOf

Semantic Web for the Working OntologistDean Allemang, Jim Hendler 4.1. Equivalent Classes 17 A owl:equivalentClass B. r rdf:type A. r rdf:type B. :Analyst rdfs:subClassOf :Researcher. :Researcher rdfs:subClassOf :Analyst. :Analyst owl:equivalentClass :Researcher. owl:equivalentClass rdfs:subPropertyOf rdfs:subClassOf. owl:equivalentClass rdfs:type owl:SymmetricProperty.

Semantic Web for the Working OntologistDean Allemang, Jim Hendler 4.2. Equivalent Properties 18 owl:equivalentProperty rdfs:subPropertyOf rdfs:subPropertyOf. owl:equivalentProperty rdf:type owl:SymmetricProperty. :borrows rdfs:subPropertyOf :checkedOut. :checkedOut rdfs:subPropertyOf :borrows. :borrows owl:equivalentProperty :checkedOut. :borrows rdfs:subPropertyOf :checkedOut. :checkedOut owl:equivalentProperty :borrows. :checkedOut rdfs:subPropertyOf :borrows.

Semantic Web for the Working OntologistDean Allemang, Jim Hendler 4.3. Same Individuals 19 lit:Shakespeare lit:wrote lit:AsYouLikeIt; lit:wrote lit:HenryV; lit:wrote lit:LovesLaboursLost; lit:wrote lit:MeasureForMeasure; lit:wrote lit:TwelfthNight; lit:wrote lit:WintersTale; lit:wrote lit:Hamlet; lit:wrote lit:Othello. spr:Gulielmus spr:hasFather spr:JohannesShakspere. spr:Susanna spr:hasFather spr:WilliamShakspere. spr:Hamnet spr:hasFather spr:WilliamShakspere. spr:Judeth spr:hasFather spr:WilliamShakspere. {spr:Hamnet spr:hasFather ?d. ?d lit:wrote lit:Hamlet.}

Semantic Web for the Working OntologistDean Allemang, Jim Hendler 4.3. Same Individuals 20 spr:WilliamShakspere owl:sameAs lit:Shakespeare. spr:WilliamShakspere P O.S P spr:WilliamShakespeare. lit:Shakespeare P O.S P lit:Shakespeare. owl:sameAs rdf:type owl:SymmetricProperty. lit:Shakespeare owl:sameAs spr:WilliamShakspere.

Semantic Web for the Working OntologistDean Allemang, Jim Hendler 4.4. Merging Data from Different Databases 21 mfg:Product1 mfg:Product_Manufacture_Location Sacramento. mfg:Product2 mfg:Product_Manufacture_Location Sacramento. mfg:Product3 mfg:Product_Manufacture_Location Sacramento. mfg:Product4 mfg:Product_Manufacture_Location Elizabeth. mfg:Product5 mfg:Product_Manufacture_Location Elizabeth. mfg:Product6 mfg:Product_Manufacture_Location Seoul. mfg:Product7 mfg:Product_Manufacture_Location HongKong. mfg:Product8 mfg:Product_Manufacture_Location Cleveland. mfg:Product9 mfg:Product_Manufacture_Location Cleveland. p:Product1 mfg:Product_Facility “Assembly Center”. p:Product2 mfg:Product_Facility “Assembly Center”. p:Product3 mfg:Product_Facility “Assembly Center”. p:Product4 mfg:Product_Facility “Assembly Center”. p:Product5 mfg:Product_Facility “Factory”. p:Product6 mfg:Product_Facility “Factory”. p:Product7 mfg:Product_Facility “Machine Shop”. p:Product8 mfg:Product_Facility “Machine Shop”. p:Product9 mfg:Product_Facility “Machine Shop”.

Semantic Web for the Working OntologistDean Allemang, Jim Hendler 4.4. Merging Data from Different Databases ■ How can we write a federated query that will cross-reference cities with the facilities that are required for the production that takes place there? ■ The solution relied on the fact that we knew which product from one table matched with which product from another table 22 p:Product1 owl:sameAs mfg:Product4. p:Product2 owl:sameAs mfg:Product6. p:Product4 owl:sameAs mfg:Product3. p:Product5 owl:sameAs mfg:Product1. p:Product7 owl:sameAs mfg:Product5. p:Product8 owl:sameAs mfg:Product8. {?p p:Product_Facility ?facility. ?p mfg:Product_Manufacture_Location ?location.}

Semantic Web for the Working OntologistDean Allemang, Jim Hendler 5.1. Computing Sameness : Functional Properties ■ A function property is one for which there can be just one value e.g., hasMother or hasBirthplace 23 P rdf:type owl:FunctionalProperty X P A. X P B. A owl:sameAs B. lit:Shakespeare fam:hasFather bio:JohannesShakespere. lit:Shakespeare fam:hasFather bio:JohnShakespeare. fam:hasFather rdf:type owl:FunctionalProperty. bio:JohannesShakespere owl:sameAs bio:JohnShakespeare.

Semantic Web for the Working OntologistDean Allemang, Jim Hendler 5.2. Computing Sameness : Inverse Functional Properties ■ An owl:InverseFunctionalProperty plays the role of a key filed in a relational database RDFS-Plus does not signal an error if two entities are found to share a value for an inverse functional property. Instead, it infers that the two entities must be the same 24 P rdf:type owl:InverseFunctionalProperty A P X. B P X. A owl:sameAs B.

Semantic Web for the Working OntologistDean Allemang, Jim Hendler 5.2. Computing Sameness : Inverse Functional Properties ■ How can we infer the appropriate owl:sameAs triples from the data that have already been asserted? 25 mfg:Product_ModelNo rdf:type owl:InverseFunctionalProperty. p:Product_ModelNo owl:equivalentProperty mfg:Product_ModelNo. … p:Product1 owl:sameAs mfg:Product4. p:Product2 owl:sameAs mfg:Product6. p:Product4 owl:sameAs mfg:Product3. p:Product5 owl:sameAs mfg:Product1. p:Product7 owl:sameAs mfg:Product5. p:Product8 owl:sameAs mfg:Product8.

Semantic Web for the Working OntologistDean Allemang, Jim Hendler 5.3. Combining Functional and Inverse Functional Properties ■ Assign identification numbers to students One-to-one property 26 :hasIdentityNo rdfs:domain :Student. :hasIdentityNo rdfs:range xsd:Integer. :hasIdentityNo rdf:type owl:FunctionalProperty. :hasIdentityNo rdf:type owl:InverseFunctionalProperty.

Semantic Web for the Working OntologistDean Allemang, Jim Hendler ■ Functional Only Many-to-one ( hasMother ) ■ Inverse Functional Only One-to-many ( hasDiary ) ■ Both Functional and Inverse Functional One-to-one ( studentID ) 5. Computing Sameness 27 Diary1 Jane Diary2Diary3Diary4 Son1Son2 Daughter1Daughter2 Mother ID1ID2ID3ID4 Student1Student2Student3Student4

Semantic Web for the Working OntologistDean Allemang, Jim Hendler Summary ■ The constructs in RDFS-Plus are a subset of the constructs in OWL Provides considerable flexibility for modeling 28 equivalentClassequivalentPropertysameAsinverseOfTransitivePropertySymmetricPropertyFunctionalPropertyInverseFunctionalPropertyObjectPropertyDatatypeProperty

Thank You