Ontology Engineering Dr Nicholas Gibbins – 2013-2014.

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

IPY and Semantics Siri Jodha S. Khalsa Paul Cooper Peter Pulsifer Paul Overduin Eugeny Vyazilov Heather lane.
So What Does it All Mean? Geospatial Semantics and Ontologies Dr Kristin Stock.
Semiotics and Ontologies. Ontologies contain categories, lexicons contain word senses, terminologies contain terms, directories contain addresses, catalogs.
Of 27 lecture 7: owl - introduction. of 27 ece 627, winter ‘132 OWL a glimpse OWL – Web Ontology Language describes classes, properties and relations.
Ontologies - Design principles Cartic Ramakrishnan LSDIS Lab University of Georgia.
Using the Semantic Web to Construct an Ontology- Based Repository for Software Patterns Scott Henninger Computer Science and Engineering University of.
Chapter 6: Design of Expert Systems
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.
Algorithms and Problem Solving-1 Algorithms and Problem Solving.
Algorithms and Problem Solving. Learn about problem solving skills Explore the algorithmic approach for problem solving Learn about algorithm development.
COMP 6703 eScience Project Semantic Web for Museums Student : Lei Junran Client/Technical Supervisor : Tom Worthington Academic Supervisor : Peter Strazdins.
How can Computer Science contribute to Research Publishing?
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
Semantic Web Technologies Lecture # 2 Faculty of Computer Science, IBA.
® IBM Software Group © 2006 IBM Corporation Writing Good Use Cases Module 4: Detailing a Use Case.
Database System Development Lifecycle © Pearson Education Limited 1995, 2005.
Overview of the Database Development Process
1 Ontology & Ontology Development 인공지능 연구실 허 희 근.
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. Towards Translating between XML and WSML based on mappings between.
SWE 316: Software Design and Architecture – Dr. Khalid Aljasser Objectives Lecture 11 : Frameworks SWE 316: Software Design and Architecture  To understand.
ITEC224 Database Programming
©Ian Sommerville 2000, Mejia-Alvarez 2009 Slide 1 Software Processes l Coherent sets of activities for specifying, designing, implementing and testing.
9/14/2012ISC329 Isabelle Bichindaritz1 Database System Life Cycle.
1 Chapter 15 Methodology Conceptual Databases Design Transparencies Last Updated: April 2011 By M. Arief
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.
Software Requirements Engineering CSE 305 Lecture-2.
School of Computing FACULTY OF ENGINEERING Developing a methodology for building small scale domain ontologies: HISO case study Ilaria Corda PhD student.
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.
Software Engineering Management Lecture 1 The Software Process.
Approaching a Problem Where do we start? How do we proceed?
1 Introduction to Software Engineering Lecture 1.
February 24, 2006 ONTOLOGIES Helena Sofia Pinto ( )
1 What is OO Design? OO Design is a process of invention, where developers create the abstractions necessary to meet the system’s requirements OO Design.
Proposed NWI KIF/CG --> Common Logic Standard A working group was recently formed from the KIF working group. John Sowa is the only CG representative so.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
SKOS. Ontologies Metadata –Resources marked-up with descriptions of their content. No good unless everyone speaks the same language; Terminologies –Provide.
COMM89 Knowledge-Based Systems Engineering Lecture 8 Life-cycles and Methodologies
DAML+OIL: an Ontology Language for the Semantic Web.
The future of the Web: Semantic Web 9/30/2004 Xiangming Mu.
OilEd An Introduction to OilEd Sean Bechhofer. Topics we will discuss Basic OilEd use –Defining Classes, Properties and Individuals in an Ontology –This.
Trustworthy Semantic Webs Dr. Bhavani Thuraisingham The University of Texas at Dallas Lecture #4 Vision for Semantic Web.
Metadata Common Vocabulary a journey from a glossary to an ontology of statistical metadata, and back Sérgio Bacelar
Of 33 lecture 1: introduction. of 33 the semantic web vision today’s web (1) web content – for human consumption (no structural information) people search.
ESIP Semantic Web Products and Services ‘triples’ “tutorial” aka sausage making ESIP SW Cluster, Jan ed.
1 Class exercise II: Use Case Implementation Deborah McGuinness and Peter Fox CSCI Week 8, October 20, 2008.
Topic 4 - Database Design Unit 1 – Database Analysis and Design Advanced Higher Information Systems St Kentigern’s Academy.
Winter 2011SEG Chapter 11 Chapter 1 (Part 1) Review from previous courses Subject 1: The Software Development Process.
Of 38 lecture 6: rdf – axiomatic semantics and query.
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 12 RDF, OWL, Minimax.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lotzi Bölöni.
The Semantic Web and Ontology. The Semantic Web WWW: –syntactic transmission of information –only processible by human – no semantic conservation of the.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 4 Slide 1 Software Processes.
Software Requirements Specification Document (SRS)
The Semantic Web. What is the Semantic Web? The Semantic Web is an extension of the current Web in which information is given well-defined meaning, enabling.
WonderWeb. Ontology Infrastructure for the Semantic Web. IST Project Review Meeting, 11 th March, WP2: Tools Raphael Volz Universität.
OWL Web Ontology Language Summary IHan HSIAO (Sharon)
Semantic Interoperability in GIS N. L. Sarda Suman Somavarapu.
WonderWeb. Ontology Infrastructure for the Semantic Web. IST WP4: Ontology Engineering Heiner Stuckenschmidt, Michel Klein Vrije Universiteit.
Ontology Technology applied to Catalogues Paul Kopp.
International Workshop 28 Jan – 2 Feb 2011 Phoenix, AZ, USA Ontology in Model-Based Systems Engineering Henson Graves 29 January 2011.
CSCE 240 – Intro to Software Engineering Lecture 3.
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
The Semantic Web By: Maulik Parikh.
Lecture #11: Ontology Engineering Dr. Bhavani Thuraisingham
ece 720 intelligent web: ontology and beyond
Methontology: From Ontological art to Ontological Engineering
ONTOMERGE Ontology translations by merging ontologies Paper: Ontology Translation on the Semantic Web by Dejing Dou, Drew McDermott and Peishen Qi 2003.
Presentation transcript:

