1 Foundations of the Semantic Web: Ontology Engineering Building Ontologies 1b Classes and Instances Concepts & Individuals Alan Rector & colleagues Special.

Slides:



Advertisements
Similar presentations
Dr. Leo Obrst MITRE Information Semantics Information Discovery & Understanding Command & Control Center February 6, 2014February 6, 2014February 6, 2014.
Advertisements

Charting the Potential of Description Logic for the Generation of Referring Expression SELLC, Guangzhou, Dec Yuan Ren, Kees van Deemter and Jeff.
Ontologies and Databases Ian Horrocks Information Systems Group Oxford University Computing Laboratory.
1 ISWC-2003 Sanibel Island, FL IMG, University of Manchester Jeff Z. Pan 1 and Ian Horrocks 1,2 {pan | 1 Information Management.
Knowledge Representation and Reasoning using Description Logic Presenter Shamima Mithun.
RDF Schemata (with apologies to the W3C, the plural is not ‘schemas’) CSCI 7818 – Web Technologies 14 November 2001 Van Lepthien.
RDF using N3. Subject, Verb and Object All knowledge is just a set of statements. Everything is identified by URI Here a local URI but could point to.
F22H1 Logic and Proof Week 7 Clausal Form and Resolution.
Analyzing Minerva1 AUTORI: Antonello Ercoli Alessandro Pezzullo CORSO: Seminari di Ingegneria del SW DOCENTE: Prof. Giuseppe De Giacomo.
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.
The Semantic Web Week 13 Module Website: Lecture: Knowledge Acquisition / Engineering Practical: Getting to know.
Where are the Semantics in the Semantic Web? Michael Ushold The Boeing Company.
The Semantic Web – WEEK 5: RDF Schema + Ontologies The “Layer Cake” Model – [From Rector & Horrocks Semantic Web cuurse]
CS503: First Lecture, Fall 2008 Michael Barnathan.
The Semantic Web Week 12 Term 1 Recap Lee McCluskey, room 2/07 Department of Computing And Mathematical Sciences Module Website:
Ontological arguments Concept of God: perfect being –God is supposed to be a perfect being. –That’s just true by definition. –Even an atheist can agree.
Some comments on Granularity Scale & Collectivity by Rector & Rogers Thomas Bittner IFOMIS Saarbruecken.
DL systems DL and the Web Ilie Savga
Semantic Web Ontologies (continued) Expressing, Querying, Building CS 431 – April 6, 2005 Carl Lagoze – Cornell University.
DAML+OIL Ontology Tutorial Chris Wroe, Robert Stevens (Sean Bechhofer, Carole Goble, Alan Rector, Ian Horrocks….) University of Manchester.
ITP © Ron Poet Lecture 1 1 IT Programming Introduction.
Welcome to the wonderful world of……. . A Quick & Easy Guide.  What IS ?  A quick, easy and convenient way to send a letter to friends, family.
Classes and Instances Alan Rector With CO-ODE and NIBHI University of Manchester OpenGALEN BioHealth Informatics Group © University.
An Introduction to Description Logics. What Are Description Logics? A family of logic based Knowledge Representation formalisms –Descendants of semantic.
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 Berendt: Knowledge and the Web, 1st semester 2014/2015, 1 Knowledge and the Web Inference on the Semantic.
BioHealth Informatics Group Advanced OWL Tutorial 2005 Ontology Engineering in OWL Alan Rector & Jeremy Rogers BioHealth Informatics Group.
Inheritance in Classes tMyn1 Inheritance in Classes We have used the Box class to describe a rectangular box – our definition of a Box object consisted.
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.
USCISIUSCISI Background Description Logic Systems Thomas Russ.
LDK R Logics for Data and Knowledge Representation Modeling First version by Alessandro Agostini and Fausto Giunchiglia Second version by Fausto Giunchiglia.
1 Foundations of the Semantic Web: Ontology Engineering Lecture 3 Common problems Ontology Patterns Re-representing properties and classes Parts and Wholes.
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.
An Introduction to Description Logics (chapter 2 of DLHB)
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Description Logics: Logic foundation of Semantic Web Semantic.
Advanced topics in software engineering (Semantic web)
SKOS. Ontologies Metadata –Resources marked-up with descriptions of their content. No good unless everyone speaks the same language; Terminologies –Provide.
1 Berendt: Advanced databases, 1st semester 2012/2013, 1 Advanced databases – Inference on the Semantic Web.
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:
CSCI-383 Object-Oriented Programming & Design Lecture 10.
2nd Sept 2004UK e-Science all hands meeting1 Designing User Interfaces to Minimise Common Errors in Ontology Development Alan Rector, Nick Drummond, Matthew.
Computer Science 111 Fundamentals of Computer Programming I Working with our own classes.
ESIP Semantic Web Products and Services ‘triples’ “tutorial” aka sausage making ESIP SW Cluster, Jan ed.
Dictionary based interchanges for iSURF -An Interoperability Service Utility for Collaborative Supply Chain Planning across Multiple Domains David Webber.
LDK R Logics for Data and Knowledge Representation ClassL (Propositional Description Logic with Individuals) 1.
Some Thoughts to Consider 8 How difficult is it to get a group of people, or a group of companies, or a group of nations to agree on a particular ontology?
ONTOLOGY ENGINEERING Lab #3 – September 15,
References [1] D:\My Documents\SemanticWebWorkshop\kaynak\Ian Horrocks - CS646\intro-2004.pptD:\My Documents\SemanticWebWorkshop\kaynak\Ian Horrocks -
Description Logics Dr. Alexandra I. Cristea. Description Logics Description Logics allow formal concept definitions that can be reasoned about to be expressed.
WonderWeb. Ontology Infrastructure for the Semantic Web. IST Project Review Meeting, 11 th March, WP2: Tools Raphael Volz Universität.
The Writing Process Week 2 Drafting. DRAFTING Drafting is the process of writing down ideas, organizing them into a sequence, and providing the reader.
David Leal / Ontology Summit Synthesis Panel - 26-Mar URI for quantities, units and scales Motivation  URIs are being assigned to quantities,
Ontology Technology applied to Catalogues Paul Kopp.
The Nature of God Nancy Parsons. Attributes- Nature of God Candidates should be able to demonstrate knowledge and understanding of: 1.God as eternal,
Ontology Design Patterns Dr Nicholas Gibbins –
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
Common MBSE Modeling Questions and How Ontology Helps
Ontology.
Issues in Knowledge Representation
Foundations of the Semantic Web: Ontology Engineering
Ontologies and Databases
CIS Monthly Seminar – Software Engineering and Knowledge Management IS Enterprise Modeling Ontologies Presenter : Dr. S. Vasanthapriyan Senior Lecturer.
Presentation transcript:

1 Foundations of the Semantic Web: Ontology Engineering Building Ontologies 1b Classes and Instances Concepts & Individuals Alan Rector & colleagues Special acknowledgement to Jeremy Rogers & Chris Wroe

2 “I am an individual” And my representation ought to be one to –Hence $Alan_Rector in the examples So are –This year’s version of CS646 – Hence $CS646_2003 in the examples –You –The University of Manchester –This room, its furniture, etc. –Your thoughts, understanding, … –This lecture, the lab following it, … –…

3 Individuals in our Example Everything with a ‘$’ prefix 1 Student Ed_inst $anI1 $anI5 $anI6 $anI4 $anS1 $anS2 $anS3 $anI7 $John $U_Man attends $Lindsey_music_soc attends 1 It would be more conventional to use ‘#’, but this confuses OilEd terribly – taken as a namespace identifier

4 What is a Class? An individual Vocabulary variations –“Class”  “Type”  “Concept”  “Concept Representation”  “Category” –“Individual”  “Instance”  “Object” (in OO programming” )

5 Individuals in Ontologies Simple test 1: “Can it have kinds” – if so, it is a class –“Kinds of dog” makes sense –“Kinds of person” makes sense –“Kinds of Alan Rector” does not make sense –“Kinds of Module” makes sense –“Kinds of CS646_2003” does not make sense –“Kinds of jacket” makes sense –“Kinds of the ‘jacket I am wearing’” does not make sense

6 Individuals in Ontologies (cont) Simple test 2: If you say something about it, if you have made a new concept, then it is a class if you have just stated a fact about it, it is is an individual. –“Big dog” is a new class of dog “Rover is big” just says something about Rover –Which would allow us to infer that Rover is a member of the class of “Big Dogs” –“Men with beards” is a new class “Alan rector has a beard” is a fact about Alan Rector –Which would allow us to infer that he is a member of the class of “Men with Beards”

7 Clues in English Articles + singular indicate individual –‘the book there on the shelf” – an individual –‘a book’ – an unspecified individual Proper nouns (almost always) indicate individuals –Alan Rector, Ian Horrocks, Cross Street, Manchester, England, … Plurals usually indicate classes –‘the books’ – probably a class Although possibly an individual aggregation –And perversely the English convention is to name classes in the singular

8 More clues in English a ‘…that…’ clause and usually indicates a class –“The Modules that are available for ACS” Perversely by convention Classes are given names in the singular in English –“Module that…” a ‘…which…” clause depends on local usage –Some English stylebooks would have ‘which’ clauses used only for individuals, others say there is no real difference between ‘that’ and ‘which’ “MS Word usually asks for ‘that’ with plurals (classes) and ‘which’ with singulars No perfect guide, must take case by case.

9 Leaf nodes are not Individuals Leaf node –Depends on ontology – may be very detailed, e.g. Golden_retriever_bitch_from_karmella_kennels_from_2003_litter –Individual in that class “Halo” Even if there is only one possible individual, a leaf node is not an individual –Transferable_skills_course_for_first_year_PhD_students_in_CS_department There might be other courses besides CS700 –Its not impossible, just untrue Only individuals if there could never be kinds –CS646_2003 There can never be a “kind” of this year’s course

10 Keeping the Ontology Re-usable If we make leaf nodes individuals, we close off any extension to more granular kinds –Make the ontology specific to our immediate needs –Make extensions require radical surgery

11 Comparison with “Instances” in databases, frames, and OO programming “Individuals” in ontologies are slightly different than in OO programming or data bases Test for individual –Ontologies – could it sensibly have kinds –Databases – is it going to be stored in a field in the database –OO programming – is it going to be an operational object in the program –RDF(S) – still some confusion Anything can be an individual

12 “Tangle at the Top” Many OO environments require that everything be an instance of something. –If everything must be an instance of something, then we have an infinite regress Most systems stop it by having something be an instance of itself –Protégé, Smalltalk, and Java Class –RDF(S), OWL-Full: rdf:resource Being an instance of yourself violates the semantics of OWL-DL –In OWL-DL, classes are not instances of anything They are interpreted as the intensions of sets of individuals

13 More vocabulary “Intensions” & “Extensions” “Intension” –The meaning of something The definition of a class “The lecturer the application part of this module” “The evening star” “Extension” –The things which satisfy the meaning – the members of the class Alan Rector The planet Venus

14 Extensional equality vs Intensional Equivalence Two sets are equal if their extensions are equal –In a particular model The extensions of “The evening star” and “The morning star” are equal Two intensions are equivalent if if their extensions must be equal – –i.e. if their being unequal would be a contradiction in any model satisfying the same axioms “Three sided polygon” is equivalent to “Three angled polygon” given the axioms of geometry

15 Nominals - oneof Individuals should be able to be imported into class restrictions via oneOf –Staff_for_CS646_2003  restriction teaches someValuesfrom oneOf {CS_646_2003} Ignored in Racer, but can use hasValue (  ) –Staff_for_CS646_2003  restriction teaches  cs_646_2003

16 OWL-DL – and DLs are work best for Classes The “T-Box” Can be used as schemas for databases –“Closed world” reasoning Negation as failure Can be used as an index for a store of instances –Excellent way to index things Difficult to use for true open world reasoning –Negation as impossibility/unsatisfiability It is not known how to build a sound, complete, computationally tractable A-Box –In fact it is known that any sound complete A-Box will be worst case intractable. Little is lost if an individual is represented as a class –Much is lost if a class is represented as an individual When in doubt, use classes

17 Simulating Individuals as Leaf Nodes It often works better in current technology to simulate individuals as leaf nodes –We are providing a transparent way to do this, but it isn’t finished yet. –Mark them in the comment field. Perhaps create a special annotation property. pseudo-individual:true

18 Individuals in Protégé On the Individuals Tab –A form is automatically generated for with a field for every property for which the class is explicitly in the domain.

19 Individuals in Protege Protege handles individuals well, but Classifiers handle individuals badly –No support for individuals in FaCT reasoner –Limited support for individuals in Racer reasoner –Racer makes extra assumptions not made in OWL All individuals are different Reasoning is incomplete –All inferences found are correct, but some may not be found And this version has labelling problems –Labels things “Types” instead of “Classes” in the Individuals pane So we won’t do much with individuals, but…

20