SlideShare una empresa de Scribd logo
1 de 87
Descargar para leer sin conexión
Semantic Web and Ontology Engineering :
Seminar and Workshop
Dr.Krich Intratip (Peakmaker): PhD. in IT
IT Seminar on 15/05/2014
Agenda
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Fundamental of Semantic Web
Technology
Semantic Web application :
Development and Challenging
Research trend on Semantic Web
An Ontology Engineering :
GT Approach and Tools
Fundamental of Semantic Web
Technology
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Introduction
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Semantic Web was introduced
Berners-Lee at the Home Office,
London, 2010
T. Berners Lee, J. Hendler and O. Lassila.
The Semantic Web. Scientific American, May 2001.
”The Semantic Web is an extension of the
current web in which information is given
Well-defined meaning, better enabling
computers and people to work in
cooperation.”
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Semantic Web was introduced
Berners-Lee at the Home Office,
London, 2010
The semantic web : an interview with Tim Berners Lee, Consortium
Standard Bulletin, 2005.
http://www.consortiuminfo.org/bulletins/semanticweb.php
“The semantic web is designed to
smoothly interconnect personal
information management, enterprise
application integration, and the global
sharing of commercial, scientific and
culture data. We are talking about data
here, not human documents.”
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
7
What Is An Ontology?
• Ontology (Socrates & Aristotle 400-360 BC)
• The study of being
• Word borrowed by computing for the
explicit description of the conceptualization of a domain:
– concepts
– properties and attributes of concepts
– constraints on properties and attributes
– Individuals (often, but not always)
• An ontology defines
– a common vocabulary
– a shared understanding
http://www.co-ode.org/resources/tutorials/iswc2005
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Why Develop an Ontology?
• To share common understanding of the
structure of descriptive information
– among people
– among software agents
– between people and software
• To enable reuse of domain knowledge
– to avoid “re-inventing the wheel”
– to introduce standards to allow interoperability
http://www.co-ode.org/resources/tutorials/iswc2005
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Data-Information-Knowledge-Wisdom
Wisdom
Knowledge
Information
Data
Concept Technology
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
2.0 VS 3.0
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Database App. VS Semantic Web App.
Transaction
•Table & Data
•Relationship for join data
•Query
•Can’t separate domain knowledge
from programming code
•Intelligence by human
Semantic
•Concept & Instance
•Relationship create meaning
•Inference
•Domain knowledge independence
•Intelligence by machine
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Triple makes a semantic
Meaning
Subject
Predicate
Object
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Concept & Instance
Concept
instance
instance
instance
instance
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Structural Relations
Class roles Ontology
Super
class
Sub
class
Is-a
Part-of
Attribute
-of
RDF/OWL
Relations
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Semantic Web Stack
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Ontology
OWL
Knowledge Relation of Things
Logic
Database
Data
represents
represents
implemented by
is
is
SWRL
implemented by
applied with
Intelligence
introduces
Semantic Web Technology
is a kind of
is a kind of
Semantic Web Concept
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Group of entities
ClassInterested topics Relations
is a
captures from represented by
has
Knowledge
has a
Logic
Rules of the knowledge
Knowledge powerful
(Intelligence)
is a
increases
has a
Instances
Data items of the
concepts or entities
URI
are
referred bystored in
has
referred by
Semantic Web
Domain concept
used by
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
http://semanticweb.org/id/Denny_Vrandecic
URIs / IRIs
• URIs are “Uniform Resource Identifiers”
– IRI: Unicode-based “Internationalized Resource Identifiers”
• Every URI identifies one entity
• Semantic Web URIs usually use HTTP
– HyperText Transfer Protocol
– Can be resolved to get more data (ideally)
– Linked data
Protocol
Domain Local name
thing:Denny_Vrandecic
Prefix
Namespace
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
19
Angola Africa
Zambia
Country
Continent
type
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
20
http://ontoworld.org/id/Angola
http://ontoworld.org/id/Africa
http://ontoworld.org/id/Zambia
Angola
http://www.w3.org/2000/01/rdf-schema#label
Africa
Located in
Zambia
Country
Borders
Continent
http://ontoworld.org/id/Category:Country
http://ontoworld.org/id/Category:Continent
http://www.w3.org/1999/02/22/rdf-syntax-ns#type
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
21
http://ontoworld.org/id/Angola
http://ontoworld.org/id/Africa
http://ontoworld.org/id/Zambia
ประเทศแองโกลา
http://www.w3.org/2000/01/rdf-schema#label
ทวีปแอฟริกา
แห่ง
ประเทศแซมเบีย
ประเทศ
ชายแดน
ทวีป
http://ontoworld.org/id/Category:Country
http://ontoworld.org/id/Category:Continent
http://www.w3.org/1999/02/22/rdf-syntax-ns#type
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
22
http://ontoworld.org/id/Angola
http://ontoworld.org/id/Africa
http://ontoworld.org/id/Zambia
Angola
http://www.w3.org/2000/01/rdf-schema#label
Africa
Located in
Zambia
Country
Borders
Continent
http://ontoworld.org/id/Category:Country
http://ontoworld.org/id/Category:Continent
http://www.w3.org/1999/02/22/rdf-syntax-ns#type
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Slide 23
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Web 3.0, Semantic Web, Ontology, Linked data
• Web 3.0 เป็นยุคของเว็บจะเข้าใจเรื่องยุคของเว็บต้องไปดูความเป็นมาจาก Web
1.0(Hyperlink-Web of documents) -> Web 2.0(Social,
Collaborative, Networking Web) ->Web 3.0(Intelligent Web,
Web of linked data) ซึ่งแต่ละยุคก็เน้นประโยชน์การใช้งานเว็บไปคนละอย่าง
• Semantic Web เป็นเทคโนโลยีหนึ่งของ Web 3.0 ที่ว่าด้วยเว็บเชิงความหมายที่
คอมพิวเตอร์สามารถอ่านแล้วรับรู้ได้(machine readable) เทียบเคียงคล้ายกับ SOA ที่
เป็นเทคโนโลยีหนึ่งของ Web 2.0
• Ontology เป็น main component ของ Semantic Web หมายความว่าหาก
ไม่มี ontology แล้วก็จะไม่เกิด Semantic Web นั่นเอง แต่ ontology ไม่ใช่
ทั้งหมดของ Semantic Web แค่องค์ประกอบหลักเท่านั้น
• Linked data เป็นลักษณะหนึ่งหรือแนวทางหนึ่งในการ implement ตัว
Semantic Web แน่นอนที่สุดแล้วสิ่งที่อยู่เบื้องหลังมันก็คือ ontology นั่นเอง
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Knowledge representation and Ontology
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Semantic Web application
Development and Challenging
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
กระบวนการจัดการความรู้ (KM Processes)
Structuring
Knowledge
ดร.มารุต บูรณรัช, Ontology for Information System Design
and Development, 28 พฤศจิกายน 2553
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
สิ่งที่ต้องรู้ในการสร้าง Ontology
หน้าตาของความรู้ที่นามาสร้างเป็น Ontology เป็นอย่างไร?
ใครคือ Domain experts(ตัวจริงที่เป็นตัวแทนประชากรได้)/Stakeholders?
Intend to use
กระบวนการตรวจสอบความถูกต้อง
• ความรู้ที่นามาทาเป็น Ontology
• Well-formed Design of ontology
Ontology improvement
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
กระบวนการพัฒนา Ontology
http://protege.stanford.edu/publications/ontology_development/ontology
101-noy-mcguinness.html
Natalya F. Noy and Deborah L. McGuinness , Ontology Development 101:
A Guide to Creating Your First Ontology, Stanford University, Stanford, CA,
94305
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Some of ontology (re)-engineering processes
(Knowledge extraction)
• Define topic area
– หัวข้อที่สนใจคืออะไร?
• Define domain specific
– ประเด็นที่สนใจในหัวข้อนั้นที่ต้องการให้ความหมายหรือการอธิบายคืออะไร?
• Define intend to use (Domain expert)
– การให้ความหมายหรือการอธิบายนั้นเพื่อวัตถุประสงค์ใด?
• Breakdown into sub-domains/concepts
– กลุ่มแนวความคิดย่อยหรือความหมายกลุ่มย่อยคืออะไรบ้าง?
– Review literature (Consider reuse)
• Define indicators in each concept
• Define indicator measurement
• Define scale of the measurement
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Instrument & Ontology design
Domain
Intend to use
Concept
1
Concept
2
Att. 1 Att. 2 Att. 3 Att. 4 Att. 5
StringInt
ตัวบ่งชี้นามธรรม
ตัวบ่งชี้สังเกตได้
มาตรวัด
ขอบเขต
ให้ความหมาย
ในสิ่งที่ต้องการ
อธิบาย
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Principle of defining class and its relation
• Class (นามธรรมที่ต้องการการอธิบาย)
– มี class node อยู่ 2 ประเภท
• Concept node ควรต้องได้รับการอธิบายเพิ่มเติมจาก node อื่น
– กฎ : ไม่สามารถเป็นที่อยู่ของ Instance ได้
• Attribute node ควรต้องได้รับการอธิบายเพิ่มเติมด้วยการใส่ Instance
– กฎ : เป็นที่อยู่ของ Instance
– มีความสัมพันธ์ระหว่าง concept node ได้สองแบบ
• Is-a, Part-of
– มีความสัมพันธ์ระหว่าง concept node กับ Attribute node ได้
แบบเดียว คือ Attribute-of
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Principle of defining instance and its relation
• Instance (data item)
– กฎ : ต้องถูกบรรจุอยู่ใน Attribute node
• One fact in one place
• Atomic value
• Relation
– กับ Attribute node เป็น Instance-of
– ระหว่าง Instance อื่นใน Attribute node อื่นจะเป็น Has_???
• เข้าใจธรรมชาติของ Instance ว่าสามารถเจริญเติมโตไปเป็น Node ได้เมื่อ
มีการเปลี่ยนแปลงจาเป็นต้อง re-structure ontology
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Class/Instance and their relations
concept
concept
concept
concept
concept
attribute
Is-a Part-of Att-of
Ins-of
parent
child
Intrinsic/Concrete VS Extrinsic/Logical
instance
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
INFERENCE ?
QUERY & RULE
35
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Inference and Decision
• ข้อเท็จจริง
– ความสูง(m)
– น้าหนัก(kg)
• เกิดคุณสมบัติตามมา (Query)
– BMI = น้าหนัก(kg) / ความสูง(m) ยกกาลังสอง
• การอนุมาน
– ใช้เกณฑ์มาตัดสิน หรือการให้ความหมาย
http://en.wikipedia.org/wiki/First-order_logic
http://www.chulabook.com/description.asp?barcode=978974
0326960
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
การทาอนุมาน
ภาวะ ค่าดัชนีความหนาที่คานวณได้
ผอม ระดับ 4 < 16.0
ผอม ระดับ 3 16.0-16.9
ผอม ระดับ 2 17.0-18.4
ผอม ระดับ 1 18.5-19.9
ปกติ 20.0-24.9
อ้วน ระดับ1 25.0-29.9
อ้วน ระดับ 2 30.0-39.9
อ้วน ระดับ 3 > 40.0
http://www.thailabonline.com/BMI.htm
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
หลักการสาคัญในการออกแบบ Ontology
• พิจารณาความละเอียดหยาบของสิ่งที่ต้องการอธิบาย และให้แต่ละระดับของการ
อธิบายมีความละเอียดหยาบพอๆกัน (Generic VS Specific)
• ปกติแล้ว Ontology ใช้หลักการจัดกลุ่มจัดประเภทข้อมูลหรือกลุ่มแนวคิด
เป็นหมวดหมู่ (Taxonomy) เป็น Hierarchy แล้วใช้ First order
logic ในการอนุมานความหมาย ซึ่งความหมายจะไม่คลุมเครือถ้าหากข้อมูล
หรือกลุ่มแนวคิดนั้นมีอยู่ที่เดียว(Unique) ในโครงสร้าง Ontology
• จะเพิ่มความสามารถในการ Reuse ให้กับ Ontology ได้ โดยทาให้
Ontology นั้นมีความหมายชัดเจนอย่างใดอย่างหนึ่งตามเจตนารมณ์การใช้
งาน
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Ontology quality attributes
• Business (Usage) Objectives and scope must
be clearly identified
• Knowledge must be reliable
• Knowledge must be accessible and available
• Knowledge must be shared and integrated
seamlessly
intention
reliable
sources/processes
Web technology
and triple
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Knowledge & Ontology development life cycle
Describe
domain and
intend to use
Instrument
development
Gather
information
Build up
domain
knowledge
Practice
based
ontology
design
Inference
over
ontology
meaning
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Maintenance and performance problems
Hard to
maintenance
Domain knowledge
is in both its
ontology and its
programming code
One fact is in many
places
Lack of
performance
Ontology is
too big
Unnecessary
nodes or
instances
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Goals
Easy to
maintenance
Increase
performance
Ontology
improvement
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Domain knowledge is in both the ontology and
its programming code
• Not only programming problem but also
ontology design problem
• Domain knowledge should be in ontology and
should not be in programming code
• Hard to maintain the ontology (adding,
deleting, removing, modifying)
• Blur in domain and range of the attribute
• Cause to composite value
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Example of composite value
Black color Label
Black Label Red Label
Black box, color of box is black
Red Box, color of box is red
Black t-shirt,
color of t-shirt is black
Product name
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Example of composite value
Black color Label
Black Label Red Label
Black box, color of box is black
Red Box, color of box is red
Black t-shirt,
color of t-shirt is black
Product name
Composite value Non-composite value
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Example of composite value
Black color Label
Black Label Red Label
Black box, color of box is black
Red Box, color of box is red
Black t-shirt,
color of t-shirt is black
Product name
It is a design problem issue, not only programming problem issue.
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Some domain knowledge are thrown
in Programming area
Composite value
Ontology area
Programming area
“Blackbox”
“Black box”
Black
Box
Separateto
What does it mean?
What is the box color?
What is the item?
for
for
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Optimizing Rules
• Step-wise approach for improving for ontology
design
– 4 optimizing rules
• Remove composite-values to optimize the
maintenance
• Remove one fact in many places to optimize the
maintenance
• Remove unused class to optimize the performance
• Remove unnecessary class to optimize the
maintenance and performance
“Optimize both the maintenance and performance”
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Research trend on Semantic Web
Berners-Lee says the next big thing for changing and
understanding the world, and the next big thing for the
internet, is the ability to access whatever data we need,
whenever we need it. By connecting our data together
we can solve world problems and make life easier.
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Web Technology Trend
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Research trend
Semantic Search
•New Google
•Helpdesk
Recommendations
•DSS
•suggestion
Personalized assistant
•Meeting
•Planning
•Living
•Personalize
Business intelligent
•Education/Library
•Healthcare
•Advertisement
•CRM
Linked data
•Large scale/Big data
•Semantic based CMS
•Multimedia
Geo-based
•Military
•Agriculture
•Infrastructure
Knowledge engineering Knowledge grid Knowledge repository NLP
Knowledge as Service Knowledge transformation Cloud computing
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Linked-data : Method
Collabora-
ting
SharingUsingAdjusting
Genera-
ting
Training
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Semantic-Based Geo
Geo
Event
PersonTime
Object
Transaction
http://www.geonames.org/
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Ontology engineering
60
7 ontology design problems
(150 samples from in-depth interview)
0%
10%
20%
30%
40%
50%
60%
70%
80%
90%
100%
Structure
Redundancy
Composite value
InferencePerformance
Reusablility
Maintainablility
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Ontology building problems
(150 samples from in-depth interview)
7
problems
Design Knowledge
acquisition
87% 100%
Solved 67% Solved 7%
Design
principle
SourcesExtraction
method
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Research problems
• Ontology is not reliable
Problems
Mistake on ontology
design
Ontology is not fit
Mistake on knowledge
extraction process
Semantic Web
development
Semantic Web application
performance
Reliabilityon
Semantic Web application
Impact
ImpactImpact
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
An example of relevance theory
56/20 หมู่ 5 ต.ปลายบาง อ.บางกรวย จ.นนทบุรี 11130
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Ontology study
Ontology
studyAI
Knowledge
representation
Description
logic
Meaning of
ontology
RDF OWL SWRL Ontology
development
Ontology
engineering
Ontology
design
Ontology
improvement
Semantic web
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Business rule approach
• List business rules using If-Then format and
align them
• Identify nodes(concept and attribute) and
their relations
• Group rules within nodes
• Identify Usecase
• Create procedure
• Create OWL using nodes and their relations
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Scenario
• Case : OO-Programming expert
• Need to know who are the expert in OO-
Programming though, the system has no
related information about OO in
knowledgebase
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
List business rules
• If the man know C++ then imply that the man knows OO
• If the man know C# then imply that the man knows OO
• If the man know Java then imply that the man knows OO
• If the man know C then imply that the man knows Structure programming
• If the man know Pascal then imply that the man knows Structure
programming
• If the man know VB then imply that the man knows .Net framework
• If the man know C# then imply that the man knows .Net framework
• If the man know PHP then imply that the man knows web programming
• If the man know ASP then imply that the man knows web programming
• If the man know JSP then imply that the man knows web programming
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Identify nodes(concept and attribute)
• Concept nodes
– Person
• Attribute nodes
– Name
– Programming skills
• Instances
– C++
– C#
– Java
– C
– Pascal
– PHP
– ASP
– JSP
– IT Knowledge
• OO
• .Net framework
• Structure programming
• Web programming
• Relation
– Name (att-of) Person
– Programming skills (att-of) Person
– Name (has_Skills) Programming skills
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Group rules and nodes
• G#1 : Who knows OO (Name has_skills Programming skills)
– If the man know C++ then imply that the man know OO
– If the man know C# then imply that the man know OO
– If the man know Java then imply that the man know OO
• G#2 : Who knows structure programming (Name has_skills Programming
skills)
– If the man know C then imply that the man know Structure programming
– If the man know Pascal then imply that the an know Structure programming
• G#3 : Who knows .Net framework (Name has_skills Programming skills)
– If the man know VB then imply that the man know .Net framework
– If the man know C# then imply that the man know .Net framework
• G#4 : Who knows web programming (Name has_skills Programming skills)
– If the man know PHP then imply that the man know web programming
– If the man know ASP then imply that the man know web programming
– If the man know JSP then imply that the man know web programming
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Identify Usecase
List person who knows structure
programming
List person who kows OO
List persone who knows .Net
framework
User
List person who knows web
programming
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Create procedure
Start
List imply
options
List OO List
structure P.
List .Net List web P.
End
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Create OWL using nodes and their
relations
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Roles and Relationships (ontology improvement)
concept
concept
concept
concept
concept
Is-a Part-of Att-of
Ins-of
Subject
Object
Predicate
attribute
instance
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Relationship assignment
parent node child node relation meaning
concept classnode concept classnode is-a superset/subset
concept class node concept classnode part-of component
concept class node attribute classnode attribute-of property
attribute class node instance node instance-of fact
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
ตัวอย่างการสร้าง Ontology ตามแนวทาง GT
• Ref. : เอกสารข้อมูลตัวอย่าง
OWL: Things
Person
Thai_person
Address
Name
Address
Title
Gender
Status
House_no
Tumbol
District
Province
Post_code
Somchai
Somporn
Wipoj
Somjit
Jintana
Mr.
Miss
Mrs.
Ms.
male
female
single
married
divorce
widowed
100
56
72 Plai-Bang
Bang-Pood
Tale-Chupsorn
Bang-Kruai
Park-Ked
Meuang
Nonthaburi
Lop-Buri
10300
11130
15000
Is_a
Is_a
P/o
a/o
a/o
I/o
I/o
I/o
I/o
I/o
I/o
I/o
I/o
I/o
Is_a
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
OWL: Things
Person
Thai_person
Address
Name
Address
Title
Status
House_no
Tumbol
District
Province
Post_code
Somchai
Somporn
Wipoj
Somjit
Jintana
Mr.
Miss
Mrs.
Ms.
single
married
divorce
widowed
100
56
72 Plai-Bang
Bang-Pood
Tale-Chupsorn
Bang-Kruai
Park-Ked
Meuang
Nonthaburi
Lop-Buri
10300
11130
15000
Is_a
Is_a
P/o
a/o
a/o
I/o
I/o
I/o
I/o
I/o
I/o
I/o
I/o
Is_a
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Grounded theory : coding
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
การสร้าง ontology จาก GTM
Ontology using GT with improvement method
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
Role assignment Flow
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
RDF-OWL-DL-GT
IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
แนะนา Hozo ontology editor
Ref: คู่มือการใช้งาน Hozo-Ontology Editor (NECTEC, 2555)
อ่านเพิ่มเติม
• คู่มือการใช้งาน Protégé
• การใช้งาน SWRL บน Protégé
• Blog : Potheus
@http://potheus.blogspot.com/
• Discussion
@https://www.facebook.com/groups/zimmati
clab
• ขอเชิญชวน ร่วมงานและส่ง paper ในงาน International Conference :
the 4th Joint International Semantic Technology
(JIST2014) conference
• งานจัดวันที่ 9-11 พ.ย. 2014 ที่เชียงใหม่ ในธีม “Open Data and Semantic
Technology” deadline ส่ง paper : 1 ส.ค.2014
• งานนี้คุ้มมาก ท่านจะได้รู้จักกับนักวิชาการ ผู้เชี่ยวชาญที่ทางานเกี่ยวกับ Semantic
Web Technology โดยตรง สามารถเข้าพูดคุย ปรึกษา หารือ ได้อย่างเป็นกันเอง
(แอบกระซิบว่าหลายๆท่านจบการศึกษาเพราะท่านผู้เชี่ยวชาญเหล่านี้มาเยอะแล้วดังนั้นอย่า
พลาดโอกาสที่ดีๆเช่นนี้)
• นอกจากนี้ท่านยังได้มีโอกาส workshop กับผู้พัฒนา HoZo : Ontology
Editor Tool โดยตรง (อะไรจะดีขนาดนี้)
รายละเอียดเพิ่มเติมที่ : http://language-semantic.org/jist2014/
ขอขอบคุณทุกท่านครับ
ข้อเสนอแนะ หรือ ข้อซักถาม
Dr.Krich Intratip : Peakmaker
Dr.Sasiporn Usanavasin
FB: Zimmantic lab
https://www.facebook.com/groups/zimmaticlab/
FB: SEM Study Lab
https://www.facebook.com/groups/SEMStudyLab/

