Classes and Instances Alan Rector With CO-ODE and NIBHI University of Manchester OpenGALEN BioHealth Informatics Group © University.

Slides:



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

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.
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.
Of 27 lecture 7: owl - introduction. of 27 ece 627, winter ‘132 OWL a glimpse OWL – Web Ontology Language describes classes, properties and relations.
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.
The Semantic Web – WEEK 5: RDF Schema + Ontologies The “Layer Cake” Model – [From Rector & Horrocks Semantic Web cuurse]
Description Logics. Outline Knowledge Representation Knowledge Representation Ontology Language Ontology Language Description Logics Description Logics.
The Semantic Web Week 12 Term 1 Recap Lee McCluskey, room 2/07 Department of Computing And Mathematical Sciences Module Website:
From SHIQ and RDF to OWL: The Making of a Web Ontology Language
Meditation Two Cogito Ergo Sum. Cogito #1 Cogito as Inference □ (Ti→Ei). Not: □ (Ei)
ANHAI DOAN ALON HALEVY ZACHARY IVES Chapter 12: Ontologies and Knowledge Representation PRINCIPLES OF DATA INTEGRATION.
Editing Description Logic Ontologies with the Protege OWL Plugin.
1 CS646 Lab & Mini-project Assignment. 2 Mechanics Everything is to be submitted through Boddington –Everything must be identified with your library/University.
A Generic Software Framework for building Hybrid Ontology-Backed Models for Driving Applications Colin Puleston, James Cunningham, Alan Rector Bio-Health.
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.
BioHealth Informatics Group Advanced OWL Tutorial 2005 Ontology Engineering in OWL Alan Rector & Jeremy Rogers BioHealth Informatics Group.
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.
Moodle (Course Management Systems). Glossaries Moodle has a tool to help you and your students develop glossaries of terms and embed them in your course.
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.
LDK R Logics for Data and Knowledge Representation ClassL (part 3): Reasoning with an ABox 1.
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)
Umi Laili Yuhana December, Context Aware Group - Intelligent Agent Laboratory Computer Science and Information Engineering National Taiwan University.
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.
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:
© University of Manchester Simplifying OWL Learning lessons from Anaesthesia Nick Drummond BioHealth Informatics Group.
DL Overview Second Pass Ming Fang 06/19/2009. Outlines  Description Languages  Knowledge Representation in DL  Logical Inference in DL.
ESIP Semantic Web Products and Services ‘triples’ “tutorial” aka sausage making ESIP SW Cluster, Jan ed.
Ontology Design for USC Semantic Information Research Lab Chen Li, Tengfei Li, Tian Wang.
LDK R Logics for Data and Knowledge Representation ClassL (Propositional Description Logic with Individuals) 1.
1 Foundations of the Semantic Web: Ontology Engineering Building Ontologies 1b Classes and Instances Concepts & Individuals Alan Rector & colleagues Special.
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.
ece 627 intelligent web: ontology and beyond
© University of Manchester 1 Patterns: Part-whole relations Short version OpenGALEN BioHealth Informatics Group © University of Manchester.
CSSE501 Object-Oriented Development. Chapter 10: Subclasses and Subtypes  In this chapter we will explore the relationships between the two concepts.
WonderWeb. Ontology Infrastructure for the Semantic Web. IST Project Review Meeting, 11 th March, WP2: Tools Raphael Volz Universität.
BioHealth Informatics Group 1 Techniques for segmenting large description logic ontologies Julian Seidenberg, Alan Rector
Of 29 lecture 15: description logic - introduction.
Semantic Interoperability in GIS N. L. Sarda Suman Somavarapu.
Ontology Technology applied to Catalogues Paul Kopp.
Pronouns Pronouns are used in place of nouns, mostly to avoid repetition. Personal pronouns – refer to particular people: I, you, us. Impersonal pronouns.
The Nature of God Nancy Parsons. Attributes- Nature of God Candidates should be able to demonstrate knowledge and understanding of: 1.God as eternal,
1 Letting the classifier check your intuitions Existentials, Universals, & other logical variants Some, Only, Not, And, Or, etc. Lab exercise - 3b Alan.
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
DOMAIN ONTOLOGY DESIGN
ece 720 intelligent web: ontology and beyond
Survey of Knowledge Base Content
Structural relations Carnie 2013, chapter 4 Kofi K. Saah.
Ontology.
Issues in Knowledge Representation
Foundations of the Semantic Web: Ontology Engineering
Ontology.
The kinship domain example from cs. manchester. ac
CIS Monthly Seminar – Software Engineering and Knowledge Management IS Enterprise Modeling Ontologies Presenter : Dr. S. Vasanthapriyan Senior Lecturer.
Presentation transcript:

