Presentation is loading. Please wait.

Presentation is loading. Please wait.

Internet Technologies An Introduction to Ontologies in OWL Bibliography The OWL Guide The OWL Overview Description Logic slides from Enrico Franconi Artificial.

Similar presentations


Presentation on theme: "Internet Technologies An Introduction to Ontologies in OWL Bibliography The OWL Guide The OWL Overview Description Logic slides from Enrico Franconi Artificial."— Presentation transcript:

1 Internet Technologies An Introduction to Ontologies in OWL Bibliography The OWL Guide The OWL Overview Description Logic slides from Enrico Franconi Artificial Intelligence A Modern Approach by Russel and Nordig

2 Internet Technologies What is an Ontology? A representation of terms and their interrelationships (OWL Overview) A formal conceptualization of the world Smart data

3 Internet Technologies Ontology Languages Typically introduce concepts, properties, relationships between concepts and constraints May be expressed with diagrams ER Diagrams and UML Class Diagrams are ontology languages OWL (The Web Ontology Language) is expressed in XML OWL is a distributed ontology language

4 Internet Technologies The OWL Language February 10, 2004 OWL and RDF become W3C Recommendations See Jena from Hewlett-Packard Research for an existing Java API See Protégé-2000 at Stanford University for an existing OWL editor Big names in the space include Jim Hendler, and

5 Internet Technologies From the W3C

6 Internet Technologies The three sublanguages of OWL OWL Lite OWL DL (Description Logic) OWL Full (Allows classes as instances) As we move from OWL Lite to OWL full we increase expressiveness and logical complexity.

7 Internet Technologies OWL Lite A Class is a set of individuals The class Thing is the superclass of all OWL classes The class Nothing is a subclass of all OWL classes and has no individuals members Classes may be defined as subClasses of other classes

8 Internet Technologies Three classes that subclass Thing These terms may be referred to from within this Document by ‘#Winery’,’ #Region’ and ‘#ConsumableThing’. Other ontologies may refer to these terms with ‘SomeURI#Winery’, ‘SomeURI#Region’ and so on.

9 Internet Technologies Class Hierarchies built with subClassOf … … Deduction: If x is a PotableLiquid then x is a ConsumableThing

10 Internet Technologies Wine and Pasta … <owl:Class rdf:ID = “Pasta” … Deduction: If x is Pasta then x is a ConsumableThing

11 Internet Technologies SweetFruit and NonSweetFruit <rdfs:subClassOf rdf:resource=“#EdibleThing”/> <rdfs:subClassOf rdf:resource=“#EdibleThing”/> …

12 Internet Technologies Defining Individuals Is identical to

13 Internet Technologies Another individual Deduction: CabernetSauvignon is a SweetFruit

14 So far we have… Thing WineryRegion ConsumableThing PotableLiquid EdibleThing SweetFruitNonSweetFruitPasta Grape WineGrape CabernetSauvignonGrape CentralCoastalRegion Wine

15 Internet Technologies So far we have … Classes Individuals We now need properties to state facts about classes and facts about individuals

16 Internet Technologies Properties Properties are binary relations A binary relation R from a set X to a set Y is a subset of the Cartesian product X x Y. If (x,y) ε R, we write xRy and say x is related to y.

17 Internet Technologies Binary Relations Suppose the set X has members {a,b} and the set Y has members {c,d,e}. XxY = {(a,c),(a,d),(a,e),(b,c),(b,d),(b,e)} Let R = {(a,c),(b,e)} Since (a,c) ε R and (b,e) ε R we write aRc and bRe. Notice that a binary relation is a set of ordered pairs.

18 Internet Technologies The set {x ε X | (x,y) ε R for some y ε Y} is called the domain of R. The domain of R = {(a,c),(b,e)} is {a,b}. The set {y ε Y | (x,y) ε R for some x ε X} is called the range of R. The range of R = {(a,c),(b,e)} is {c,e}. Domain and Range

