Based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester A Practical Introduction to Ontologies & OWL Session 3: Additional.

Slides:



Advertisements
Similar presentations
29/11/2004CS646: N. Drummond, M. Horridge1 Presented by the CO-ODE and HyOntUse projects Funded by CS646: OWL Tutorial (session 2)
Advertisements

SOTIRIS BATSAKIS EURIPIDES G.M. PETRAKIS TECHNICAL UNIVERSITY OF CRETE INTELLIGENT SYSTEMS LABORATORY Imposing Restrictions Over Temporal Properties in.
29/11/2004CS646: N. Drummond, M. Horridge1 Presented by the CO-ODE and HyOntUse projects Funded by CS646: OWL Tutorial (session 1)
Developing OWL Ontologies with Protégé 4
Chronos: A Tool for Handling Temporal Ontologies in Protégé
An Introduction to RDF(S) and a Quick Tour of OWL
“Elephant Traps” Alan Rector with The Bio Health Informatics Group The CO-ODE Team University of Manchester With acknowledgements to Natsha Noy and the.
1 OWL Pizzas: Practical Experience of Teaching OWL-DL: Common Errors & Common Patterns Alan Rector 1, Nick Drummond 1, Matthew Horridge 1, Jeremy Rogers.
Protege Tutorial Based on ProtegeOWLTutorial at protege website.
Protege Tutorial Based on ProtegeOWLTutorial at protege website.
Tutorial Le Phuoc Son Hoang Huu Hanh Hue University.
Of 27 lecture 7: owl - introduction. of 27 ece 627, winter ‘132 OWL a glimpse OWL – Web Ontology Language describes classes, properties and relations.
Protégé Classes, Properties and Instances Susana R. de Novoa UNIK4710.
USCISIUSCISI Frequently Asked Questions Why Don’t Instances Get Recognized? Use of “:all” Use of “:for-all” Compiling Loom Code Combining Number Restrictions.
1 CSC 9010 Spring, Paula MatuszekSome slides taken from
CS 106 Introduction to Computer Science I 04 / 11 / 2008 Instructor: Michael Eckmann.
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.
The Semantic Web Week 15 Reasoning with (and Visualising) Ontologies Module Website: Practical :Protégé-2000 WITH.
The Semantic Web Week 14 Module Website: Lecture (SHORT): OWL PIZZAS Practical (LONGER): Getting to know Protégé-2000.
Logic In Part 2 Modules 1 through 5, our topic is symbolic logic. We will be studying the basic elements and forms that provide the structural foundations.
DAML+OIL Ontology Tutorial Chris Wroe, Robert Stevens (Sean Bechhofer, Carole Goble, Alan Rector, Ian Horrocks….) University of Manchester.
Introduction While it may not be efficient to write out the justification for each step when solving equations, it is important to remember that the properties.
13 Dec. 2006CmpE 583 Fall 2006 OWL Lite- Property Char’s. 1 OWL Lite: Ch. 13- Property Characteristics Atilla ELÇİ.
1 MASWS Multi-Agent Semantic Web Systems: OWL Stephen Potter, CISA, School of Informatics, University of Edinburgh, Edinburgh, UK.
Protege OWL Plugin Short Tutorial. OWL Usage The world wide web is a natural application area of ontologies, because ontologies could be used to describe.
1 Making OWL Easier: Practical Ontology Development in using Protégé-OWL-CO-ODE Tools Alan Rector, Hai Wang, Jeremy Rogers with acknowledgement to Nick.
8/11/2011 Web Ontology Language (OWL) Máster Universitario en Inteligencia Artificial Mikel Egaña Aranguren 3205 Facultad de Informática Universidad Politécnica.
1 Berendt: Knowledge and the Web, 1st semester 2014/2015, 1 Knowledge and the Web Inference on the Semantic.
OWL and SDD Dave Thau University of Kansas
Ming Fang 6/12/2009. Outlines  Classical logics  Introduction to DL  Syntax of DL  Semantics of DL  KR in DL  Reasoning in DL  Applications.
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.
Based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester A Practical Introduction to Ontologies & OWL Session 1: Primitive.
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.
Michael Eckert1CS590SW: Web Ontology Language (OWL) Web Ontology Language (OWL) CS590SW: Semantic Web (Winter Quarter 2003) Presentation: Michael Eckert.
BioHealth Informatics Group A Practical Introduction to Ontologies & OWL Session 2: Defined Classes and Additional Modelling Constructs in OWL Nick Drummond.
Based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester A Practical Introduction to Ontologies & OWL Session 2: Defined.
© O. Corcho, MC Suárez de Figueroa Baonza 1 OWL and SWRL Protégé 4: Building an OWL Ontology Mari Carmen Suárez-Figueroa, Oscar Corcho {mcsuarez,
OilEd An Introduction to OilEd Sean Bechhofer. Topics we will discuss Basic OilEd use –Defining Classes, Properties and Individuals in an Ontology –This.
Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:
2nd Feb 2005Protege-OWL tutorial, © 2005 Univ. of Manchester1 Protégé-OWL Tutorial Session 2: Defined Classes Nick Drummond.
2nd Sept 2004UK e-Science all hands meeting1 Designing User Interfaces to Minimise Common Errors in Ontology Development Alan Rector, Nick Drummond, Matthew.
Ontology Engineering Lab #5 – September 30, 2013.
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.
1 Dr Alexiei Dingli Introduction to Web Science Modelling Knowledge.
Ontology Engineering Lab #4 - September 23, 2013.
Web Ontology Language (OWL). OWL The W3C Web Ontology Language (OWL) is a Semantic Web language designed to represent rich and complex knowledge about.
BioHealth Informatics Group Copyright © 2005, The University of Manchester1 A Practical Introduction to Ontologies & OWL Additional Exercises: Common Errors.
Of 29 lecture 15: description logic - introduction.
Based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester A Practical Introduction to Ontologies & OWL Session 1: Primitive.
Ccs.  Ontologies are used to capture knowledge about some domain of interest. ◦ An ontology describes the concepts in the domain and also the relationships.
1 Letting the classifier check your intuitions Existentials, Universals, & other logical variants Some, Only, Not, And, Or, etc. Lab exercise - 3b Alan.
BBY 464 Semantic Information Management (Spring 2016) Ontologies and OWL: Web Ontology Language Yaşar Tonta & Orçun Madran [yasartonta,
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
A Practical Introduction to Ontologies & OWL
Based on ProtegeOWLTutorial at protege website
Information Organization
ece 720 intelligent web: ontology and beyond
Lab exercise - 3a Alan Rector & colleagues
Presentation by the COODE and
Session 2: Defined Classes Nick Drummond
CS646: OWL Tutorial (session 2)
ece 720 intelligent web: ontology and beyond
Session 1: Primitive Classes Nick Drummond
Foundations of the Semantic Web: Ontology Engineering
Ontologies and Databases
Description Logics.
Predicates and Quantifiers
Knowledge Representation Part VII Protégé / RDFS / OWL / ++
The kinship domain example from cs. manchester. ac
Presentation transcript:

based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester A Practical Introduction to Ontologies & OWL Session 3: Additional Exercises: Common Errors and how to correct them Michael Lutz based on Slides from the Co-ode OWL Tutorial available from

based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester Overview ►Elephant Traps ►Property Domain & Range ►Property Characteristics – functional properties ►Intersection ►Negation in OWL – ComplementOf ►Class expressions test

based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester Elephant Traps Common Errors in OWL generally include: ►Disjoint misuse – often used on defined classes by mistake ►Confusing AllValueFrom and SomeValuesFrom – some doesn’t imply only, and only doesn’t imply some ►Forgetting to close class descriptions ►Incorrect expectations of Domain and Range defined for properties ►Incorrect use of Functional Properties ►Using intersection (AND) instead of union (OR), where the members of the intersection are disjoint

based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester Property Domain & Range ►If a relation is: subject_individual  hasProperty  object_individual ►The domain is the class of the subject individual ►The range is the class of the object individual (or a datatype if hasProperty is a Datatype Property) DomainClass RangeClass hasProperty

based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester Setting a Domain & Range ►Setting a domain & range on a property has global implications ►Be careful not to over-constrain your ontology ►The domain & range can be set in the Properties Tab – just click Add named class(es) e.g. Setting a domain of Pizza on hasBase ►Using a Universal Restriction on a Class is like setting a local range

based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester Semantics of Domain & Range ►Domain and Range are not used to restrict the interface ►They are used by the reasoner to infer additional information about individuals ►Any individual that uses a property with a domain set can be inferred to be a member of the domain class ►the same holds for range

based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester Exercise 10: IceCream and Domain

based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester Trap: Property Domain Reclassification ►Any Class that uses a property with a domain set in an existential restriction will be inferred to be a subclass of the domain class ►This is because all individuals in this class must have at least one relationship using this property – therefore, all members of this class must be members of the domain class ►If these classes are disjoint with the domain then they will come out inconsistent – another reason to check all your disjoints are set ►The same does not apply to range

based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester Property Characteristics ►Inverses – if property p has inverse property q, and p links A to B, then it can be inferred that q links B to A ►Functional – For a given individual, the property takes only one value. ►Inverse functional – The inverse of the property is functional. ►Symmetric – If a property links A to B then it can be inferred that it links B to A. ►Transitive – If a property links A to B and B to C then it can be inferred that it links A to C.

based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester Functional Properties ►An individual can only have relationships with at most one other individual along a functional property, e.g. if hasBase is functional this means: “Every Pizza can have at most one PizzaBase” ►Description of DoubleBasePizza: ►The reasoner finds this inconsistent ►It looks like the interface is warning us that we can’t use the property more than once, but actually…

based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester Exercise 11: Functional Properties

based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester Trap: Functional Property Misuse ►If a property is functional and is used in several Existential restrictions on a class, the reasoner will infer that the filler classes must overlap ►If any of the fillers are disjoint from each other then this cannot be the case and therefore causes an inconsistency ►If they are not, no inconsistency is found!

based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester Intersection Classes ►aka “conjunction” ►This AND That AND TheOther ►This That TheOther ►Each class description or definition is an intersection of the conditions in it ►CheeseyPizza  Pizza AND  hasTopping CheeseTopping Pizza  hasTopping CheeseTopping CheeseyPizza

based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester Intersection ►People often ask what the difference is between using 2 existential restrictions (which are, by default, in an intersection in the interface) and using a single restriction with a filler containing both the classes =

based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester Trap: Intersection There are 2 problems: 1.Often we paraphrase “AND” when we logically mean “OR” The filler “CheeseTopping AND MeatTopping” cannot contain any individuals as they are disjoint, and is therefore inconsistent 2.If we correct this to OR, it is still wrong as we’ve got a class description that can be fulfilled by a Pizza with a single topping – either Cheese or Meat. If we had 2 existential restrictions, there would have to be at least 2 (disjoint) toppings ≠

based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester ComplementOf Classes ►aka “Negation” “Not” ►Not Something ►¬ Something owl:Thing A All individuals in here are members of ¬A

based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester ComplementOf Classes ►Commonly used to model 3 things: ►A is any C that is not B ►A does not have some relation with B ►A only has relations with things that are not B

based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester Exercise 12: Variations of VeggiePizza ►The ontology used in this example will be available at:

based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester Summary You should now be able to: ►Avoid some of the more common modelling errors in OWL ►Appreciate that all OWL statements are reasoned with and many mistakes are only caught because of disjoints ►Understand different characteristics of properties ►Spot various similar looking statements in OWL are very different