Classes and Instances Alan Rector With CO-ODE and NIBHI University of Manchester OpenGALEN BioHealth Informatics Group © University of Manchester

2 Class, Instances & Properties ►Naming Conventions - useful hints ►Classes ►Nouns, singular, begin with upper case ►Begin with an upper case letter. Subsequent words in lower case, e.g. “Person”, “Professor_of_computer_science”, etc. ►Individuals ►Nouns, singular, begin with lower case and usually have a designator or article, e.g. ►“person_1”, “aPerson”, “anApple”,” apple_”1, etc. ►Names - all words in upper case, e.g. “Manchester_University” ►Properties ►Verbs, all lower case ►Where convenient of the form “has_X” with inverse “is_X_of”, e.g. “has_part” / “is_part_of” ; “has_module” / “is_module_of”

© University of Manchester 3 “I am an individual” ►My naming convention should be ►Hence Alan_Rector in the examples or “aPerson” ►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, … ►…

© University of Manchester 4 “Person” is a class ►My naming convention should be ► “Person” ►So are ►CS646 (the class of all CS646 modules in all years) ►Professor, Student, … ►University ►Room, Desk, Internal_room, Difficult_module, … ►Idea, Understanding, Thought_about_description_logic ►Lecture, Lab_associated_with_lecture, … ►…

© University of Manchester 5 Lecturing on a course is a property ►The naming convention should be ►lectures_on / is_lecturer_for_module ►So are ►has_annual_version/is_annual_version_of ►attends / is_attended_by ►has_thought / is_thought_of ►has_lecture / is_lecture_of

© University of Manchester 6 Individuals, Properties & Classes Student Ed_inst anI1 anI5 anI6 anI4 anS1 anS2 anS3 anI7 John U_Man attends Lindsey_Music_Soc attends Classes shown as boxes with first word capitalised Individuals shown as words beginning with ‘a’ or ‘an’’ or names with all words capitalised Properties shown as labels for lines lines

© University of Manchester 7 Links between classes universalise links between individuals Student Ed_inst anI1 anI5 anI6 anI4 anS1 anS2 anS3 anI7 John U_Man attends Student attends allsome means Ed_inst

© University of Manchester 8 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

© University of Manchester 9 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”

© University of Manchester 10 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

© University of Manchester 11 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.

© University of Manchester 12 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

© University of Manchester 13 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

© University of Manchester 14 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

© University of Manchester 15 “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\ ►(In OWL-Full Classes may be instances; also in RDF(S) )

© University of Manchester 16 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

© University of Manchester 17 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

© University of Manchester 18 ‘T-Box’ and ‘A-Box’ ►‘T-Box’ (Terminology Box) ►Definitions and restrictions on classes ►‘A-Box’(Assertions box) ►Descriptions and assertions of individuals ►DLs (& OWL DL) work best for T-Box ►Large general A-Boxes are intractable ►A change anywhere can propagate anywhere else ►Individuals in defining classes, e.g. “Lecturers on CS646” or “John’s shirts” ►Often best implement as ‘pseudo-individuals

© University of Manchester 19 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 standard includes hasValue ( ∋ ) ►Staff_for_CS646_2003 ≡ restriction teaches hasValue cs_646_2003 ►(Pellet recognises and uses) ►Support improving in Racer, FaCT++ and Pellet ►But ontologies are not databases ►Large scale reasoning with instances requires special tools ►Instance store, triple store, etc.

© University of Manchester 20 Pseudo-Individuals to simulate Nominals Simulating Individuals as Leaf Nodes ►For use in nominals, 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. ►Follow the naming convention, and use a suffix such as “_ind” or “_inst” ►Mark them in the comment field. Perhaps create a special annotation property. ►pseudo-individual:true ►Or make them all a sub of ‘Pseudo individual’

© University of Manchester 21 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. ►NB we will do very little with individuals in this course