From Concepts to Knowledge – A Brief Introduction to Ontology Dr Owen Conlan Dr Alexander O’Connor.

Slides:



Advertisements
Similar presentations
Semantic Interoperability & Semantic Models: Introduction
Advertisements

An Overview of Ontologies and their Practical Applications Gianluca Correndo
Semantic Web Thanks to folks at LAIT lab Sources include :
CS570 Artificial Intelligence Semantic Web & Ontology 2
Knowledge Representation
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.
Basics of Knowledge Management ICOM5047 – Design Project in Computer Engineering ECE Department J. Fernando Vega Riveros, Ph.D.
Using the Semantic Web to Construct an Ontology- Based Repository for Software Patterns Scott Henninger Computer Science and Engineering University of.
Descriptions Robert Grimm New York University. The Final Assignment…  Your own application  Discussion board  Think: Paper summaries  Web cam proxy.
The Semantic Web – WEEK 5: RDF Schema + Ontologies The “Layer Cake” Model – [From Rector & Horrocks Semantic Web cuurse]
Cornell CS Semantic Web Ontologies & Data Models CS 502 – Carl Lagoze – Cornell University Acknowledgements: Eric Miller Dieter Fensel.
The Semantic Web Week 12 Term 1 Recap Lee McCluskey, room 2/07 Department of Computing And Mathematical Sciences Module Website:
October 15, 2007Inf 722 Information Organisation (Fall 2007) (Gangolly)1 Ontologies Lecture Notes Prepared by Jagdish S. Gangolly Interdisciplinary Ph.D.
The RDF meta model: a closer look Basic ideas of the RDF Resource instance descriptions in the RDF format Application-specific RDF schemas Limitations.
Part 5: Ontologies.
From SHIQ and RDF to OWL: The Making of a Web Ontology Language
Semantic Web Technologies Lecture # 2 Faculty of Computer Science, IBA.
RDF: Concepts and Abstract Syntax W3C Recommendation 10 February Michael Felderer Digital Enterprise.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
1 Ontology & Ontology Development 인공지능 연구실 허 희 근.
Ontology Development Kenneth Baclawski Northeastern University Harvard Medical School.
Chapter 4 System Models A description of the various models that can be used to specify software systems.
System models Abstract descriptions of systems whose requirements are being analysed Abstract descriptions of systems whose requirements are being analysed.
An Introduction to Description Logics. What Are Description Logics? A family of logic based Knowledge Representation formalisms –Descendants of semantic.
Knowledge representation
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.
Clément Troprès - Damien Coppéré1 Semantic Web Based on: -The semantic web -Ontologies Come of Age.
The Semantic Web Service Shuying Wang Outline Semantic Web vision Core technologies XML, RDF, Ontology, Agent… Web services DAML-S.
Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the.
1 Representing Data with XML September 27, 2005 Shawn Henry with slides from Neal Arthorne.
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.
Metadata. Generally speaking, metadata are data and information that describe and model data and information For example, a database schema is the metadata.
Chapter 7 System models.
System models l Abstract descriptions of systems whose requirements are being analysed.
Umi Laili Yuhana December, Context Aware Group - Intelligent Agent Laboratory Computer Science and Information Engineering National Taiwan University.
Semantic Web - an introduction By Daniel Wu (danielwujr)
Advanced topics in software engineering (Semantic web)
©Ferenc Vajda 1 Semantic Grid Ferenc Vajda Computer and Automation Research Institute Hungarian Academy of Sciences.
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Knowledge Representation Semantic Web - Fall 2005 Computer.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
Ontology-Based Computing Kenneth Baclawski Northeastern University and Jarg.
SKOS. Ontologies Metadata –Resources marked-up with descriptions of their content. No good unless everyone speaks the same language; Terminologies –Provide.
Object-Oriented Modeling: Static Models. Object-Oriented Modeling Model the system as interacting objects Model the system as interacting objects Match.
Artificial Intelligence 2004 Ontology
Trustworthy Semantic Webs Dr. Bhavani Thuraisingham The University of Texas at Dallas Lecture #4 Vision for Semantic Web.
Ontologies - Design Ray Dos Santos June 19, 2009.
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.
The RDF meta model Basic ideas of the RDF Resource instance descriptions in the RDF format Application-specific RDF schemas Limitations of XML compared.
Ontology Engineering Lab #3 – September 16, 2013.
OWL & Protege Introduction Dongfang Xu Ph.D student, School of Information, University of Arizona Sept 10, 2015.
Knowledge Representation. Keywordsquick way for agents to locate potentially useful information Thesaurimore structured approach than keywords, arranging.
Representing Data with XML February 26, 2004 Neal Arthorne.
The Semantic Web and Ontology. The Semantic Web WWW: –syntactic transmission of information –only processible by human – no semantic conservation of the.
A Portrait of the Semantic Web in Action Jeff Heflin and James Hendler IEEE Intelligent Systems December 6, 2010 Hyewon Lim.
Enable Semantic Interoperability for Decision Support and Risk Management Presented by Dr. David Li Key Contributors: Dr. Ruixin Yang and Dr. John Qu.
Presented by Kyumars Sheykh Esmaili Description Logics for Data Bases (DLHB,Chapter 16) Semantic Web Seminar.
Chapter 5 The Semantic Web 1. The Semantic Web  Initiated by Tim Berners-Lee, the inventor of the World Wide Web.  A common framework that allows data.
An Introduction and UML Profile for the Web Ontology Language (OWL) October 23, 2002 Elisa F. KendallMark E. Dutra CEO & FounderChief Architect
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.
DOMAIN ONTOLOGY DESIGN
Building Trustworthy Semantic Webs
ece 627 intelligent web: ontology and beyond
Lecture #11: Ontology Engineering Dr. Bhavani Thuraisingham
Semantic Web - Ontologies
ece 720 intelligent web: ontology and beyond
Ontology-Based Approaches to Data Integration
Presentation transcript:

