Professional Documents
Culture Documents
Lecture 01 An Introduction To Ontology Engineering - Compressed
Lecture 01 An Introduction To Ontology Engineering - Compressed
Engineering
Dr. Yongxin Liao
Research Experience
2010 Master Internship
2008-2010
Enterprise Computing( M.E.) 2004-2008 Software Engineering (B.E.)
2008-2010 Software Engineering (M.E.)
2009-2010
2014-now PPGEPS (PNPD) Enterprise Computing( M.E.)
Ontology
(in informa;on science domain,
since 1980s)
The Famous Applica;ons of Ontology
• Medical Science
– E.g. Vocabulary Unifica;on
Siri [2]
Siri - Weather
• Three Ques;ons in the video
– “What is the weather like today?”
– “What is the hourly forecast?”
– “Do I need a raincoat today?”
• How is Siri capable of understanding the meanings of the concept
“weather”, “forecast” and “raincoat”?
• How is Siri capable of understanding the rela;onships between
them?
“raincoat”
? “forecast”
“weather”
Siri - Book a Restaurant
• One ques;on in the Video
– “Find me a great Greek restaurant in Palo Alto.”
?
“Palo Alto” “Loca;on”
?
“great” “Ra;ng”
Agent (Intelligent Personal Assistant)
descrip;on ofofhow
A clear and detailed specifica;on a to make
Ontology conceptualiza;on
an abstract, simplified view of the world.
How Mankind Abstracts and Simplifies the
World?
• The Seman;c Triangle
Pizza consists of a flat round base of dough
baked with a topping of tomatoes and cheese,
typically with added meat, fish, or vegetables.
stands for
Referents Symbols
Things in the Real World Signs that mankind gives
Pizza stands
stands for is a
for stands stands Tuna
Vegetable for stands for
for
contains contains
Sausage Pizza Tuna Pizza
Vegetable Pizza stands
stands contains stands
Sausage for for
for
stands
for is a
stands stands
stands
stands for for
for
for Meat
Vegetarian Pizza Non Vegetarian Pizza
is different from
I want a Pizza, and I
don’t want to eat
How this abstracted and simplified view looks like:
Fish or Meat today.
(1) Using Concepts to classify things in the world;
(2) Describing the rela;onships between Concepts;
(3) Use (1) and (2) to do Logical Inference . We have Vegetable
Waitress Pizzas Customer
“Model“
Engineering Fashion
Domain Domain
Exchanging
Vegetarian Pizza Informa;on
agreement
Seman;cs of Exchanged Seman;cs of Exchanged
Meanings of Meanings of Informa;on Informa;on
Vegetarian Pizza Vegetarian Pizza Formalize Ontology Exchanging
agreement Meanings
(Seman;cs)
Knowledge Base
ot ot
It is n It is n Real World
A Simple Example of using a concept
without or with agreement
Bright= giving
Bright= giving out much light
out much light Yes!
Noooo…
Analysts
Customers Analysts
Customers Agreement
Bright= giving
out much light
Bright= giving
Bright= Intelligent out much light
and quick-wibed
Designers Designers
Without an agreement in the concept “Bright” With an agreement in the concept “Bright”
√!
Documents Product Design Models Process Models
Data Models
Agreement Ontology
(Knowledge Base)
√!
Produc;on Data
Transporters Quality Managers Experienced Operators
MES
Delivery Management System
Quality Control System Manufacture System
√ Formal and Explicit Concepts and Rela;onships
√! !√
√!
Delivery Data
Machine State Data
Quality Control Data ! Implicit Meanings
Different Stages in a Product Life Cycle (PLC)
prepares all the resources that are models, realizes and tests mass produc;on of products and
need by Development Period a prototype product aper-sell services
Produc;on
E.g. For Suppor;ng System
Post-development Maintenance Interoperability and Knowledge Sharing
Re;rement
Ontology Applica;on – During the Product
Design Phase
• Keyword Explana;on
In other words, It is the conflict among two or more descrip;ons about one common
object.
An example:
This pizza is a vegetarian pizza.
Inconsistent Consistent
Reasoning Engine
Requirements Requirement
Knowledge
Base (1) Inconsistencies in Requirements
(2) Reasons of the Inconsistencies
Domain Knowledge
Ontology Applica;on – During the Pre-
Development Period
• An Example (Straightorward Explana;on)
Requirement Examples:
1. The system supports Photo Upload
2. Photos must not exceed 3Mb in size
3. Photos must support bitmaps of at most 1280 * 960 pixels
Bitmap
Examples
(1bits/pixel) (8bits/pixel) (24bits/pixel)
In case of
1280*960 pixels ≈0.14Mb ≈1.17Mb ≈3.51Mb
=> Requirement 2 and Requirement 3 are inconsistent with each other.
Ontology Applica;on – During the Pre-
Development Period
• An Example (Technical Explana;on)
Step 1 Domain Knowledge => OWL Expression
Domain Knowledge Example:
1. Bitmaps can require a color-depth of up to 24 bits per pixel (1,4,8,16,24 bits)
2. The size of a bitmap approximately equal to its pixels mul;plied by its bits
and divided by 8388608
(1 Mb= 1024 Kb= 1024*1024 bytes= 8*1024*1024bits=8388608bits)
Produc;on
E.g. For Suppor;ng System
Post-development Maintenance Interoperability and Knowledge Sharing
Re;rement
Ontology Applica;on – During the
Development Period
• One of the Research Ques;ons
– How to represent, share and reuse of exis;ng knowledge to assist
Product Design?
• A Brief Introduc;on of One Proposed Solu;on [5]
ISO 10303
(Product Technical
Data Standard)
Formaliza;on
User Interface
Domain Knowledge
about Cost Es;ma;on
(e.g. Labor Cost, Mar;al Cost,
Tooling Cost.)
Engineering Constrains
Verifica;on of Engineering Constraints
Specific Terms in
Cost Modeling Tool
(SEER-DFMTM)
and CAD System
(CATIA)
Ontology Applica;on – During the
Development Period
• An Example (Straightorward Explana;on)
Domain Knowledge
A CAD Model
(1) Duc;le cast iron is a material. This raw material costs $0.6325 per Kg.
(Based on the real ;me query of Cost Es;ma;on System: SEER-DFMTM)
Cost: $1.25
Ontology Applica;on – During the
Development Period
• An Example (Straightorward Explana;on)
Domain Knowledge
A CAD Model
(1) Duc;le cast irons is a material. This raw material costs $0.6325 per Kg.
(Based on the real ;me query of Cost Modelling System: SEER-DFMTM)
(2) Sand Cas;ng Process is a manufacturing process. The size range for
manufacturing process of sand cas;ng can be applied from 200 grams to 100
kilograms in weight.
Weight:
Weight:1.98
150 kilograms
grams
Cost: $1.25
Ontology Applica;on Examples
in a Product Life Cycle (PLC)
Produc;on
E.g. For Suppor;ng System
Post-development Maintenance Interoperability and Knowledge Sharing
Re;rement
Ontology Applica;on – During the
Produc;on Phase
• Keyword Explana;on (1/2)
“中午吃披萨?”
A B
Interoperability
Ontology Applica;on – During the
Produc;on Phase
• Keyword Explana;on (1/2)
“中午吃披萨?”
“好” B
A
Syntac;c Interoperability: E.g. Two systems exchange and display “中午吃披萨?” and “好”
Ontology
Seman;c Interoperability: E.g. Two systems share the meanings of “中午吃披萨?” (Pizza for lunch?)
and “好” (Ok).
Ontology Applica;on – During the
Produc;on Phase
• Keyword Explana;on (2/2)
In other words, a par;cular way of organizing data in a computer so that it can be used
efficiently.
An Example:
Curi;ba C0799
C0739
C0778 Ochakovo
Brahma
Harbin Beer
Harbin Moscow
In other words, a par;cular way of organizing data in a computer so that it can be used
efficiently.
An Example:
Curi;ba C0799
Product Company City
C0739
ID Name Name
C0778 Ochakovo
Brahma
Harbin Beer
Harbin Moscow
Step 1 Conceptualising Exis;ng Standards Step 2 Formalizing Informa;on Model into Product Ontology
Ontology Applica;on – During the Product
Design Phase
Domain Knowledge:
• Tradi;onal Data Exchange Scenario A City is located in a Country
Brazil, China, Russia are countries
Curi;ba is a city in Brazil
Harbin is a city in China
Moscow is a city in Russia
An example of data model in System One An example of data model in System Two
System One
System Three
System Two
System Five
System Four
Ontology Applica;on – During the Product
Design Phase
• Domain Knowledge => Domain Ontology
isLocatedIn
Domain Knowledge: Country City
A City is located in a Country
Brazil, China, Russia are countries
Curi;ba is a city in Brazil
Harbin is a city in China Brazil Curi;ba
Moscow is a city in Russia isLocatedIn
Russia Moscow
China Harbin
isLocatedIn
Domain Ontology:
Class: City, Country
Proper+es: isLocatedIn
isLocatedIn exactly 1
Individuals: Brazil, China, Russia, Curi;ba, Harbin, Moscow
Axioms: City isLocatedIn exactly 1 Country
Brazil type Country Graphical Explana;on
China type Country
Russia type Country
Curi;ba type City
Herbin type City
Moscow type City
Curi;ba isLocatedIn Brazil
Harbin isLocatedIn China
Moscow isLocatedIn Russia
Ontology Applica;on – During the Product
Design Phase
• Proposed Solu;on: Data Exchange based on Ontology
Domain Ontology:
Class: City, Country
Proper+es: isLocatedIn
Individuals: Brazil, China, Russia,
Curi;ba, Harbin, Moscow
Product Company City Axioms: City isLocatedIn exactly 1 Country Product Industry Country
ID Name Name Brazil type Country ID Name Name
China type Country
C0739 Brahma Curi;ba C0739 Brahma Brazil
Russia type Country
Curi;ba type City
C0778 Harbin Beer Harbin C0778 Harbin Beer
Herbin type City
Moscow type City C0799 Ochakovo
C0799 Ochakovo Moscow
Curi;ba isLocatedIn Brazil
Harbin isLocatedIn China
An example of data model in System One Moscow isLocatedIn Russia An example of data model in System Two
System One
System Three
System Two Domain Ontology
System Five
System Four
The Conclusion of An Ontology in the PLC?
• Ontology can :
– Formally Represent Knowledge
– Support the Reuse and Sharing of that Knowledge
– Assist the Iden;fica;on of Inconsistencies
– Support the Interoperability
– Discover New Knowledge
What Can You Learn From This Course?
• For students who want to have a research career.
– A Method to Formally Represent Knowledge
– A Solu;on to Share and Reuse Knowledge
– The Basis Principles to Support Them: Such as OWL 2 Syntax
Any Ques;ons?