Más contenido relacionado

Similar a Semantic Web Technology @KMUTNB Seminar 15052014

Digital Content and Website Standard
Digital Content and Website StandardDigital Content and Website Standard
Digital Content and Website StandardBoonlert Aroonpiboon
 
การสร้าง e-Learning แบบปฏิสัมพันธ์ผ่าน Social Media และ Google Apps for Educa...
การสร้าง e-Learning แบบปฏิสัมพันธ์ผ่าน Social Media และ Google Apps for Educa...การสร้าง e-Learning แบบปฏิสัมพันธ์ผ่าน Social Media และ Google Apps for Educa...
การสร้าง e-Learning แบบปฏิสัมพันธ์ผ่าน Social Media และ Google Apps for Educa...Panita Wannapiroon Kmutnb
 
ระบบ เทคนิค และมาตรฐาน ในการพัฒนา(เว็บไซต์)ห้องสมุด ในฐานะบริการสาธารณะ (เอกสาร)
ระบบ เทคนิค และมาตรฐาน ในการพัฒนา(เว็บไซต์)ห้องสมุด ในฐานะบริการสาธารณะ (เอกสาร)ระบบ เทคนิค และมาตรฐาน ในการพัฒนา(เว็บไซต์)ห้องสมุด ในฐานะบริการสาธารณะ (เอกสาร)
ระบบ เทคนิค และมาตรฐาน ในการพัฒนา(เว็บไซต์)ห้องสมุด ในฐานะบริการสาธารณะ (เอกสาร)Arthit Suriyawongkul
 
