ontology engineering and tool -...

50
ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD Faculty of Pharmacy, Chiang Mai University [email protected]

Upload: others

Post on 05-Nov-2019

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD Faculty of Pharmacy, Chiang Mai University [email protected]

Page 2: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Ontology • A specification of conceptualization.

• A description (like a formal specification of a program) of the concepts and the relationships that can exist for an agent or a community of agents.

Page 3: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Ontology component

Concept

Property

Relationship

Constraint

Axiom

•  Concept •  Property •  Relationship •  Constraint •  Axiom

Page 4: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Concept • Concepts (among other things) are in general language-independent • Mental or logical representation reality • Related to other concept • Do not need symbols but hold them for means of

communication • A concept has

•  Intension or meaning • Extension i.e. the set of objects that the concept refer to

Page 5: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Relation • Object relation

•  IS-A relation • PART-OF relation • Specific relation

•  Equal •  Sameas •  Larger-than •  Not-equal •  different

• Defined relation

• Data relation (Attribute-of relation) • Boolean • String •  Integer •  Float • Number

Page 6: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Knowledge base

Taxonomy •  Vocabulary •  Structure

Ontology •  Taxonomy •  Relationships •  Constraints •  Axiom

Knowledge •  Ontology •  Instance

Page 7: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Markup languages

HTML XML RDF, RDFs

DAML-ONT, OIL OWL

•  OWL lite •  OWL DL •  OWL full

Page 8: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Ontology design approaches •  Inspiration approach

•  Base on individual creativities and personal views

•  Induction approach •  Created by observation and analysis of a particular case in that domain

• Deduction technique •  Applies general principles and adapts them according to a specific case

• Synthesis approach •  Identifies a set of ontologies and then synthesizes them with other

related concepts

• Collaborative approach •  Concern with a joint effort and using the group members experience

and opinions to build the ontology

Page 9: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Ontology development methodology • Enterprise modeling, Uschold and King • Methontology for the domain of chemicals, Fernandez-

Lopez et al •  The generic guidelines, Ontology 101 •  The knowledge meta process, Staab et al •  The OntoClean methodology for validation of “the

adequacy and logical consistency of taxonomix relationships”

•  The methodology for crating business ontology supporting semantics interoperability.

Page 10: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Ontology development Determine

scope

Consider reuse

Enumerate terms

Define classes

Define relations

Create instances

Noy, N.F., McGuiness, D. L.: Ontology Development 101: A Guide to Creating Your First Ontology, Stanford Knowledge Systems Laboratory Technical Report KSL-01-05, March 2001, protege.standford.edu/publications/ontology_development/ontology101-noy-mcguinness.html

Page 11: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

11

precede

drug X tablet

production

Individual (instance) Class (concept) line = is-a relation line =part-of relation

Ontology (concept)

Model (instance)

tablet production

SQC

EQC

manufacturing problem

compound

compound

compound

method

SQC EQC manufacturing problem

process

direct compression

granulation

dry granulation

wet granulation

compound

Unit operation

dry mixing

mixing drying

wet mixing

communition

compression

SQC1

EQC1 manufacturing

problem1

drug X

lactose

wet granulation1

SQC1 EQC1 manufacturing problem1

dry mixing1

compression1

wet granulation1

drug X lactose

croscarmellose sodium

croscarmellose sodium

wet mixing1

communition1

drying1

PVP

PVP dry mixing1

wet mixing1

communition1

drying1 compression1

precede

precede

precede

Page 12: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

FUNDAMENTAL RULES • There is no one correct way to model a domain— there

are always viable alternatives. The best solution almost always depends on the application that you have in mind and the extensions that you anticipate.

• Ontology development is necessarily an iterative process.

• 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.

Page 13: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Hozo VS Protege

Hozo

•  Is-A relation • Part-of relation • Attribute-of relation •  Instance editor • Separated file • Good graphic user

interface

Protege

• Class Tab • Object Properties Tab • Data Properties Tab •  Individual Tab • Single file • Many plug-in for protégé

•  Reasoner, JESS, SPARQL, SWRL

Page 14: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Ontology evaluations

The ‘Gold Standard’ evaluation

Data driven evaluation

Evaluation by humans

Application-based evaluation

Page 15: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Ontologies and Database: What’s difference? • What is it for? • What does it look like? • How do you build one? • How is it implemented and used? • Where are the semantics?

Michael F. Uschold Senior Ontology Consultant Semantic Arts - See more at: http://semtech2011.semanticweb.com/sessionPop.cfm?confid=62&proposalid=3859#sthash.3ymarvem.dpuf

Page 16: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Relation • Object relation

•  IS-A relation • PART-OF relation • Specific relation

•  Equal •  Sameas •  Larger-than •  Not-equal •  different

• Defined relation

• Data relation (Attribute-of relation) • Boolean • String •  Integer •  Float • Number

Page 17: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Is-a relation • An Is-a relation between A and B represents the relation