Ontology Engineering Dr Nicholas Gibbins –

Topics This lecture: –Ontologies – a quick recap –What are they? –What type of ontologies are out there? –What are they used for? –Ontology Building Methodologies –Life-cycle –Existing methodologies

Ontologies Definition –“a formal, explicit specification of a shared conceptualisation” Gruber And in English … –An ontology is the combination of concepts and relationships required to model a knowledge domain in a human and machine understandable format Machine readable Representation of concepts and constraints is explicitly defined Representation of concepts and constraints is explicitly defined ontology should represent a shared view of the domain ontology should represent a shared view of the domain modelling the concepts and relations of the domain modelling the concepts and relations of the domain

Example: FOAF Ontology

When to Use an Ontology? Knowledge management –Control vocabulary –Making domain assumptions more explicit –Separate the metadata structure from the data itself –Change in metadata does not necessarily require change in the data Knowledge sharing –The clear model of your data enables other machines and people to understand it, and thus use and reuse it

When to Use an Ontology? Knowledge integration –Ontologies can bridge between several data sources Knowledge analysis –Using a rich data model enables more complex analysis to be made on the data (eg for knowledge discovery)

Type of Ontologies There are four main type of ontologies: –Representation ontologies –General or upper-level ontologies –Domain ontologies –Application ontologies

Describe low level primitive representations -Such as semantic web languages Example ontologies: -OWL, RDF, RDFS Usual size: small, a few dozens of concepts and relations Representation ontologies Section of the OWL ontology

Describe high-level, abstract, concepts Usually domain independent -Can be used as part of other ontologies Tend to be large Example ontologies: -Cyc: commonsense ontology -Hundreds of thousands of concepts -WordNet: English lexicon -Over 150K concepts -SUMO: Suggested Upper Merged Ontology -Around 10K concepts General or upper-level ontologies

Example upper-level ontology a tiny section of Cyc

Describe a particular domain extensively Domain dependent by definition Example ontologies: -GO: Gene Ontology -Roughly 25K concepts -CIDOC CRM: for cultural heritage -Roughly 100 concepts -FMA: Foundational Model of Anatomy -Around 75K concepts Domain ontologies

Example: CRM Ontology

-Designed for academic domain -Contains an upper layer Example: AKT Reference Ontology

Mainly designed to answer to the needs of a particular application Scaled and focused to fit the application domain requirements Example ontologies: -FOAF: Friend of a Friend ontology -about a dozen concepts -ESWC06: for conference metadata -about 80 concepts, including FOAF Application ontologies