Opendream web-lib-standards-doc-20100703
Opendream web-lib-standards-doc-20100703Opendream web-lib-standards-doc-20100703
Opendream web-lib-standards-doc-20100703opendream
 
Opendream web-lib-standards-doc-20100703
Opendream web-lib-standards-doc-20100703Opendream web-lib-standards-doc-20100703
Opendream web-lib-standards-doc-20100703opendream
 
ใบความรู้ที่ 2
ใบความรู้ที่ 2ใบความรู้ที่ 2
ใบความรู้ที่ 2Rattana Wongphu-nga
 
Digital Textbooks & Technology for Education
Digital Textbooks & Technology for EducationDigital Textbooks & Technology for Education
Digital Textbooks & Technology for EducationBoonlert Aroonpiboon
 

Similar a Semantic Web Technology @KMUTNB Seminar 15052014 (20)

Digital Content and Website Standard
Digital Content and Website StandardDigital Content and Website Standard
Digital Content and Website Standard
 
20100612 digital-metadata
20100612 digital-metadata20100612 digital-metadata
20100612 digital-metadata
 
การสร้าง e-Learning แบบปฏิสัมพันธ์ผ่าน Social Media และ Google Apps for Educa...
การสร้าง e-Learning แบบปฏิสัมพันธ์ผ่าน Social Media และ Google Apps for Educa...การสร้าง e-Learning แบบปฏิสัมพันธ์ผ่าน Social Media และ Google Apps for Educa...
การสร้าง e-Learning แบบปฏิสัมพันธ์ผ่าน Social Media และ Google Apps for Educa...
 
