Title: Introduction to Ontology
1Introduction to Ontology
- Sudarsun S
- Director Research
- Checktronix India
- Chennai 600010
- ??????????????????? ??????? ??????????????
- ?????????????????????? ????????????????
2Ontology ????????
?????????? ??????????????????
??????????????????????????????????????
- ???????????????????????????? (????????????????????
???????????) - ??????????????????????????
- ???????????????????????????????
- ????????????????????????????
- ???????????????????????????
3Ontology in Computers
- Ontology ??? ???????????????????????
????????????? - ??????????????????????????? (????????????????)
- ????????????????????? ??????????????????
- ????????????????????????????????????????????
- ????????????? an ontology ?????
- ??????????????????????? ????????????????
- ???????????? ??? ???????????????????????????????
????????????????
4Example
- ??????? ??? ???????? (????????)
- ???? ?????????????????? ?????
- ??????????? ????????????? ????? ???? ???????????
??????????????????? - ????????????? ????????????? ???? ????
????????????? 20 ?? - ????????????????????/????????????????
(?????????????????????????) - ????????????? ???? ???????? 2000 ????????
- ?????????? ???? ???????????? ???? ???????????
- ????? ????????????? ??????????? ??????????? ???
?????????????
5Example Ontology (Protégé)
6What??
7(No Transcript)
8Why Ontology?
- ????????????????????????????????????????????
????????????Software agents - ?????????????????????????????????????????????
- ??????????????????????????????????????????????
- ???????????????????????????????????????????
- ??????????????????????????????
9Few Applications
- e-Science, ?????????????? Bioinformatics
- The Gene Ontology (GO)
- The Protein Ontology (MGED)
- Databases
- Schema design and integration
- Query optimisation
- User interfaces
- The Semantic Web so-called Semantic Grid
10Importance towards E-Commerce
- Taxonomies provide
- ?????????????????????????????????? (search
engines, authors, users, databases, programs /
??? agent ???????????????) - Site ????????????? Organization ??? Navigation
- ?????????????????????? (???? ?????????????????????
???????????) - Umbrella ???????????????????????? (????????
Extension) - ???????????? (??????????????? Yahoo!)
- Sense disambiguation
11Importance towards E-Commerce
- ???????????????????
- ???????????????
- ?????????????????????????????????????????????(Inte
roperability) - ????????????????????????
- ?????????????, ???????????????????????????????????
??? - Generalization/ Specialization
12Observations
- Ontologies ????????? ?????????????????????????????
?????? ?????? - Veritys Topic Editor, Collaborative Topic
Builder, GFP,Chimaeras, Protégé, OIL-ED,etc - Ontologies ??????????????????????????????????
- ???????????????????? ???? yahoo!, Amazon, excite
- Semi-structured sites can provide starting points
- Ontologies ?????????????????????????????(?????????
????????????????) - ?????????????????????????? ???? Amazon, Yahoo!
Shopping - ????????????????????????????????
- ????????????????????? ????? Markup Languages
XML,RDF - Real ontologies ?????????????????????????
Application
13Implications Need
- ????????????????????? Ontology Language
(DAMLOIL) - ????????????????????????????????????????
Ontologies - ????? (Conceptual Modeling,???????????????????????
??????????, )
14Issues
- ?????????? ????????????????????????????
- ???????????????????????????????????????????
- ????????????????????
- ??????
- ???????
- ???????????
- ?????????????
- ??????????????????? / ??????????????
- ????????????
- ?????????
- ??????????????????????????
15Chimaera
- An interactive web-based tool aimed at
supporting - ????????? Ontology (???????????, ???????????,
??????, ) - Merging of ontological terms ?????????????????????
????? - ?????????? ontologies ????????
- ?????????????????????????
- Features multiple I/O languages, loading and
merging into multiple namespaces, collaborative
distributed environment support, integrated
browsing/editing environment, extensible
diagnostic rule language - ????????????????????????????????
- ??????????? www.ksl.stanford.edu/software/chimaer
a
16Building Ontology
- ????? classes
- ????????????????????? Taxonomic hierarchy
- sub-class/super-class model
- ?????? slots ??? facets ?????? slots
- ?????????????? slots ???????????
17Thumb-Rules
- ??????????????????????????????????????
- ???????????????????????
- ?????????????????????????????????????????????????
- ??????????????
- ???????????? Ontology ???????? objects(???????/???
????) ??? relationships ??????????????? - Objects ??? ???????????
- Relationships ??? ???????????????????
18Step 1 Domain Scope
- ?????????????????????
- ???????????????????? Ontology ????
- ???????????????????????????
- ?????????????????????????? Ontology ?
- ?????????????
- ?????????????????????????????????????
- ?????????????????????
- ???????????????????????????????
19Step 2 Re-Use Existing Ontology
- ????????????? ????????????????????
- ?????????? merging Ontologies?
- ?????????????
- ??????????????, ????????????????
20Step 3 Enumerate Terms
- Terms ????????
- Properties ??? terms ????????
- Relationships ??? terms ????????
- ????????
- Animal, elephant, lion
- ???????, ???????, ???????????
- ???????????????, ??????????????????????,
???????????????????????
21Step 4 Define Classes Hierarchy
- Top-Down Approach
- Bottom-Up Approach
- Mixed
- Object Oriented Programming Analogy
- ???????????????????
- ??????????? Hierarchical ??? concepts
- ??? class P is a super-class of class Q,
?????????????? B ??? ?????????????? P - ??????????? class Q represents a kind-of P
22Step 5 Properties of Classes - Slots
- intrinsic properties ???? softness of silk
- extrinsic properties ???? bikes model name
- Parts, ??? object ?????????? Structured
?????????????????? physical ??? abstact parts ??? - ???? ????????????????????????
- Relationships ???????????????? class
- ???? ???? ??? ????????, ?????????????????????????
??????? ???? ????????????????????????
??????????????????
23Step 6 Define Slots
- ????? values ??? Slot
- ??????? ??? slot ??????? values ??????????
- ????????? Slot
- ?????????????????????????????
- ????????????????
- String
- Number
- Boolean
- Enumeration
- Instance
24Step 7 Create Instances
- ?????????????????? instance ???? african_elephant
???????? instance ??? class elephant - High 400 cm
- Weight 6,500 Kg
- Eat fruit, leaf (instance of food class)
- Behavioer aggressive
- Kind Herbivore (instance of animal_type class)
25Consistency Checks ??
- ????????????? Class hierarchy ???????
- ????????????????????????????? tree ???????
??????????????????? - classes ?????????????????????? ??????????????
class - ???????????????? is-a ??? kind-of
- ??????????????????????????????
- Multiple Inheritance
26Consistency Checks ??
- ?????????? class ?????????????????
- ???????? Subclass ??? class ???????????
- ??????????????????????? super-class ?????
- ??????????????????????? super-class
- ???????????? relationships ????????? super-class
?? - Class ???? ???? property-value ?????
- class african_elephant ???? class elephant
????? property type ???? african
???????????????????????????????? - ???? Instance ???? Class?
- Individual Instances ???? ????????????????????????
???????? - ??? concept ?????????????????????????????????
?????? classes
27Limiting the Scope
- ??????????????????????????????????????????????????
??????????? - ???????????????????????????? ???? ?????????
????????????????????????????????? - ?????????????????? properties ????????????????????
?? ?????????????? ?????? classes ?? hierarchy
28Ontology Merging/Alignment
- ??????????????
- ?????????????????????????????????????
- ????????????????????? ontology merging and
alignment - ?????????????? (????????????????????)
- ???????????????? merging and alignment
????????????????????????
29Mapping, Merging, Alignment
30Approaches
- ????????????????????????? merging
- ?????????????
- ??????????????????????
- ?????????????
- ??????????????????? merging
- ???????????????????????
- ????????????????????
- ?????????????????????????????????
- ???????????????????????????????????????
- ????????????? ????????????
31SMART Algorithm
32Merge Classes (contd..)
33Merge Classes (contd..)
34Suggestions (contd..)
35Source Car Rental
36Source Airline Reservation
37(No Transcript)
38Features
- ?????????????????????
- ????????
- ??????????????????????????
- ???????????????????
- ??????????????????????
- ????????????????????????????????????????????????
- ??????????????????????
- ?????????????????????????????
- ?????????????????????
39Ontology Languages - RDF
- RDF ??? Resource Description Framework
- ???? W3C candidate recommendation
- (http//www.w3.org/RDF
- RDF ???? graphical formalism (XML syntax
semantics) - ??????????????????????????????????????????????????
- ??????????????????????????????????????????????????
?????????? - RDFS extends RDF ??? schema vocabulary??????????
?? - Class, Property
- Type, subClassOf, subPropertyOf
- Range, domain
40RDF Syntax --Triples
Subject
Object
Property
Ex Subject
Ex Object
Ex Property
41RDF Syntax --Triples
Subject
Object
Property
Ex Subject
Ex Object
Ex Property
_ xxx
42RDF Syntax --Triples
Subject
Object
Property
Ex Subject
Ex Object
Ex Property
_ xxx
43RDF Syntax --Triples
Subject
Object
Property
Ex Subject
Ex Object
Ex Property
_ xxx
_ yyy
44RDF Syntax --Triples
Subject
Object
Property
Ex Subject
Ex Object
Ex Property
_ xxx
_ yyy
ltlt plain litteral gtgt
45RDF Syntax --Triples
Subject
Object
Property
Ex Subject
Ex Object
Ex Property
_ xxx
_ yyy
ltlt plain litteral gtgt
ltlt lexical gtgtdata type
46RDF Syntax -- Graph
_ xxx
47RDF Syntax -- Graph
ltlt Palani Ramasamy gtgt
Ex name
_ xxx
rdf type
Ex Person
48RDF Syntax -- Graph
ltlt Palani Ramasamy gtgt
Ex name
_ yyy
_ xxx
Ex member-of
rdf type
Ex Person
49RDF Syntax -- Graph
ltlt Palani Ramasamy gtgt
ltlt University of Madras gtgt
Ex name
Ex name
_ yyy
_ xxx
Ex member-of
rdf type
rdf type
Ex Organisation
Ex Person
50RDFS
51RDFS
- RDFS vocabulary adds constraints on models, e.g.
- x,y,z type(x,y) subClassOf(y,z) type(x,z)
52RDFS
- RDFS vocabulary adds constraints on models, e.g.
- x,y,z type(x,y) subClassOf(y,z) type(x,z)
Ex Person
Ex Animal
rdf subClassof
53RDFS
- RDFS vocabulary adds constraints on models, e.g.
- x,y,z type(x,y) subClassOf(y,z) type(x,z)
Ex Person
Ex Animal
rdf subClassof
Ex John
Ex Person
rdf type
54RDFS
- RDFS vocabulary adds constraints on models, e.g.
- x,y,z type(x,y) subClassOf(y,z) type(x,z)
Ex Person
Ex Animal
rdf subClassof
Ex John
Ex Person
rdf type
rdf type
Ex Animal
55Problems with RDFS
- RDFS ?????????????????????????????????????????????
????? - ?????????????? ????????????? range ??? domain
- ?????????????????? ????????? hasChild ??? person
????????????????? person and elephant
???????????????????? elephants - ????????????? existence/cardinality
- ?????????????????? ??????????? person ?? 1 mother
??????? mother ???? 1 person ??????? ???? person
?? 2 parents ??????????????? - ?????????????? transitive, inverse ????
symmetrical - ?????????????????? isPartOf ????????????
transitive, isPartOf ??? inverse ??? isPartOf ???
touches ??? symmetrical - ????????????????? ??????????????
- ????? native reasoners ??????
?????????????????????? - May be possible to reason via FO axiomatisation
56Axiomatisation
- An Axiomatisation ??????????????? RDFS ?? FOL,
- ????????
- Triple x P y translated as holds2 (P,x,y)
- Axioms capture ????????????????? language
-
- ???????? axiomatisations include
- ????????? set ????????????????? ??? axioms
- ????????????????????????????????? captured
???????????? - Axiomatisation ???????????????????????????
- complexity
- RDFS ? undecidable (subset of) FOL
- ????? interoperability ?????? ??????????
axiomatised ???????????? - ???? C subClassOf D equivalent to
- ??????? axiomatise ???? holds2(subClass, C, D)
57RDF to OWL
- ????????????????????? extending(????????????) RDF
- OIL Ontology Inference Layer
- DAML-ONT DARPA Agent Markup Language
- ??????????Merged ?????????? DAMLOIL
- Extends (DL subset of) RDF
- DAMLOIL
- Web-Ontology(WebOnt) Working Group formed
- WebOnt group ??????????? OWL Language based on
DAMLOIL - OWL language now a W3C Proposed Recommendation
58Description Logics
- ???????????????? logic based Knowledge
Representation formalisms - ??????????? semantic networks ??? KL-ONE
- ??????????????????????? concepts(classes),
roles(properties, relationships) ??? individuals - ???????????????
- Formal semantics (????????????????????????????????
????) - ?????????????????????????? FOL
- ??????????????????????????????? Prepositional
Model Dynamic Logics - ??????????????? inference services
- ??????????????????????????????????????????
(???????????, ???????????, ???) - Implemented systems (highly optimized)
59DL Basics
- Concept ??? ?????????????????? unary predicates
- ?????????, concepts ????????? ????????????????????
1 ??? - Role ??? ?????????????????? binary predicates
- ?????????, roles ????????? ???????????????????? 2
??? - Individual ????????????????????? ????????
- Operators ???????????????
- ??????????????? ??? ????????????,
????????????????? - ???????????????????????????????????
- ???????????? ??? (??????????????????? lt
gt ??? ) - ?????? ????????? ?????????????????????????
60DL System Architecture
61DL Family
- ???????????????? ?? transitive
roles(R) - Additional letters ????????? extensions ?????
- ????????????
- R role hierachy inverse QNR
- is the basis for W3Cs OWL Web
Ontology Language - OWL DL extended with nominal
(??????? ) - OWL Lite with only functional
restrictions (??????? )
62DL Knowledge Base
- A TBox is a set of schema axioms(sentences)
- ????????
- An ABox is a set of data axioms (ground facts)
- ????????
- A Knowledge Base (KB) ???????????? TBox ??? ABox
63DL Reasoning
W
hasChild
marriedTo
J
M
HappyParrent
Doctor
hasChild
64DL Reasoning
W
hasChild
marriedTo
J
M
HappyParrent
Doctor
hasChild
65DL Reasoning
W
hasChild
marriedTo
J
M
HappyParrent
Doctor
hasChild
66DL Reasoning
W
hasChild
marriedTo
J
M
HappyParrent
Doctor
hasChild
67DL Reasoning
W
hasChild
marriedTo
J
M
HappyParrent
Doctor, (Doctor _ hasChild.Doctor),
hasChild.Doctor
hasChild
68DL Reasoning
W
hasChild
marriedTo
J
M
HappyParrent
Doctor, (Doctor _ hasChild.Doctor),
hasChild.Doctor
hasChild
hasChild
Doctor
?
69OWL
- 3 ????????? ??? OWL
- OWL full ???? union ??? OWL syntax ??? RDF
- OWL DL ?????????????? FOL fragment (
DAMLOIL) - OWL Lite ??? simpler subset ??? OWL DL
- Semantic layering
- OWL DL OWL full ????? DL fragment
- OWL DL ????????? Description Logic
- ?????????????? ????????????????
DL - OWL DL ??????????????????????????? DL
?????????????? - ?????????????? semantics
- Formal properties ???????????????? (???????????,
???????????????????????) - ?????? reasoning algorithms
- Implemented systems (??????????????????)
70OWL constructors
71OWL constructors
- XMLS datatypes ??? classes ?? P.C ??? P.C
- ???????? hasAge.nonNegativeInteger
-
72OWL constructors
- XMLS datatypes ??? classes ?? P.C ??? P.C
- ???????? hasAge.nonNegativeInteger
- ?????????????????????? nesting ??? constructors
- ???????? Person hasChild.Doctor
hasChild.Doctor
73RDFS Syntax
74RDFS Syntax
75OWL Axioms
76OWL Axioms
77References
78Thanks
- ???????????????????? sudar_at_burning-glass.com
- Checktronix India Pvt Ltd,
- 9 Ramanathan Street,
- Kilpauk, Chennai 600010
- Phone 044 30570028-32
- ????????????????????????? ?.??????? ?????????????