Ontology Building Methodologies

No standard methodology for ontology construction There exists a number of methodologies and best practices The following life cycle stages are usually shared by the methodologies: –Specification - scope and purpose –Conceptualisation - determining the concepts and relations –Formalisation - axioms, restrictions –Implementation - using some ontology editing tool –Evaluation - measure how well you did –Documentation - document what you did

Ontology Development Life-Cycle –Specification –Conceptualisation –Formalisation –Implementation –Evaluation –Documentation

Specification Specifying the ontology’s purpose and scope –Why are you building this ontology? –What will this ontology be used for? –What is the domain of interest? –An ontology for car sales probably don’t need to know much about types and prices of engine oil –How much detail do you need?

Limit Your Scope studies_at Student Educational Organisation Educational Organisation studied_course teaches MSc Student MSc Student PhD Student PhD Student Course studies_fulltime_at studies_parttime_at graduated_from Student Educational Organisation Educational Organisation Undergraduate Student Undergraduate Student Postgraduate Student Postgraduate Student University College

Competency Questions What are some of the questions you need the ontology to answer (competency questions)? –Make a list of such questions and use as a check list when designing the ontology –Helps to define scope, level of detail, evaluation, etc.

Competency Questions The questions that you REALLY need –You probably don’t need to worry about the questions that “perhaps someone might need to ask someday” The questions that CAN BE answered –i.e. you have/can get the necessary data to answer those questions –Permanent lack of some data may render parts of the ontology useless!

Ontology Development Life-Cycle –Specification –Conceptualisation –Formalisation –Implementation –Evaluation –Documentation

Conceptualisation Identifying the concepts to include in your ontology, and how they relate to each other –This will be depend to some extent on your defined scope and competency questions –Set unambiguous names and descriptions for those classes and relationships (more on this in Documentation) –Reach agreement

Conceptualisation When designing an ontology, start with a drawing sheet or software (eg Visio, Mind Maps), or cards

Conceptualisation Ontologies are meant to be reusable! –Technology for reusing ontologies is still limited Always a good idea to check any existing models or ontologies –Check your database models or off-the-shelf ontologies Check existing ontologies –No need to reinvent the wheel, unless it is easier to do so! –Ontology search engines –Swoogle, Watson

Ontology Development Life-Cycle –Specification –Conceptualisation –Formalisation –Implementation –Evaluation –Documentation

Formalisation Moving from a list of concepts to a formal model Define the hierarchy of concepts and relations Also note down any restrictions –E.g. NonProfitOrg isDisjoint from ProfitOrg –An address is unique

Building the Class Hierarchy Top-down –Start with the most general classes and finish with the most detailed classes Bottom-up –Start with the most detailed classes and finish with the most general ones Middle-out –Start with the most obvious classes –Group as required –Then go upwards and downwards to the more general and more detailed classes respectively

Middle-Out Approach Good for controlling scope and detail Staff Student University Organisation affiliated_with studies_at works_at Research Staff Research Staff Teaching Staff Teaching Staff Undergrad Student Undergrad Student PostGrad Student PostGrad Student Person

Naming Conventions Not rules, but conventions Avoid spaces and uncommon delimiters in class and relation names –E.g. use PetFood or Pet_Food instead of Pet Food or Pet*Food Capitalise each word in a class name –E.g. PetFood instead of Petfood or even petfood Names of relations usually start with a lowercase –E.g. pet_owner, petOwner Better use singular names –E.g. Pet, Person, Shop

Class or a Relation? Is it a class or a relation? type of study Full time Part time Student PartTime Student PartTime Student FullTime Student FullTime Student Answer: It depends! If the subclass doesn’t need any new relations (or restrictions), then consider making it a relation

Class or an Instance? Is it a class or an instance? Answer: –If it can have its own instances, then it should be a class –If it can have its own subclasses, then it should be a class studies_at Student University John Smith Uni of Soton

Transitivity of Class Hierarchy subClassOf relation is always transitive –Car is a Transportation Object –Any instance of Car is also a TransportationObject subClassOf is not the same as partOf isA Car Transport Object Transport Object Vehicle partOf Car Wheel