อติมา อุ่นจิตร
อติมา  อุ่นจิตรอติมา  อุ่นจิตร
อติมา อุ่นจิตร
 
แบบเสนอดครงงาน
แบบเสนอดครงงานแบบเสนอดครงงาน
แบบเสนอดครงงาน
 
Proposal ict2
Proposal ict2Proposal ict2
Proposal ict2
 
Proposal ict2
Proposal ict2Proposal ict2
Proposal ict2
 
Computer projrct 3
Computer projrct 3Computer projrct 3
Computer projrct 3
 
Library 2.0
Library 2.0Library 2.0
Library 2.0
 
9999
99999999
9999
 
ระบบ เทคนิค และมาตรฐาน ในการพัฒนา(เว็บไซต์)ห้องสมุด ในฐานะบริการสาธารณะ (เอกสาร)
ระบบ เทคนิค และมาตรฐาน ในการพัฒนา(เว็บไซต์)ห้องสมุด ในฐานะบริการสาธารณะ (เอกสาร)ระบบ เทคนิค และมาตรฐาน ในการพัฒนา(เว็บไซต์)ห้องสมุด ในฐานะบริการสาธารณะ (เอกสาร)
ระบบ เทคนิค และมาตรฐาน ในการพัฒนา(เว็บไซต์)ห้องสมุด ในฐานะบริการสาธารณะ (เอกสาร)
 
