An Example OWL Ontology



Similar documents
Semantic Web OWL. Acknowledgements to Pascal Hitzler, York Sure. Steffen Staab ISWeb Lecture Semantic Web (1)

EUR-Lex 2012 Data Extraction using Web Services

Designing a Semantic Repository

RDF Resource Description Framework

Transformation of OWL Ontology Sources into Data Warehouse

Chapter 2 AN INTRODUCTION TO THE OWL WEB ONTOLOGY LANGUAGE 1. INTRODUCTION. Jeff Heflin Lehigh University

Big Data, Fast Data, Complex Data. Jans Aasman Franz Inc

Defining a benchmark suite for evaluating the import of OWL Lite ontologies

OWL Ontology Translation for the Semantic Web

Semantic Web Languages: RDF vs. SOAP Serialisation

Ampersand and the Semantic Web

Sydney OWL Syntax - towards a Controlled Natural Language Syntax for OWL 1.1

Secure Semantic Web Service Using SAML

Semantic Modeling with RDF. DBTech ExtWorkshop on Database Modeling and Semantic Modeling Lili Aunimo

Information Technology for KM

Ontological Modeling: Part 6

SNOMED-CT

Lift your data hands on session

Getting Started Guide

SPARQL UniProt.RDF. Get these slides! Tutorial plan. Everyone has had some introduction slash knowledge of RDF.

Rules, RIF and RuleML

Object-Process Methodology as a basis for the Visual Semantic Web

Semantic Interoperability

An Ontology-based e-learning System for Network Security

Kant s deontological ethics

Ontologies, Semantic Web and Virtual Enterprises. Marek Obitko Rockwell Automation Research Center, Prague, Czech Republic 1

Detecting Inconsistencies in Requirements Engineering

RDF Support in Oracle Oracle USA Inc.

A Framework for Collaborative Project Planning Using Semantic Web Technology

RDF Dataset Management Framework for Data.go.th

Characterizing Knowledge on the Semantic Web with Watson

II. PREVIOUS RELATED WORK

Open Source egovernment Reference Architecture Osera.modeldriven.org. Copyright 2006 Data Access Technologies, Inc. Slide 1

From relational databases to linked data:r for the semantic web. Jose Quesada, Max Planck Institute, Berlin

OWL based XML Data Integration

powl Features and Usage Overview

Formalization of the CRM: Initial Thoughts

Paraphrasing controlled English texts

Linked Data Interface, Semantics and a T-Box Triple Store for Microsoft SharePoint

Explorer's Guide to the Semantic Web

Use of the CIM Ontology

