OWL Representing Information Using the Web Ontology Language.

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.
Chapter 8: Web Ontology Language (OWL) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
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.
Chapter 4 Web Ontology Language: OWL
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.
인공지능 특강 프로젝트 - 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Çİ.
Chapter 6 Understanding Each Other CSE 431 – Intelligent Agents.
Chapter 4 Web Ontology Language: OWL Grigoris Antoniou Frank van Harmelen Augmented by Boontawee Suntisrivaraporn,
OWL: Web Ontology Language
1 CSIT600f: Introduction to Semantic Web OWL Dickson K.W. Chiu PhD, SMIEEE Text: Antoniou & van Harmelen: A Semantic Web PrimerA Semantic Web Primer (Chapter.
Logics for Data and Knowledge Representation
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
1 Representing Data with XML September 27, 2005 Shawn Henry with slides from Neal Arthorne.
OWL and SDD Dave Thau University of Kansas
Logics for Data and Knowledge Representation
RDF and OWL Developing Semantic Web Services by H. Peter Alesso and Craig F. Smith CMPT 455/826 - Week 6, Day Sept-Dec 2009 – w6d21.
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.
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.
Chapter 9. 9 RDFS (RDF Schema) RDFS Part of the Ontological Primitive layer Adds features to RDF Provides standard vocabulary for describing concepts.
The Knowledge Presentation Language. Web Ontology Language (OWL)  Web Ontology Language (OWL) extends RDF and RDFS languages by adding several other.
OWL Representing Information Using the Web Ontology Language 1.
Michael Eckert1CS590SW: Web Ontology Language (OWL) Web Ontology Language (OWL) CS590SW: Semantic Web (Winter Quarter 2003) Presentation: Michael Eckert.
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.
Advanced topics in software engineering (Semantic web)
RDF, OWL, SPARQL and the Semantic Wed ACCU 2009 Seb Rose.
Mapping Guide Mapping Ontologies and Data Sets in RDF/RDFS/OWL2 Michel Böhms.
1 Artificial Intelligence Applications Institute Centre for Intelligent Systems and their Applications Stuart Aitken Artificial Intelligence Applications.
Artificial Intelligence 2004 Ontology
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:
19 Dec revd CmpE 583 Fall 2006 OWL Lite- Classes & Individuals. 1 OWL Lite: Ch. 14- Deriving Classes Ch. 15- Individuals Atilla ELÇİ.
6 Dec Rev. 14 Dec CmpE 583 Fall 2008OWL Intro 1 OWL Intro Notes off Lacy Ch. 4 Atilla Elçi.
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.
Practical RDF Chapter 12. Ontologies: RDF Business Models Shelley Powers, O’Reilly SNU IDB Lab. Taikyoung Kim.
ONTOLOGY ENGINEERING Lab #2 – September 8,
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
Chapter 4 Web Ontology Language: OWL Grigoris Antoniou Frank van Harmelen Augmented by Boontawee Suntisrivaraporn,
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.
ΑΝΑΠΑΡΑΣΤΑΣΗ ΓΝΩΣΗΣ ΣΤΟΝ ΠΑΓΚΟΣΜΙΟ ΙΣΤΟ OWL. RDF-RDFS Limitations Binary ground predicates Only subclass & subproperty hierarchy Domain and range definitions.
OWL Web Ontology Language Summary IHan HSIAO (Sharon)
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 4 OWL Based on slides from Grigoris Antoniou and Frank van Harmelen.
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
Web Ontology Language (OWL)
Chapter 6 Understanding Each Other
Model-Driven Ontology Engineering
Ontology.
Web Ontology Language: OWL
ece 720 intelligent web: ontology and beyond
Web Ontology Language: OWL
Linking Guide Michel Böhms.
Service-Oriented Computing: Semantics, Processes, Agents
ece 720 intelligent web: ontology and beyond
Presentation transcript:

OWL Representing Information Using the Web Ontology Language

Section 4

Chapter 17: OWL DL ▫OWL DL dialect, restrictions, remaining OWL constructs Chapter 18: OWL Full ▫Elimination of all restrictions Chapter 19: OWL Dialect Selection ▫How to select the appropriate dialect Chapter 20: Applications ▫Provides use case for Semantic Web enabled application

Chapter 17

17 OWL DL OWL DL ▫DL: Description Logics  Information representation technique with well-defined semantics supporting inferencing ▫Contains all OWL vocabulary ▫Has fewer restrictions than OWL Lite  Restrictions ensure decidability Chapter covers ▫OWL DL ▫Complex classes ▫Required property values ▫Enumerated data values

17.1 OWL DL Restrictions ConstructRestrictions owl:cardinalityCannot be used on a owl:TransitiveProperty owl:TransitivePropertyCannot have an owl:cardinality constraint nor be functional owl:inverseOfCannot be specified for datatype properties owl:InverseFunctionalProperty owl:SymmetricProperty owl:TransitiveProperty owl:ObjectPropertyMust be disjoint from datatype properties owl:DatatypePropertyMust be disjoint from object properties Cannot be inverse functional owl:AnnotationPropertyAll annotations must subclass this class and cannot be used in property axioms ConstructRestrictions owl:importsCannot import an OWL Full ontology owl:sameAsMust reference a named individual owl:differentFrom owl:ClassCannot be individuals of other classes Class URIrefMust be stated to be a class (type separation) Property URIrefMust be stated to be a property (type separation) Individual URIrefMust belong to a class (type separation) rdf:PropertyMust be one of “owl:ObjectProperty”, “owl:DatatypeProperty”, “owl:AnnotationProperty”, or “owl:Ontology Property” Most important restriction: Type separation (classes, properties, and individuals are disjoint)

OWL DL Vocabulary CategoryConstructFeature Class expression owl:oneOfEnumerated classes owl:disjointWithRelating classes owl:unionOf Boolean combination owl:complementOf Enumerated valuesowl:dataRangeEnumerated values Property restrictionsowl:hasValueFiller information CategoryConstructFeature Class expressions owl:equivalentClassCan be applied to class expressions rdfs:subClassOf owl:intersectionOfBoolean combination Cardinality owl:minCardinality Arbitrary values owl:maxCardinality owl:cardinality Additional Constructs in OWL DLConstructs less restricted in OWL DL

Complex classes ▫Composed of class expressions  Analogous to math expression  Constructed of atomic symbols and anonymous classes in allowed patterns  Describe membership criteria Classes described by ▫Class names (URIrefs) ▫Enumerations ▫Property restrictions ▫Boolean combinations of class expressions 17.2 Complex Classes & Expressions

Enumerated Classes An enumeration is a predefined set of individuals owl:oneOf property ▫Exhaustively specifies member individuals known a priori in advance ▫Closed list; items cannot be added, so list should be very stable ▫Reasoners infer maxCardinality from count of members ▫Domain: instance of owl:Class; Range: instance of owl:List Syntax ▫ Example ▫

Disjoint Classes owl:disjointWith property ▫Asserts that 2 classes have no individuals in common  Instances of a class cannot be members of both classes ▫Symmetric ▫Classes can be disjoint with multiple classes ▫Every class is disjoint with owl:Nothing ▫Domain & Range: instance of owl:Class Syntax ▫ Example ▫ </owl:Class

Boolean Class Combinations Class extensions are sets OWL DL supplies Boolean properties ▫owl:intersectionOf ▫owl:unionOf ▫owl:complementOf

Intersection Property owl:intersectionOf property ▫OWL Lite restrictions removed ▫Can be used to define a class  Includes individuals common to all identified classes ▫Equivalent to AND operation in logic ▫Domain: instance of owl:Class ▫Range: instance of rdf:List Example ▫

Union Property owl:unionOf property ▫Defines a class  Includes individuals in any specified class (one or more) ▫Equivalent to OR operation in logic ▫Domain: instance of owl:Class ▫Range: instance of rdf:List Example ▫

Complement Property owl:complementOf property ▫Defines a disjoint class  All individuals who are not in the specified class ▫Equivalent to negation operation in logic ▫Usually used with intersectionOf ▫Domain & Range: instance of owl:Class Example: ▫

Set Operator Summary OperatorLogical Effect Resulting Class Contains ANDIndividuals in each specified class ORIndividuals in at least 1 of the specified classes NOTIndividuals not in the specified class

17.3 Requiring a Property Value owl:hasValue property ▫Local restriction that specifies that  Objects must have identified property  Property must have specified value  Can also have other values for the same property ▫Can use to define classes based on property values ▫Domain: instance of owl:Restriction Example ▫

17.4 Enumerated Data Values owl:DataRange class ▫Specified with owl:oneOf and rdf:Lists ▫Like enumerated classes, but lists of values instead Example ▫ No Yes

17.5 OWL DL Summary OWL DL ▫Restricted form of OWL Full  Contains all constructs of OWL Full ▫Extends OWL Lite by adding  Class expressions  Property value requirements  Enumerated data values

Chapter 18

18 OWL Full OWL Full ▫Complete specification of the OWL lanugage ▫Extension of RDF ▫Logical Layer ▫Allows developer to say anything about anything ▫Unrestricted use of RDFS ▫Superset of RDF and RDFS

18.1 OWL Full’s Differing Perspective OWL Full ▫Supports all OWL constructs ▫Relaxes all restrictions on OWL DL (17.1)

Type Separation No strict separation of classes, properties, individuals and data values ▫Classes can be treated as objects ▫Objects can be treated as classes ▫Etc.

Individuals In OWL Full, rdfs:Resource is equivalent to owl:Thing ▫Therefore all data values are individuals

Classes as Individuals A resource can be considered both ▫A class of individuals and ▫An individual of some other class Class can be a member of its own extension! In OWL Full, owl:Class is equivalent to rdfs:Class ▫In OWL DL & OWL Lite, owl:Class is a subclass of rdfs:Class

Properties In OWL Full, owl:ObjectProperty and rdf:Property are equivalent Object and datatype properties do not have to be disjoint owl:DatatypeProperty can be owl:InverseFunctionalProperty rdfs:domain & rdfs:range can have descriptions as values Annotation properties can be used anywhere; no need for owl:AnnotationProperty class

Property Restrictions OWL Full has owl:hasValue (same as OWL DL), but relaxes restrictions on XMLS datatypes

18.2 OWL Full Summary OWL Full ▫Complete, unrestricted species of OWL ▫Most expressive ▫No restrictions ▫Cost: decidability  Inference engines probably will never support all of OWL Full

Chapter 19

19.1 Choosing Your Weapon Select dialect that ▫Sufficient to meet requirements ▫Most restrictive ▫Most widely supported OWL Lite is usually best, if possible ▫OWL Lite is valid OWL DL and valid OWL Full Use OWL DL if you need its advantages ▫Fewer restrictions, better support cardinality, etc. OWL Full is the last resort ▫Use only if you need its expressive power

19.2 Migrating XML & RDF to OWL Existing RDF is only guaranteed to be valid in the OWL Full dialect ▫E.g., for OWL Lite & DL, URIrefs of classes, properties, & individuals must be explicitly typed Full list of restrictions in App. E of OWL Ref ▫ XML files should be migrated to RDF/XML first

19.3 Language Selection Summary Need decidability and computability? ▫OWL DL or OWL Lite Need all OWL constructs? ▫OWL DL or OWL Full Don’t need the kitchen sink? ▫OWL DL RequirementRecommendation Simple taxonomical relationships OWL Lite DecidabilityOWL DL or OWL Lite All OWL constructsOWL DL or OWL Full Maximum expressivityOWL Full

19.4 Satisfaction of Information Representation (IR) Requirements Building BlockOWL Support Description Class The OWL class construct represents a group or set of individual objects with similar characteristics. Subclass relationships support the definition of a subsumption hierarchy. Accomplished through rdfs:Class and owl:Class Property The RDF property construct associated attribute/value pairs with individuals. OWL datatype properties and object properties refine RDF’s property concept. Properties can be characterized as symmetric, transitive, functional, or inverse functional. They can be related through inverse and subproperty relationships. Accomplished through rdf:Property and subclasses owl:ObjectProperty, owl:DatatypeProperty, owl:AnnotationProperty, owl:OntologyProperty Individual Instances of user-defined classes are defined as RDF resources associated with classes. Accomplished through resources with rdf:type of user-defined classes

19.4 Satisfaction of IR Req’ts cont’d RelationshipOWL Support Concepts Relates classes to properties Restrictions (e.g. rdfs:domain, rdfs:range, owl:Restriction Relates classes to individuals Membership (instantiating individuals from classes using rdf:type and owl:Class) Relates properties to individuals Property values (implemented as XML elements and values) RelationshipOWL Support Constructs Synonymy owl:equivalentClass owl:equivalentProperty owl:sameAs Antonymy disjoint classes owl:differentFrom owl:AllDifferent/ owl:distinctMembers Hyponymy rdfs:subClassOf rdfs:subPropertyOf Meronymy Holonymy (user-defined properties)

19.4 Satisfaction of IR Req’ts cont’d Information Representation RequirementSatisfied By Producer descriptions of particular domainsontologies Distributed representations that can be extendedURIs, web-distributed ontologies imported with owl:imports, XML namespaces Extending resourcesrdf:about Work with current development toolsXML syntax, RDF structure Versioning and configuration managementowl:versionInfo property, deprecated classes and properties, compatibility properties Semantic join support and synonymyowl:sameAs, owl:equivalentProperty, owl:equivalentClass Modeling primitivesclasses, properties, individuals Leverage open, non-proprietary standardsXML, RDF(S), URIs

19.5 OWL Dialect Selection Summary DialectAdvantagesDisadvantages OWL LiteEasy software supportLimited expressiveness OWL DLDecidableRestricted OWL FullVery expressiveNot decidable

Chapter 20

20 OWL Applications Applications ▫Implementation layer ▫Composed of  Software  Ontologies  Instance files OWL designed for the web, but works fine in a stand-alone application Multiple uses for OWL with distributed ontologies and instance files

20.1 Application Example Mark wants to find an open restaurant that serves Key lime pie Possible solution ▫Mark enters search request on concierge web service provided by restaurant association ▫Web service extracts menu & hours of operation data published on restaurant websites in format compliant with restaurant ontology ▫Web service inferences & searches data ▫Results returned to Mark’s browser

OWL Lite Solution Need to develop ▫“Restaurant association” ontology ▫Instance data for restaurants (i.e. Knight Owl) Solution to be developed in OWL Lite

Ontologies Key classes ▫HoursOfOperation class  Related by hasDailyHours property to ▫DailyHours class  Related by openOn and closedOn properties to Hours of operation data to be stored in an RDF/XML instance file compliant with Hours Of Operation (HOO) ontology Restaurant class shown but not used in this demo

Ontologies cont’d <!DOCTYPE rdf:RDF[ ]> <rdf:RDF xmlns:xsd=" xmlns:rdf=" xmlns:rdfs=" xmlns:owl=" xmlns =" xml:base=" > Hours of Operation Ontology This ontology is used an example for various OWL constructs $Id: hoursOfOperation-ont.owl,v /11/02 12:34:56

Ontologies cont’d Daily Hours represents a set of opening hours for specified days of the week

Ontologies cont’d Sunday

Ontologies cont’d Monday Tuesday Wednesday Thursday Friday Saturday

Hours of Operation Individuals Knight Owl Restaurant hosts its Hours of Operation information on its webserver ▫Instance file imports & complies with restaurant association’s Hours of Operation Ontology Example Hours of Operation ▫“Effective 4/1/2004, Knight Owl’s hours are:”  Sunday Closed  Monday through Friday, 9am to 8pm  Saturday 9:30am to 9pm Assumptions ▫Restaurant association provides web service to search menus & hours ▫Association maintains registry of participating restaurant’s instance files

Hours of Operation cont’d <!DOCTYPE rdf:RDF[ <!ENTITY hoo " ]> <rdf:RDF xmlns:xsd=" xmlns:rdf=" xmlns:rdfs=" xmlns:owl=" xmlns:hoo=" xmlns =" xml:base=" > Hours of Operation Information for Knight Owl Restaurant This contains the hours of operation for the Knight Owl $Id: hours.rdf,v /11/02 12:34:56

Hours of Operation cont’d 09:00: :00: :30: :00:00+8

Hours of Operation cont’d

20.2 Supporting Applications The purpose of representing information in OWL is to support application functionality. By providing a consistent method for representing information and explicitly providing semantics, new and exciting Semantic Web applications will emerge OWL must be used correctly & consistently

Inappropriate Applications OWL ▫Suffers from many of the same challenges as XML ▫Relatively new  Not a large base of software tools  Not a large workforce conversant with OWL ▫Possible performance issues due to verbosity of RDF/XML ▫Reasoning hard to scale; rules somewhat limited ▫Only works with textual data, not binary

Appropriate Applications Appropriate OWL applications leverage OWL’s strengths OWL well-suited for applications like ▫Providing information on servers for software and human consumption ▫Well-defined object-oriented domains that can be easily described with text (taxonomical) Evaluate each potential application

20.3 Applications Summary Ultimately, OWL’s success will hinge on the benefits of OWL-based applications There are appropriate and inappropriate uses ▫Each situation must be analyzed separately Still waiting for the “killer app” for the Semantic Web