19 Internet Technologies Properties R is Transitive if and only if xRy and yRz imply xRz locateIn is transitive in the wine ontology R is Symmetric if and only if xRy iff yRx adjacentTo is symmetric in the wine ontology

20 Internet Technologies Properties R is Functional if and only if xRy and xRz implies y = z hasVintageYear is functional in the wine ontology R 1 and R 2 are Inverse Properties if and only if xR 1 y iff yR 2 x hasMaker and producesWine are inverse relations in the wine ontology

21 Internet Technologies OWL’s Property Hierarchy Thing is a superset of Property Property is a superset of ObjectProperty Property is a superset of DataProperty An ObjectProperty associates a class instance with another class instance. A DataProperty associates a class instance with a datatype value

22 Internet Technologies OWL’s Property Hierarchy Example Thing Mammal Person Mike Sue ObjectProperty DataProperty Property hasRelative hasSibling (Mike,Sue) hasAge (Mike,23) Indentation shows subset relationships. Set elements are marked with dots.

23 Internet Technologies OWL Property Syntax <rdfs:domain rdf:resource=“OWLURI#Thing”/> <rdfs:range rdf:resource=“#Region”/> “OWLURI” will actually appear as the official OWL URI.

24 Internet Technologies Adding pairs to locatedIn <CabernetSauvignon rdf:ID= “SantaCruzMountainVinyardCabernetSauvignon”> …

25 Internet Technologies locatedIn locatedIn is defined as a set of ordered pairs. Each pair must contain an owl:Thing (maybe a Region) followed by value from the set Region. For example: locatedIn = {(SantaCruzMountainsRegion, CaliforniaRegion), (SantaCruzMountainVinyardCabernetSauvignon, SantaCruzMountainsRegion)…} A deduction like the following is not yet possible… The Thing SantaCruzMountainVinyardCabernetSauvignon is locatedIn CaliforniaRegion

26 Internet Technologies locatedIn is Transitive <rdfs:domain rdf:resource=“OWLURI#Thing”/> <rdfs:range rdf:resource=“#Region”/> A deduction like the following is now possible… The Thing SantaCruzMountainVinyardCabernetSauvignon is locatedIn CaliforniaRegion

27 Internet Technologies Given the madeFromGrape property madeFromGrape (#Wine,#WineGrape)

28 Internet Technologies And… We can deduce that LindemansBin65Chardonnay is a Wine.

29 Internet Technologies Given a Property… …

30 Internet Technologies We can define a subproperty … hasWineDescriptor (#Wine,#WineDescriptor) (#Wine,#WineColor)

31 Internet Technologies And make it functional. … hasWineDescriptor (#Wine,#WineDescriptor) (#Wine,#WineColor) Now, for each Wine, there can be at most one WineColor.

32 Internet Technologies <owl:minCardinality rdf:datatype= “&xsd;nonNegativeInteger”>1 … Anonymous Classes So, those Things that are in the PotableLiquid set that are also in the set of things made from at least one grape are Wines. If we know that x is a Wine then we know it has at least one madeFromGrape property defined.

33 Internet Technologies A Wine Individual <CabernetSauvignon rdf:ID= “SantaCruzMountainVinyardCabernetSauvignon”> : This says nothing about what grape it’s made from. To find that out we must look to the class CabernetSauvignon. There we learn all wines of this variety are madeFromGrape CabernetSauvignon. So, individuals inherit properties and property values from their class.

34 Internet Technologies What does this mean? <owl:minCardinality rdf:datatype= "&xsd;nonNegativeInteger"> 1

35 Internet Technologies And this?

36 Internet Technologies How about this one? <owl:sameIndividualAs rdf:resource= "http://www.student.org#Daniela_de_Senna_Eyng_Renuncio"/>


Download ppt "Internet Technologies An Introduction to Ontologies in OWL Bibliography The OWL Guide The OWL Overview Description Logic slides from Enrico Franconi Artificial."

Similar presentations


Ads by Google