that all the characteristics of A is inherited to B.

A

B

Page 18: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Part-of relation • A Part-of relation between A and B represents the relation

that B is one of the component of A.

A

B p/o

Page 19: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Cardinality •  The value-cardinality of a binary-relation with respect to a

given domain instance is the number of range-elements to which the relation maps the domain-element.

• Defines how many values a slot can have.

Page 20: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Attribute-of relation • An Attribute-of relation between object and data type that

describe characteristics of object.

A

Data type a/o

Page 21: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Bicycle concept

part-of relation

wheel

saddle

pedals

handlebar

body

Class (concept)

bicycle

1

1

1

1

2

Page 22: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Bicycle concept (Cont.) bicycle

utility bicycles mountain bicycles

racing bicycles touring bicycles

cruiser bicycles BMX bicycles

Is-a relation Class (concept)

Page 23: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Is-a relation

Bicycle concept (Cont.) bicycle

utility bicycles mountain bicycles

racing bicycles touring bicycles

cruiser bicycles BMX bicycles

Class (concept)

Page 24: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Part-of relation

Bicycle concept (Cont.)

wheel

saddle

pedals

handlebar

body

Class (concept)

Is-a relation

utility bicycles

mountain bicycles

racing bicycles touring

bicycles

cruiser bicycles

BMX bicycles

bicycle

1

1

1

1

2

Page 25: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Part-of and Is-a relations(1) Skiing Hobby

Restaurant Hotel

Human Mammal

YeePeng Loy Kratong Festival

Page 26: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Part-of and Is-a relations(2) Plastic Glass(cup)

Midfield Football Team

Linux Computer

Mushroom Tomyum

Page 27: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Vehicle (Is-a relation) Vehicle

Air Vehicle

Ground Vehicle

Water Vehicle Space Vehicle Snow Vehicle

On water Vehicle

Under water Vehicle

Engine water Vehicle

Non-engine water Vehicle

Road Vehicle

Rail Vehicle

Page 28: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Ground Vehicle (Part-of) Ground

Vehicle

Road Vehicle

Rail Vehicle

Page 29: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Ground Vehicle (Part-of) Ground

Vehicle

Road Vehicle

Rail Vehicle

wheel p/o 1..

p/o 1

wheel

wheel p/o 1..

trunk p/o 0..

trunk p/o 1

Page 30: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Address

Address Address

part-of relation Is-a relation Class (concept)

Tambon Amphoe Province

Tambon

Amphoe

Province

1

1

1

Page 31: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

ทศพิธราชธรรม

ทศพิธราชธรรม ทศพิธราชธรรม

ทาน ศีล ความซื่อตรง

ทาน

ศีล

ความซื่อตรง

1

1

1

part-of relation Is-a relation Class (concept)

Page 32: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Hand

Body Organ

Hand Arm bone

Hand

Arm

Bone

1

1

1

part-of relation Is-a relation Class (concept)

Page 33: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Color

Eye

String

Eye

p/o 1 a/o 1

Color

Color

part-of relation Is-a relation Class (concept)

Page 34: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Hozo Environment(1) • Mizoguchi Lab., The Institute of Scientific and Industrial

Research, Osaka University •  Kouji Kozaki •  Mamoru Ohta •  Eiichi Sunagawa •  Yoshinobu Kitamura •  Mitsuru Ikeda •  Riichiro Mizoguchi

•  http://www.ei.sanken.osaka-u.ac.jp/ •  http://www.hozo.jp/hozo_eng/

Page 35: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Hozo Environment(2) • System requirements

•  Machine PC/AT compatible (DOS/V) •  CPU Intel Pentium Ⅲ processor, 800MHz or higher •  Memory 256MB or more RAM (512MB or more recommended) •  Hard Disk Space 30MB or more available hard disk space. •  Monitor Resolution 1024x768 (XGA) or higher •  OS* Windows 2000 or higher (Windows XP or higher

recommended),Mac OS X 10.4 or higher •  Java JRE/JDK 1.5.0_10 or higher (1.6.0 or higher recommended) •  Network Not required if using on a local machine. When sharing

within networks, clients and servers are connected via Ethernet using TCP/IP protocol.

Page 36: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Hozo Environment(3)

Hozo Ontology Editor Instance Editor (Model)

Page 37: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD
Page 38: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD
Page 39: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

File > new File … Project > new Project …

Page 40: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD
Page 41: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD
Page 42: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD
Page 43: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Right click > add Node …

Page 44: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD
Page 45: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD
Page 46: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD
Page 47: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

Right click > add Slot > part-of

Page 48: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD
Page 49: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD
Page 50: ONTOLOGY ENGINEERING AND TOOL - NECTECtext.hlt.nectec.or.th/ontology/sites/default/files/slides/OntologyEngineering4.pdf · ONTOLOGY ENGINEERING AND TOOL Nopphadol Chalortham, PhD

THANK YOU FOR YOUR ATTENTION [email protected]