THE SEMANTIC WEB AND IT`S APPLICATIONS

A generic approach for data integration using RDF, OWL and XML

SEMANTIC WEB BASED INFERENCE MODEL FOR LARGE SCALE ONTOLOGIES FROM BIG DATA

Semantic Stored Procedures Programming Environment and performance analysis

A Review and Comparison of Rule Languages and Rule-based Inference Engines for the Semantic Web

ARC: appmosphere RDF Classes for PHP Developers

SPARQL: Un Lenguaje de Consulta para la Web

Introduction to ontologies and tools; some examples

LINKED DATA EXPERIENCE AT MACMILLAN Building discovery services for scientific and scholarly content on top of a semantic data model

The Semantic Web for Application Developers. Oracle New England Development Center Zhe Wu, Ph.D. 1

Layering the Semantic Web: Problems and Directions

Supporting Rule System Interoperability on the Semantic Web with SWRL

Graph-Based Linking and Visualization for Legislation Documents (GLVD) Dincer Gultemen & Tom van Engers

Encoding Library of Congress Subject Headings in SKOS: Authority Control for the Semantic Web

Grids, Logs, and the Resource Description Framework

A terminology model approach for defining and managing statistical metadata

Combining SAWSDL, OWL DL and UDDI for Semantically Enhanced Web Service Discovery

Joint Steering Committee for Development of RDA

I. INTRODUCTION NOESIS ONTOLOGIES SEMANTICS AND ANNOTATION

Systems Engineering Tools Integration and Interoperability using OSLC in the SPRINT project

The Semantic Web Rule Language. Martin O Connor Stanford Center for Biomedical Informatics Research, Stanford University

OSLC Primer Learning the concepts of OSLC

Chapter 1: Introduction

Appendix B Data Quality Dimensions

Annotea and Semantic Web Supported Collaboration

Semantic Web Technologies and Data Management

Discussion: XML and the Semantic Web

Semantic Web based e-learning System for Sports Domain

DATA INTEGRATION CS561-SPRING 2012 WPI, MOHAMED ELTABAKH

DDI Lifecycle: Moving Forward Status of the Development of DDI 4. Joachim Wackerow Technical Committee, DDI Alliance

The Entity-Relationship Model

An Efficient and Scalable Management of Ontology

OWL: Path to Massive Deployment. Dean Allemang Chief Scien0st, TopQuadrant Inc.

Transcription:

An Example OWL Ontology

A small OWL ontology to demonstrate the syntaxes of OWL to demonstrate how to use OWL to demonstrate the utility of OWL to demonstrate reasoning in OWL 1

Three Variants of OWL OWL Full an extension of RDF allows for classes as instances, modification of RDF and OWL vocabularies OWL DL the part of OWL Full that fits in the Description Logic framework known to have decidable reasoning OWL Lite a subset of OWL DL easier for frame-based tools to transition to easier reasoning 2

Two Syntaxes for OWL RDF/XML documents http://www.cs.man/ac/uk/ horrocks/iswc2003/tutorial/people+pets.owl.rdf so that OWL is part of the Semantic Web so that OWL can be an extension of RDF so that RDF applications can parse OWL abstract syntax http://www.cs.man/ac/uk/ horrocks/iswc2003/tutorial/people+pets.abs easier to read and write manually corresponds more closely to Description Logics and Frames 3

Living in the Semantic Web and World Wide Web names in OWL are RDF URI references e.g., http://cohse.semanticweb.org/ontologies/people#pet often (informally) abbreviated via XML qualified names e.g., pp:pet data items belong to XML Schema datatypes e.g., XML Schema integers and strings generally written in RDF/XML form e.g., 7 8sd:integer, Susan 8sd:string 4

How is OWL Used 1. build an ontology create the ontology name classes and provide information about them name properties and provide information about them (would be slightly inaccurate to say define here) 2. state facts about a domain provide information about individuals 3. reason about ontologies and facts determine consequences of what was built and stated 5

Creating Ontologies information in OWL is generally in an ontology ontology a branch of metaphysics concerned with the nature and relations of being [Merriam-Webster Dictionary] an ontology determines what is of interest in a domain and how information about it is structured an OWL ontology is just a collection of information, generally mostly information about classes and properties Ontology([name]...) ontologies can include (import) information from other ontologies Ontology([name] owl:imports(<name>)...) 6

Classes What is a Class? e.g., person, pet, old a collection of individuals (object, things,... ) a way of describing part of the world an object in the world (OWL Full) 7

Example Classes Class(pp:animal partial restriction(pp:eats somevaluesfrom(owl:thing))) Class(pp:person partial pp:animal) Class(pp:man complete intersectionof(pp:person pp:male pp:adult)) Class(pp:animal+lover complete intersectionof(pp:person restriction(pp:has_pet mincardinality(3)))) 8

Example Classes Class(pp:vegetarian complete intersectionof(pp:animal restriction(pp:eats allvaluesfrom(complementof(pp:animal))) restriction(pp:eats allvaluesfrom( complementof(restriction(pp:part_of somevaluesfrom(pp:animal))))))) DisjointClasses(pp:young pp:adult) 9

Properties What is a Property? e.g., has father, has pet, service number a collection of relationships between individuals (and data) a way of describing a kind of relationship between individuals an object in the world (OWL Full) 10

Example Properties ObjectProperty(pp:eaten_by) ObjectProperty(pp:eats inverseof(pp:eaten_by) domain(pp:animal)) ObjectProperty(pp:has_pet domain(pp:person) range(pp:animal)) ObjectProperty(pp:is_pet_of inverseof(pp:has_pet)) DataProperty(pp:service_number range(xsd:integer)) SubPropertyOf(pp:has_pet pp:likes) 11

Individuals objects in the world belong to classes are related to other objects and to data values via properties 12

Example Individuals Individual(pp:Tom type(owl:thing)) Individual(pp:Dewey type(pp:duck)) Individual(pp:Rex type(pp:dog) value(pp:is_pet_of pp:mick)) Individual(pp:Mick type(pp:male) value(pp:reads pp:daily+mirror) value(pp:drives pp:q123+abc)) Individual(pp:The42 type(pp:bus) value(pp:service_number "42"ˆˆxsd:integer)) 13

The OWL View of Life OWL is not like a database system no requirement that the only properties of an individual are those mentioned in a class it belongs to no assumption that everything is known How many pets does Mick have? (Answer: at least one) classes and properties can have multiple definitions statements about individuals need not be together in a document 14

Using OWL (Building Ontologies) determine how the world (domain) should work determine the classes and properties in the domain determine domains and ranges for properties determine characteristics of classes add individuals and relationships as necessary some individuals belong here iterate until good enough package all this into an ontology hope that someone else has done most of the work just import all that work build the OWL ontology ask whether the ontology is consistent ask whether the classes are coherent 15

Using OWL (for a Particular Task) populate the world (for a particular task) determine the individuals needed for the task determine the relationships between individuals often this will be easy information already in some database, etc. write the information in OWL ask whether the information is consistent ask whether other information is entailed 16

What Follows in the Example Ontology Class(pp:old+lady complete intersectionof(pp:elderly pp:female pp:person)) Class(pp:old+lady partial intersectionof( restriction(pp:has_pet allvaluesfrom(pp:cat)) restriction(pp:has_pet somevaluesfrom(pp:animal)))) Every old lady must have a pet cat. (Because she must have some pet and all her pets must be cats.) 17

What Follows in the Example Ontology Class(pp:cow partial pp:vegetarian) Class(pp:mad+cow complete intersectionof(pp:cow restriction(pp:eats somevaluesfrom(intersectionof(pp:brain restriction(pp:part_of somevaluesfrom pp:sheep)))))) There can be no mad cows. (Because cows, as vegetarians, don t eat anything that is a part of an animal.) 18

What Follows in the Example Ontology ObjectProperty(pp:has_pet domain(pp:person) range(pp:animal)) Class(pp:old+lady complete intersectionof(pp:elderly pp:female pp:person)) Class(pp:old+lady partial intersectionof(restriction(pp:has_pet allvaluesfrom(pp:cat)) restriction(pp:has_pet somevaluesfrom(pp:animal)))) Individual(pp:Minnie type(pp:elderly) type(pp:female) value(pp:has_pet pp:tom)) Minnie must be a person (because pet owners are human) and thus is an old lady. Thus Tom must be a cat (because all pets of old ladies are cats). 19

What Follows in the Example Ontology (extended) Class(pp:animal+lover complete intersectionof(pp:person restriction(pp:has_pet mincardinality(3)))) Individual(pp:Walt type(pp:person) value(pp:has_pet pp:huey) value(pp:has_pet pp:louie) value(pp:has_pet pp:dewey)) DifferentIndividuals(pp:Huey pp:louie pp:dewey) Walt must be an animal lover. Note that stating that Walt is a person is redundant. 20

What Follows in the Example Ontology Class(pp:van partial pp:vehicle) Class(pp:driver partial pp:adult) Class(pp:driver complete intersectionof(restriction(pp:drives somevaluesfrom(pp:vehicle)) pp:person)) Class(pp:white+van+man complete intersectionof(pp:man restriction(pp:drives somevaluesfrom(intersectionof(pp:white+thing pp:van))))) Class(pp:white+van+man partial restriction(pp:reads allvaluesfrom pp:tabloid)) 21

What Follows in the Example Ontology Individual(pp:Q123+ABC type(pp:white+thing) type(pp:van)) Individual(pp:Mick type(pp:male) value(pp:reads pp:daily+mirror) value(pp:drives pp:q123+abc)) Mick drives a white van, so he must be an adult (because all drivers are adults). As Mick is male, thus he is a white van man, so any paper he reads must be a tabloid, thus the Daily Mirror is a tabloid. 22

Can All This Really be Done? quite a bit is going on here reasoning in OWL is difficult next part of tutorial 23