From Concepts to Knowledge – A Brief Introduction to Ontology Dr Owen Conlan Dr Alexander O’Connor

Just use XML, right? XML is Syntax DTDs talk about element nesting XML Schema schemas give you data types need anything else? => write comments! Domain Semantics is complex: implicit assumptions, hidden semantics  sources seem unrelated to the non-expert Need Structure and Semantics beyond XML trees!  employ richer OO models  make domain semantics and “glue knowledge” explicit  use ontologies to fix terminology and conceptualization  avoid ambiguities by using formal semantics XML DTDs and XML Schemas are sufficient for exchanging data between parties who have agreed to meaning of terms beforehand Ontologies are critical for exchanging data between applications from diverse parties in order to ensure terms used are semantically equivalent

Metadata Data describing the content and meaning of resources and services. But everyone must speak the same language… Terminologies Shared and common vocabularies For search engines, agents, curators, authors and users But everyone must mean the same thing… Ontologies Shared and common understanding of a domain Essential for search, exchange and discovery  Ontologies aim at sharing meaning [Carole Goble, Nigel Shadbolt, Ontologies and the Grid Tutorial] Sharing Semantics

The Meaning Triangle Humans require words (or at least symbols) to communicate efficiently. The mapping of words to things is indirect. We do it by creating concepts that refer to things. The relation between symbols and things has been described in the form of the meaning triangle: “Jaguar“ Concept Ogden, C. K. & Richards, I. A "The Meaning of Meaning." 8th Ed. New York, Harcourt, Brace & World, Inc before: Frege, Peirce; see [Sowa 2000] [Carole Goble, Nigel Shadbolt, Ontologies and the Grid Tutorial]

Human and Machine Communication... Things Human Agent 2 Ontology Description exchange symbol, e.g. via nat. language ‘‘JAGUAR“ Internal models Concept HA1 HA2 Symbol a specific domain, e.g. animals Ontology Formal Semantics Human Agent 1 commit Formal models Machine Agent 1 Machine Agent 2 exchange symbol, e.g. via protocols MA1MA2 commit Meaning Triangle [Maedche et al., 2002]

Representing knowledge There are a number of options As objects, using the well-accepted techniques of object-oriented analysis and design to capture a model As clauses, going back to the early days of AI and Lisp As XML, using the industry-standard structured mark-up language As graphs, making use of the things we know about graph theory As some combination of these We are looking for: extensibility, ease of use, ease of querying Which would you choose?