Tidy Your Hierarchy Avoid subClassOf clutter! Break down your hierarchy further if you have too many direct subclasses of a class Staff Admin Lecturer Technician Professor Senior Lecturer Senior Lecturer Senior RF Research Fellow Research Fellow Research Assistant Research Assistant Lecturer Staff Admin Technician Senior Lecturer Senior Lecturer Researcher Senior RF Research Fellow Research Fellow Research Assistant Research Assistant Academic Professor

Where to Point my Relation? Relations should point to the most general class –But not too general –E.g relations pointing to Thing! –And not too specific –E.g. relations pointing to the bottom of the hierarchy

Where to Point my Relation? Staff Admin Lecturer Technician Senior Lecturer Senior Lecturer Researcher Senior RF Research Fellow Research Fellow Research Assistant Research Assistant Academic Professor University works_at Course teaches

Ontology Development Life-Cycle –Specification –Conceptualisation –Formalisation –Implementation –Evaluation –Documentation

Implementation –Choose a language –e.g. RDFS, OWL Lite, OWL DL,... –Implement it with an ontology editor –e.g. Protégé, SWOOP, TopQuadrant –Edit the class hierarchy –Add relationships –Add restrictions –Select appropriate value types, cardinality, etc –Apply a reasoner to check your ontology –e.g. Racer, Pellet, Fact++, Hermit

Ontology Development Life-Cycle –Specification –Conceptualisation –Formalisation –Implementation –Evaluation –Documentation

Evaluation Implementing the ontology in an ontology editor helps to get the syntax correct You can also validate your OWL ontology online using: –The WonderWeb OWL validator – –W3C RDF validator –

Evaluation Check the ontology against your competency questions –Write the questions in SPARQL or in similar query languages –Can you get the answers you need? –Is it quick enough? –Perhaps you can add additional properties or restructure the ontology to increase efficiency

Ontology Development Life-Cycle –Specification –Conceptualisation –Formalisation –Implementation –Evaluation –Documentation

Documentation Documenting the design and implementation rational is crucial for future usability and understanding of the ontology –Rational, design options, assumptions, decisions, examples, etc. Structured documentation may clarify these assumptions Douglas Skuce proposed a convention for structured documentation of ontological assumptions in 1995 –Conceptual assumptions (C) (long definition, comparing with others) –Terminological assumptions (T) (alternative terms used) –Definitional assumption (D) (short definition) –Examples (E)

Documentation

Ontology Engineering Methodologies TOVE (Gruninger and Fox 1995) –Focus on competency questions ENTERPRISE (Uschold and King 1995) –Focus on conceptualisation METHONTOLOGY (Fernández and Gómez-Pérez 1997) –Inspired by IEEE Standard software development life cycle –Stresses the iterative process and evolution of prototypes

TOVE Capture motivating scenarios –E.g. what’s the application Formulate competency questions and desired answers –What questions the ontology needs to answer to satisfy the scenarios Specify and formalise the terminology Formalise the competency questions Specify axioms and definitions Evaluate ontology against the competency questions

ENTERPRISE Identify purpose –Why build it, what for, who are the users Build the ontology –Ontology capture –Identify concepts, relations, labels using a middle-out approach –Ontology implementation –Integrate existing ontologies Evaluation –Check against requirements, competency questions, real-world use Documentation

METHONTOLOGY Management activities –Scheduling, control, and quality assurance Development activities –Pre-development: Scenarios, feasibility study –Development: Specification, conceptualisation, formalisation, implementation –Post-development: Maintenance Support activities –Same time as development –Knowledge acquisition, evaluation, mapping and merging with other ontologies, documentation

METHONTOLOGY

Summary Ontology construction is an iterative process –Build ontology, try to use it, fix errors, extend, use again, and repeat There is no single correct model for your domain –The same domain may be modelled in several ways Following best practices helps to build good ontologies –Well scoped, documented, structured Reuse existing ontologies if possible –Check your database models and existing ontologies –Reuse or learn from existing representations –Most ontology editing tools don’t provide good support for reuse yet

Common Pitfalls Over scaling and complicating your ontology –Need to learn when to stop expanding the ontology Lack of documentation –For the design rationale, vocabulary and structure decisions, intended use, etc. Redundancy –Increase chances of inconsistencies and maintenance cost Using ambiguous terminology –Others might misinterpret your ontology –Mapping to other ontologies will be more difficult