Opendream web-lib-standards-doc-20100703
Opendream web-lib-standards-doc-20100703Opendream web-lib-standards-doc-20100703
Opendream web-lib-standards-doc-20100703
 
Opendream web-lib-standards-doc-20100703
Opendream web-lib-standards-doc-20100703Opendream web-lib-standards-doc-20100703
Opendream web-lib-standards-doc-20100703
 
Utcc cloud computing-seminar55
Utcc cloud computing-seminar55Utcc cloud computing-seminar55
Utcc cloud computing-seminar55
 
ใบความรู้ที่ 2
ใบความรู้ที่ 2ใบความรู้ที่ 2
ใบความรู้ที่ 2
 
Digital Textbooks & Technology for Education
Digital Textbooks & Technology for EducationDigital Textbooks & Technology for Education
Digital Textbooks & Technology for Education
 
20080314 Greenstone
20080314 Greenstone20080314 Greenstone
20080314 Greenstone
 
Technology for Digital Library
Technology for Digital LibraryTechnology for Digital Library
Technology for Digital Library
 
IT Skill and social media tool
IT Skill and social media toolIT Skill and social media tool
IT Skill and social media tool
 
Thai Research
Thai ResearchThai Research
Thai Research
 

Semantic Web Technology @KMUTNB Seminar 15052014

  • 1. Semantic Web and Ontology Engineering : Seminar and Workshop Dr.Krich Intratip (Peakmaker): PhD. in IT IT Seminar on 15/05/2014
  • 2. Agenda IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip Fundamental of Semantic Web Technology Semantic Web application : Development and Challenging Research trend on Semantic Web An Ontology Engineering : GT Approach and Tools
  • 3. Fundamental of Semantic Web Technology IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 4. Introduction IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 5. Semantic Web was introduced Berners-Lee at the Home Office, London, 2010 T. Berners Lee, J. Hendler and O. Lassila. The Semantic Web. Scientific American, May 2001. ”The Semantic Web is an extension of the current web in which information is given Well-defined meaning, better enabling computers and people to work in cooperation.” IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 6. Semantic Web was introduced Berners-Lee at the Home Office, London, 2010 The semantic web : an interview with Tim Berners Lee, Consortium Standard Bulletin, 2005. http://www.consortiuminfo.org/bulletins/semanticweb.php “The semantic web is designed to smoothly interconnect personal information management, enterprise application integration, and the global sharing of commercial, scientific and culture data. We are talking about data here, not human documents.” IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 7. 7 What Is An Ontology? • Ontology (Socrates & Aristotle 400-360 BC) • The study of being • Word borrowed by computing for the explicit description of the conceptualization of a domain: – concepts – properties and attributes of concepts – constraints on properties and attributes – Individuals (often, but not always) • An ontology defines – a common vocabulary – a shared understanding http://www.co-ode.org/resources/tutorials/iswc2005 IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 8. Why Develop an Ontology? • To share common understanding of the structure of descriptive information – among people – among software agents – between people and software • To enable reuse of domain knowledge – to avoid “re-inventing the wheel” – to introduce standards to allow interoperability http://www.co-ode.org/resources/tutorials/iswc2005 IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 10. 2.0 VS 3.0 IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 11. Database App. VS Semantic Web App. Transaction •Table & Data •Relationship for join data •Query •Can’t separate domain knowledge from programming code •Intelligence by human Semantic •Concept & Instance •Relationship create meaning •Inference •Domain knowledge independence •Intelligence by machine IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 12. Triple makes a semantic Meaning Subject Predicate Object IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 13. Concept & Instance Concept instance instance instance instance IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 14. Structural Relations Class roles Ontology Super class Sub class Is-a Part-of Attribute -of RDF/OWL Relations IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 15. Semantic Web Stack IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 16. Ontology OWL Knowledge Relation of Things Logic Database Data represents represents implemented by is is SWRL implemented by applied with Intelligence introduces Semantic Web Technology is a kind of is a kind of Semantic Web Concept IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 17. Group of entities ClassInterested topics Relations is a captures from represented by has Knowledge has a Logic Rules of the knowledge Knowledge powerful (Intelligence) is a increases has a Instances Data items of the concepts or entities URI are referred bystored in has referred by Semantic Web Domain concept used by IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 18. http://semanticweb.org/id/Denny_Vrandecic URIs / IRIs • URIs are “Uniform Resource Identifiers” – IRI: Unicode-based “Internationalized Resource Identifiers” • Every URI identifies one entity • Semantic Web URIs usually use HTTP – HyperText Transfer Protocol – Can be resolved to get more data (ideally) – Linked data Protocol Domain Local name thing:Denny_Vrandecic Prefix Namespace IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 19. 19 Angola Africa Zambia Country Continent type IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 23. Slide 23 IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 24. Web 3.0, Semantic Web, Ontology, Linked data • Web 3.0 เป็นยุคของเว็บจะเข้าใจเรื่องยุคของเว็บต้องไปดูความเป็นมาจาก Web 1.0(Hyperlink-Web of documents) -> Web 2.0(Social, Collaborative, Networking Web) ->Web 3.0(Intelligent Web, Web of linked data) ซึ่งแต่ละยุคก็เน้นประโยชน์การใช้งานเว็บไปคนละอย่าง • Semantic Web เป็นเทคโนโลยีหนึ่งของ Web 3.0 ที่ว่าด้วยเว็บเชิงความหมายที่ คอมพิวเตอร์สามารถอ่านแล้วรับรู้ได้(machine readable) เทียบเคียงคล้ายกับ SOA ที่ เป็นเทคโนโลยีหนึ่งของ Web 2.0 • Ontology เป็น main component ของ Semantic Web หมายความว่าหาก ไม่มี ontology แล้วก็จะไม่เกิด Semantic Web นั่นเอง แต่ ontology ไม่ใช่ ทั้งหมดของ Semantic Web แค่องค์ประกอบหลักเท่านั้น • Linked data เป็นลักษณะหนึ่งหรือแนวทางหนึ่งในการ implement ตัว Semantic Web แน่นอนที่สุดแล้วสิ่งที่อยู่เบื้องหลังมันก็คือ ontology นั่นเอง IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 25. Knowledge representation and Ontology IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 26. Semantic Web application Development and Challenging IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 27. กระบวนการจัดการความรู้ (KM Processes) Structuring Knowledge ดร.มารุต บูรณรัช, Ontology for Information System Design and Development, 28 พฤศจิกายน 2553 IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 28. สิ่งที่ต้องรู้ในการสร้าง Ontology หน้าตาของความรู้ที่นามาสร้างเป็น Ontology เป็นอย่างไร? ใครคือ Domain experts(ตัวจริงที่เป็นตัวแทนประชากรได้)/Stakeholders? Intend to use กระบวนการตรวจสอบความถูกต้อง • ความรู้ที่นามาทาเป็น Ontology • Well-formed Design of ontology Ontology improvement IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 29. กระบวนการพัฒนา Ontology http://protege.stanford.edu/publications/ontology_development/ontology 101-noy-mcguinness.html Natalya F. Noy and Deborah L. McGuinness , Ontology Development 101: A Guide to Creating Your First Ontology, Stanford University, Stanford, CA, 94305 IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 30. Some of ontology (re)-engineering processes (Knowledge extraction) • Define topic area – หัวข้อที่สนใจคืออะไร? • Define domain specific – ประเด็นที่สนใจในหัวข้อนั้นที่ต้องการให้ความหมายหรือการอธิบายคืออะไร? • Define intend to use (Domain expert) – การให้ความหมายหรือการอธิบายนั้นเพื่อวัตถุประสงค์ใด? • Breakdown into sub-domains/concepts – กลุ่มแนวความคิดย่อยหรือความหมายกลุ่มย่อยคืออะไรบ้าง? – Review literature (Consider reuse) • Define indicators in each concept • Define indicator measurement • Define scale of the measurement IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 31. Instrument & Ontology design Domain Intend to use Concept 1 Concept 2 Att. 1 Att. 2 Att. 3 Att. 4 Att. 5 StringInt ตัวบ่งชี้นามธรรม ตัวบ่งชี้สังเกตได้ มาตรวัด ขอบเขต ให้ความหมาย ในสิ่งที่ต้องการ อธิบาย IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 32. Principle of defining class and its relation • Class (นามธรรมที่ต้องการการอธิบาย) – มี class node อยู่ 2 ประเภท • Concept node ควรต้องได้รับการอธิบายเพิ่มเติมจาก node อื่น – กฎ : ไม่สามารถเป็นที่อยู่ของ Instance ได้ • Attribute node ควรต้องได้รับการอธิบายเพิ่มเติมด้วยการใส่ Instance – กฎ : เป็นที่อยู่ของ Instance – มีความสัมพันธ์ระหว่าง concept node ได้สองแบบ • Is-a, Part-of – มีความสัมพันธ์ระหว่าง concept node กับ Attribute node ได้ แบบเดียว คือ Attribute-of IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 33. Principle of defining instance and its relation • Instance (data item) – กฎ : ต้องถูกบรรจุอยู่ใน Attribute node • One fact in one place • Atomic value • Relation – กับ Attribute node เป็น Instance-of – ระหว่าง Instance อื่นใน Attribute node อื่นจะเป็น Has_??? • เข้าใจธรรมชาติของ Instance ว่าสามารถเจริญเติมโตไปเป็น Node ได้เมื่อ มีการเปลี่ยนแปลงจาเป็นต้อง re-structure ontology IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 34. Class/Instance and their relations concept concept concept concept concept attribute Is-a Part-of Att-of Ins-of parent child Intrinsic/Concrete VS Extrinsic/Logical instance IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 35. INFERENCE ? QUERY & RULE 35 IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 36. Inference and Decision • ข้อเท็จจริง – ความสูง(m) – น้าหนัก(kg) • เกิดคุณสมบัติตามมา (Query) – BMI = น้าหนัก(kg) / ความสูง(m) ยกกาลังสอง • การอนุมาน – ใช้เกณฑ์มาตัดสิน หรือการให้ความหมาย http://en.wikipedia.org/wiki/First-order_logic http://www.chulabook.com/description.asp?barcode=978974 0326960 IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 37. การทาอนุมาน ภาวะ ค่าดัชนีความหนาที่คานวณได้ ผอม ระดับ 4 < 16.0 ผอม ระดับ 3 16.0-16.9 ผอม ระดับ 2 17.0-18.4 ผอม ระดับ 1 18.5-19.9 ปกติ 20.0-24.9 อ้วน ระดับ1 25.0-29.9 อ้วน ระดับ 2 30.0-39.9 อ้วน ระดับ 3 > 40.0 http://www.thailabonline.com/BMI.htm IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 38. หลักการสาคัญในการออกแบบ Ontology • พิจารณาความละเอียดหยาบของสิ่งที่ต้องการอธิบาย และให้แต่ละระดับของการ อธิบายมีความละเอียดหยาบพอๆกัน (Generic VS Specific) • ปกติแล้ว Ontology ใช้หลักการจัดกลุ่มจัดประเภทข้อมูลหรือกลุ่มแนวคิด เป็นหมวดหมู่ (Taxonomy) เป็น Hierarchy แล้วใช้ First order logic ในการอนุมานความหมาย ซึ่งความหมายจะไม่คลุมเครือถ้าหากข้อมูล หรือกลุ่มแนวคิดนั้นมีอยู่ที่เดียว(Unique) ในโครงสร้าง Ontology • จะเพิ่มความสามารถในการ Reuse ให้กับ Ontology ได้ โดยทาให้ Ontology นั้นมีความหมายชัดเจนอย่างใดอย่างหนึ่งตามเจตนารมณ์การใช้ งาน IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 39. Ontology quality attributes • Business (Usage) Objectives and scope must be clearly identified • Knowledge must be reliable • Knowledge must be accessible and available • Knowledge must be shared and integrated seamlessly intention reliable sources/processes Web technology and triple IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 40. IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 41. Knowledge & Ontology development life cycle Describe domain and intend to use Instrument development Gather information Build up domain knowledge Practice based ontology design Inference over ontology meaning IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 42. Maintenance and performance problems Hard to maintenance Domain knowledge is in both its ontology and its programming code One fact is in many places Lack of performance Ontology is too big Unnecessary nodes or instances IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 44. Domain knowledge is in both the ontology and its programming code • Not only programming problem but also ontology design problem • Domain knowledge should be in ontology and should not be in programming code • Hard to maintain the ontology (adding, deleting, removing, modifying) • Blur in domain and range of the attribute • Cause to composite value IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 45. Example of composite value Black color Label Black Label Red Label Black box, color of box is black Red Box, color of box is red Black t-shirt, color of t-shirt is black Product name IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 46. Example of composite value Black color Label Black Label Red Label Black box, color of box is black Red Box, color of box is red Black t-shirt, color of t-shirt is black Product name Composite value Non-composite value IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 47. Example of composite value Black color Label Black Label Red Label Black box, color of box is black Red Box, color of box is red Black t-shirt, color of t-shirt is black Product name It is a design problem issue, not only programming problem issue. IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 48. Some domain knowledge are thrown in Programming area Composite value Ontology area Programming area “Blackbox” “Black box” Black Box Separateto What does it mean? What is the box color? What is the item? for for IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 49. Optimizing Rules • Step-wise approach for improving for ontology design – 4 optimizing rules • Remove composite-values to optimize the maintenance • Remove one fact in many places to optimize the maintenance • Remove unused class to optimize the performance • Remove unnecessary class to optimize the maintenance and performance “Optimize both the maintenance and performance” IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 50. Research trend on Semantic Web Berners-Lee says the next big thing for changing and understanding the world, and the next big thing for the internet, is the ability to access whatever data we need, whenever we need it. By connecting our data together we can solve world problems and make life easier. IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 51. Web Technology Trend IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 52. Research trend Semantic Search •New Google •Helpdesk Recommendations •DSS •suggestion Personalized assistant •Meeting •Planning •Living •Personalize Business intelligent •Education/Library •Healthcare •Advertisement •CRM Linked data •Large scale/Big data •Semantic based CMS •Multimedia Geo-based •Military •Agriculture •Infrastructure Knowledge engineering Knowledge grid Knowledge repository NLP Knowledge as Service Knowledge transformation Cloud computing IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 55. IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 56. IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 57. IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 58. IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 59. IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 61. 7 ontology design problems (150 samples from in-depth interview) 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Structure Redundancy Composite value InferencePerformance Reusablility Maintainablility IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 62. Ontology building problems (150 samples from in-depth interview) 7 problems Design Knowledge acquisition 87% 100% Solved 67% Solved 7% Design principle SourcesExtraction method IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 63. Research problems • Ontology is not reliable Problems Mistake on ontology design Ontology is not fit Mistake on knowledge extraction process Semantic Web development Semantic Web application performance Reliabilityon Semantic Web application Impact ImpactImpact IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 64. An example of relevance theory 56/20 หมู่ 5 ต.ปลายบาง อ.บางกรวย จ.นนทบุรี 11130 IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 65. Ontology study Ontology studyAI Knowledge representation Description logic Meaning of ontology RDF OWL SWRL Ontology development Ontology engineering Ontology design Ontology improvement Semantic web IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 66. Business rule approach • List business rules using If-Then format and align them • Identify nodes(concept and attribute) and their relations • Group rules within nodes • Identify Usecase • Create procedure • Create OWL using nodes and their relations IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 67. Scenario • Case : OO-Programming expert • Need to know who are the expert in OO- Programming though, the system has no related information about OO in knowledgebase IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 68. List business rules • If the man know C++ then imply that the man knows OO • If the man know C# then imply that the man knows OO • If the man know Java then imply that the man knows OO • If the man know C then imply that the man knows Structure programming • If the man know Pascal then imply that the man knows Structure programming • If the man know VB then imply that the man knows .Net framework • If the man know C# then imply that the man knows .Net framework • If the man know PHP then imply that the man knows web programming • If the man know ASP then imply that the man knows web programming • If the man know JSP then imply that the man knows web programming IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 69. Identify nodes(concept and attribute) • Concept nodes – Person • Attribute nodes – Name – Programming skills • Instances – C++ – C# – Java – C – Pascal – PHP – ASP – JSP – IT Knowledge • OO • .Net framework • Structure programming • Web programming • Relation – Name (att-of) Person – Programming skills (att-of) Person – Name (has_Skills) Programming skills IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 70. Group rules and nodes • G#1 : Who knows OO (Name has_skills Programming skills) – If the man know C++ then imply that the man know OO – If the man know C# then imply that the man know OO – If the man know Java then imply that the man know OO • G#2 : Who knows structure programming (Name has_skills Programming skills) – If the man know C then imply that the man know Structure programming – If the man know Pascal then imply that the an know Structure programming • G#3 : Who knows .Net framework (Name has_skills Programming skills) – If the man know VB then imply that the man know .Net framework – If the man know C# then imply that the man know .Net framework • G#4 : Who knows web programming (Name has_skills Programming skills) – If the man know PHP then imply that the man know web programming – If the man know ASP then imply that the man know web programming – If the man know JSP then imply that the man know web programming IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 71. Identify Usecase List person who knows structure programming List person who kows OO List persone who knows .Net framework User List person who knows web programming IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 72. Create procedure Start List imply options List OO List structure P. List .Net List web P. End IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 73. Create OWL using nodes and their relations IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 74. Roles and Relationships (ontology improvement) concept concept concept concept concept Is-a Part-of Att-of Ins-of Subject Object Predicate attribute instance IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 75. Relationship assignment parent node child node relation meaning concept classnode concept classnode is-a superset/subset concept class node concept classnode part-of component concept class node attribute classnode attribute-of property attribute class node instance node instance-of fact IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 76. ตัวอย่างการสร้าง Ontology ตามแนวทาง GT • Ref. : เอกสารข้อมูลตัวอย่าง
  • 79. Grounded theory : coding IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 81. Ontology using GT with improvement method IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 82. Role assignment Flow IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 83. RDF-OWL-DL-GT IT Seminar on 15/05/2014 @ KMUTNB : Dr.Krich Intratip
  • 84. แนะนา Hozo ontology editor Ref: คู่มือการใช้งาน Hozo-Ontology Editor (NECTEC, 2555)
  • 85. อ่านเพิ่มเติม • คู่มือการใช้งาน Protégé • การใช้งาน SWRL บน Protégé • Blog : Potheus @http://potheus.blogspot.com/ • Discussion @https://www.facebook.com/groups/zimmati clab
  • 86. • ขอเชิญชวน ร่วมงานและส่ง paper ในงาน International Conference : the 4th Joint International Semantic Technology (JIST2014) conference • งานจัดวันที่ 9-11 พ.ย. 2014 ที่เชียงใหม่ ในธีม “Open Data and Semantic Technology” deadline ส่ง paper : 1 ส.ค.2014 • งานนี้คุ้มมาก ท่านจะได้รู้จักกับนักวิชาการ ผู้เชี่ยวชาญที่ทางานเกี่ยวกับ Semantic Web Technology โดยตรง สามารถเข้าพูดคุย ปรึกษา หารือ ได้อย่างเป็นกันเอง (แอบกระซิบว่าหลายๆท่านจบการศึกษาเพราะท่านผู้เชี่ยวชาญเหล่านี้มาเยอะแล้วดังนั้นอย่า พลาดโอกาสที่ดีๆเช่นนี้) • นอกจากนี้ท่านยังได้มีโอกาส workshop กับผู้พัฒนา HoZo : Ontology Editor Tool โดยตรง (อะไรจะดีขนาดนี้) รายละเอียดเพิ่มเติมที่ : http://language-semantic.org/jist2014/
  • 87. ขอขอบคุณทุกท่านครับ ข้อเสนอแนะ หรือ ข้อซักถาม Dr.Krich Intratip : Peakmaker Dr.Sasiporn Usanavasin FB: Zimmantic lab https://www.facebook.com/groups/zimmaticlab/ FB: SEM Study Lab https://www.facebook.com/groups/SEMStudyLab/