Graphs We can use the nodes of a graph for facts and the arcs as (binary) relationships between them Arcs are typically called predicates or relationships in this view The set of arcs intersecting a node tells us the information we know about that fact or entity Oriel 3.16 Simon Person1234 surname office

Graphs as knowledge – 1 How do we use graphs to represent knowledge? Oriel 3.16 Simon Dobson x Student 1 Person1234 surname firstname office phone extension Joe Bloggs surname firstname Contextual systems Software engineering Student 2 teaches takes A “key” from which to hang the different facts

Graphs as knowledge – 2 Things to note Scaling – the same graph can represent a load of different knowledge simultaneously Agreement – need to know what the various predicates “mean” Structure – you need to know what nodes are related by a predicate Plurality – the same relationship may appear several times Symmetry – the same predicates can be used for common information, despite minor changes Asymmetry – relationships are inherently directed, which sometimes makes things awkward For example both lecturers and students have names …and this can be difficult to keep straight So a knowledge (context) graph is inherently directed …and this can get very tricky

Two ways to view a graph As nodes and arcs Nodes store facts, edges store relationships between them As triples A three-place relationship of “subject, predicate, object” The node and edge structure is induced by the triples – each triple defines an edge, the different subjects/objects are the population of nodes, one node per individual string Simon Person1234 surname Person1234 surname Simon

Ontology: A definition An "ontology” describes the common words, concepts and relationships between concepts used to describe and represent an area of knowledge. An ontology can range from a Taxonomy (knowledge with minimal hierarchy or a parent/child structure) to a … Thesaurus (words and synonyms) to a …. Conceptual Model (with more complex knowledge) to a… Logical Theory (with very rich, complex, consistent and meaningful knowledge). A well-formed ontology is one that is expressed in a well-defined syntax that has a well-defined machine interpretation consistent with the above ontology definition

Ontology Modeling An explicit description of a domain Concepts (class, set, type, predicate) event, gene, gammaBurst, atrium, molecule, cat Properties of concepts and relationships between them (slot) Taxonomy: generalisation ordering among concepts isA, partOf, subProcess Relationship, Role or Attribute: functionOf, hasActivity location, eats, size animal rodent cow cat mouse eats dog domestic vermin [Carole Goble, Nigel Shadbolt, Ontologies and the Grid Tutorial] isA relationships

An explicit description of a domain Constraints or axioms on properties and concepts: value: integer domain: cat cardinality: at most 1 range: 0 <= X <= 100 oligonucleiotides < 20 base pairs cows are larger than dogs cats cannot eat only vegetation cats and dogs are disjoint Values or concrete domains integer, strings 20, trypotoplan-synthetase animal rodent cow cat mouse eats dog domestic vermin [Carole Goble, Nigel Shadbolt, Ontologies and the Grid Tutorial]

An explicit description of a domain Individuals or Instances sulphur, trpA Gene, felix Ontology versus Knowledge Base An ontology = concepts+properties+axioms+values A knowledge base = ontology+instances animal rodent cow cat mouse eats dog domestic vermin mickey felix jerry tom [Carole Goble, Nigel Shadbolt, Ontologies and the Grid Tutorial]

Difference between Relational Schema and Ontology Relational Schema primary purpose is to organise data within a database As we have seen previously relationships between entities are implicit and interpretation is necessary by program/human who accesses If the program/human lacks knowledge of semantics of the data or database then becomes unusable Ontology Relationships defined formally and interpretable by both human and program

Ontology Spectrum Taxonomy “is subclassication of” Thesaurus “x is a homonym of y, e.g. tank” Conceptual Model “Is subclass of” Logical Theory “Is disjoint subclass of with transitivity property” Can be arbitrary Term Semantic relations used: Synonyms, homonyms, narrower meaning, broader meaning Concepts, Properties, Relationships, Rules Axioms (range of statements asserted to be true) + Inference Rules (rules that given assumptions provide valid conclusions) Weak Semantics Strong Semantics [Daconta 2003] Relational Model Entity Relationship RDF/S, XTM UML OWL Description Logic First Order Logic

XML-based Ontology Languages DAML DAML+OIL DAML = DARPA Agent Markup Language OIL = Ontology Inference Layer OWL=Ontology Web Language OIL OWL All were influenced by RDF Topic Association Occurences XML Topic Maps (XTM)

Stack Architecture for Semantic Web

Ontology Design

Ontology terminology that we will use Class: Description of a concept in domain of discourse E.g. “Room” in the intelligent space domain Slot/Property: Describes attribute of a concept or relationship of a concept E.g. longtitude and latitude of a room provides its coordinates E.g. isSpatiallySubsumedBy – points to instance of class “Building” Facet/Restriction: Describes a constraint on a slot Slot cardinality e.g. one or many values allowed in slot Slot value type, e.g. String, Number, Boolean, Enummerated, Instance

Fundamental Rules in Ontology Design 1)There is no one correct way to model a domain— there are always viable alternatives. The best solution almost always depend on the application that you have in mind and the extensions that you anticipate. 2) Ontology development is necessarily an iterative process. 3)Concepts in the ontology should be close to objects (physical or logical) and relationships in your domain of interest. These are most likely to be nouns (objects) or verbs (relationships) in sentences that describe your domain

Step 1: Determine Scope and Domain of Ontology What is the domain that the ontology will cover? E.g representing an intelligent Universtity space For what we are going to use the ontology? E.g. applications that support roaming students, lecturers and visitors are going to use the ontology For what types of questions the information in the ontology should provide answers? E.g. to help roaming student print to the nearest printer etc. E.g. to help the university intelligent space applications to implement energy conservation policies etc. Who will use and maintain the ontology? E.g. if it is maintained by someone in TCD for TCD users but needs also to be used by visiting users from UCD etc., then mappings need to be included

Step 1: Competency Questions One way to determine scope is to list out the questions the knowledge base based on the ontology should be able to answer For example Which rooms have data projectors? Is ORI G.14 a conference room? Is there a conference room near restrooms? What is the best choice of room for a student tutorial? Judging from this list of questions, the ontology will include information on Various room types and characteristics Various event types and characteristics Classifications of rooms with respect to appropriateness for events Classifications of rooms with respect to location Classifications of rooms with respect to furniture/equipment

Introduction to Ontologies © Declan O’Sullivan 24 Step 2: Consider reusing other ontologies Examples UNSPSC ontology which provides terminology for products and services ( DAML ontologies

SWOOGLE is DEAD!

Step 3: Enumerate important terms in the ontology List of all terms we would like either to make statements about or to explain to a user. What are the terms we would like to talk about? What properties do those terms have? What would we like to say about those terms? For example, important a university intelligent space related terms will include Building, campus, restroom, room, hallway, stairs, chairs, projectors; different types of event, such as lecture, tutorial, seminar, meeting; and so on. Get a comprehensive list of terms without worrying about: overlap between concepts they represent, relations among the terms, or any properties that the concepts may have, or whether the concepts are classes or slots.

Step 4: Define the classes and class hierarchy From the list created in Step 3, we select the terms that describe objects having independent existence rather than terms that describe these objects. These terms will be classes in the ontology and will become anchors in the class hierarchy Multiple Inheritance allowed

Step 5: Define the properties of classes - slots In general, there are several types of object properties that can become slots in an ontology: “intrinsic” properties such as the capacity of the room; “extrinsic” properties such as a room’s name; parts, if the object is structured; these can be both physical and abstract “parts” (e.g., the courses of a meal) relationships to other individuals; these are the relationships between individual members of the class and other items (e.g., spatiallySubsumedBy, representing a relationship between a room and a CompoundPlace (subclasses are Building and Campus))

Step 6: Define the Facets of each Slot Facet: Describes a restriction on a slot Slot cardinality e.g. one or many values allowed in slot Slot value type, e.g. String, Integer, Boolean, Enummerated, Instance

In Protege Blue rectangle means property defined on this class Round brackets around rectangle means property inherited

Introduction to Ontologies © Declan O’Sullivan 31 Step 7: (Optionally) Create Instances Chief Honcho is an instance of the class Editor This instance has the following slot values defined

Seven steps to… 1.Determine scope and domain of ontology 2.Consider reusing existing ontologies 3.Ennumerate important terms in the ontology 4.Define the classes and class hierarchy 5.Define the properties of classes – slots Properties, relationships 6.Define the facets of slots Value type (String, Number, Boolean, Enummerated, Instance) Value cardinality 7.Define the instances

Thank you!