SlideShare une entreprise Scribd logo
1  sur  39
Télécharger pour lire hors ligne
Ontology construction I

   Knowledge & Media 2012
          Lecture 2
(adapted from Ontology Engineering 2011)
Overview
•  Subclass relations
•  Reflections on category representations
  –  Levels in hierarchies
  –  Sets versus prototypes
•  Construction patters
  –  N-ary relations
  –  Value sets versus value partitions


                                             2
Subclass relation in UML




                           3
Multiple inheritance




                       4
Generalization properties
•  Completeness
  {complete} = each object participates in AT
    LEAST one subclass
  {incomplete} = subclass participation is optional
    (use, e.g. with single subclasses)
•  Disjointedness
  {disjoint} = object participates in AT MOST one
    subclass
  {overlapping} = object may belong to multiple
    subclasses
                                                      5
     “multiple specialization”
Two different organizations
of the disease hierarchy




                              6
viewpoints - simultaneous
multiple classifications




                            7
Limitations of Hierarchies
•  What’s in a link?
   –  Hierarchical links often have different semantics
•  “Dimensions” of distinction making provide
   rationale for hierarchical levels
   –  (Multiple) classification along different dimensions
      within single hierarchy creates confusion and makes
      applications unnecessarily complex
•  Hierarchy enforces a single fixed sequence of
   dimensions
   –  fixed ordering not always possible or desirable
                                                             8
Categorization
•  OWL (Description logic) takes an
   extensional view of classes
  –  A set is completely defined by its members
•  This puts the emphasis on specifying class
   boundaries
•  Work of Rosch et al. takes a different view



                                                  9
Categories (Rosch)
•  Help us to organize the world
•  Tools for perception
•  Basic-level categories
  –  Are the prime categories used by people
  –  Have the highest number of common and
     distinctive attributes
  –  What those basic-level categories are may
     depend on context

                                                 10
Basic-level categories




                         11
Vertical organization of
hierarchies
•  Basic-level classes often occur as a
   middle layer in hierarchies
•  Higher levels: abstract classes that
   organize the hierarchy
•  Lower levels: domain/context specific
   classes
  –  may require particular expertise to understand

                                                  12
Class room exercise
•  Study the hierarchy of “chairs” in the Art &
   Architecture Thesaurus
     http://www.getty.edu/research/tools/
                vocabularies/aat/

•  Check whether this hierarchy follows the
   pattern described by Rosch

                                              13
Horizontal organization of
categories
•  Categories at the same level of abstraction
•  People use prototypes to characterize
   these
  –  Some chairs are more typically “chair” than
     others
•  Emphasis is more on what is common for
   a category than on differences with other
   categories
                                                   14
Construction patterns:


 Representing n-ary relations
Re-representing properties as
classes
•  To say something about a property it must be re-
   represented as a class
   –  property: hasDanger à Class: Danger
       •  plus properties of Danger:
               hasReason
               hasRisk
               hasAvoidanceMeasure
   –  Sometimes called “reification”
       •  But “reification” is used differently in different communities
Pattern 1: dependent values
•  Relation between two concepts
•  One of the concepts can have multiple
   features that depend on the relation
•  Example: diagnosis of a disease with a
   certain confidence level
Pattern 1: example instance
Pattern 1: example instance
in RDF
:Christine

      a       :Person ;

      :has_diagnosis _:Diagnosis_Relation_1 .



:_Diagnosis_relation_1

      a       :Diagnosis_Relation ;

      :diagnosis_probability :HIGH;

      :diagnosis_value :Breast_Tumor_Christine .
Pattern 1: class constraints
Pattern 1: class constraints
 in RDF
:Diagnosis_Relation"
      a       owl:Class ;"
      rdfs:subClassOf"
              [ a       owl:Restriction ;"
                owl:someValuesFrom :Disease ;"
                owl:onProperty :diagnosis_value"
              ] ;"
      rdfs:subClassOf"
              [ a       owl:Restriction ;"
                owl:allValuesFrom :Probability_values ;"
                owl:onProperty :diagnosis_probability"
              ] ."
"
:Person"
      a       owl:Class ;"
      rdfs:subClassOf"
              [ a       owl:Restriction ;"
                owl:allValuesFrom :Diagnosis_Relation ;"
                owl:onProperty :has_diagnosis"
              ] ."
Pattern 2: relation as class
•  The relation itself is a concept
•  All arguments are equally important
•  Examples:
  –  Enrollment
  –  Transaction
  –  Purchase
  –  Clue (the butler with the rope in the kitchen)
•  See also the notion of UML association
   class
Association class
Pattern 2: example instance
Pattern 2: example instance in
RDF
:Purchase_1"
      a       :Purchase ;"
      :has_buyer :John ;"
      :has_object :Lenny_The_Lion ;"
      :has_purpose :Birthday_Gift ;"
      :has_amount 15 ;"
      :has_seller :books.example.com ."
Pattern 2: class constraints
Pattern 2: class constraints in
RDF
:Purchase"
      a       owl:Class ;"
      rdfs:subClassOf"
              [ a       owl:Restriction ;"
                owl:allValuesFrom :Purpose ;"
                owl:onProperty :has_purpose"
              ] ;"
      rdfs:subClassOf"
              [ a       owl:Restriction ;"
                owl:cardinality 1 ;"
                owl:onProperty :has_buyer"
              ] ;"
      rdfs:subClassOf"
              [ a       owl:Restriction ;"
                owl:onProperty :has_buyer ;"
                owl:someValuesFrom :Person"
              ] ;"
..."
Literature
•  http://www.w3.org/TR/swbp-n-
   aryRelations/




                                  28
Construction patterns:

    Specifying value sets
Specifying value sets
    Modifiers
          Domestication
                Domestic
                                   •  Identify modifiers that are
                Wild                 mutually exclusive
                Feral
          Risk                        –  Domestication
                 Dangerous
             

                Risky                 –  Risk
                 Safe
       
             

           Sex
                                       –  Sex
             

             
                 Male
                 Female
                                       –  Age
          Age
                Child
                                   •  Make meaning precise
                        Infant        –  Age  Age_group
                        Toddler
                Adult
                     Elderly
                                                               30
Options for representing
value sets

•  Symbolic values
   –  Individuals that enumerate all states of a Quality
      •  The enumeration of the values equals the quality class
•  Value partitions
   –  Classes that partition a Quality
      •  The disjunction of the partition classes equals the
         quality class




                                                               31
Value sets for specifying
values
•  A quality – SexValue
•  Individuals for each value
   –  male, female
•  Values all different (NOT assumed by OWL)
•  Value type is enumeration of values
   SexValue = {male, female}
•  A functional property hasSex

  MaleAnimal =
    Animal and hasSex is male
                                               32
Value Partitions:
example Age Group
•  How to represent the values for Age Group?

•  Option:
   –  specify Child, Toddler, etc. as subclasses of
      AgeGroup
   –  Specify age-group values as instances of the relevant
      age-group class
     ex:MyAgeGroup rdf:type ex:Adult .

•  Main advantage: flexibility
                                                          34
Issues in specifying values
•  Value Partitions
   –  Can be subdivided and specialised
   –  Fit with philosophical notion of a quality space
      (cf. e.g. DOLCE)
   –  Require interpretation to go in databases as values
         •  in theory but rarely considered in practice
   –  Work better with existing classifiers in OWL-DL
•  Value Sets
   –    Cannot be subdivided
   –    Fit with intuitions
   –    More similar to databases – no interpretation
   –    Work less well with existing classifiers            37
Class room exercise
•  Assume the following use case: for the collection of a
   museum we need to describe the color of clothes. These
   clothes can have subtle color variations, so we need an
   extensive color vocabulary. The museum uses the Art
   and Architecture Thesaurus for describing the items in
   their collections. This thesaurus contains extensive
   information about colors.
•  Your task is to specify the values that a property
   "hasColor" can take for the class "Cloth". AAT contains
   more than 200 colors, but you can limit yourself to a
   representative subset of purple colors (at least 2 layers
   of ancestors below <purple color>).The subset should
   allow you to specify the relevant distinctions you want to
   make.
                                                            38
Literature
•  http://www.w3.org/TR/swbp-specified-
   values/




                                          39

Contenu connexe

En vedette

Automatic Heritage Metadata Enrichment with Historic Events
Automatic Heritage Metadata Enrichment with Historic Events Automatic Heritage Metadata Enrichment with Historic Events
Automatic Heritage Metadata Enrichment with Historic Events Marieke van Erp
 
Lecture 5: Mining, Analysis and Visualisation
Lecture 5: Mining, Analysis and VisualisationLecture 5: Mining, Analysis and Visualisation
Lecture 5: Mining, Analysis and VisualisationMarieke van Erp
 
Agora: putting museum objects into their art-historic context
Agora: putting museum objects into their art-historic contextAgora: putting museum objects into their art-historic context
Agora: putting museum objects into their art-historic contextMarieke van Erp
 
NewsReader: Automating detective work
NewsReader: Automating detective workNewsReader: Automating detective work
NewsReader: Automating detective workMarieke van Erp
 
Automatic Extraction of Soccer Game Event Data from Twitter
Automatic Extraction of Soccer Game Event Data from TwitterAutomatic Extraction of Soccer Game Event Data from Twitter
Automatic Extraction of Soccer Game Event Data from TwitterMarieke van Erp
 
Knowledge and Media 2012 Lecture 10: Research proposal QA
Knowledge and Media 2012 Lecture 10: Research proposal QAKnowledge and Media 2012 Lecture 10: Research proposal QA
Knowledge and Media 2012 Lecture 10: Research proposal QAMarieke van Erp
 

En vedette (11)

Automatic Heritage Metadata Enrichment with Historic Events
Automatic Heritage Metadata Enrichment with Historic Events Automatic Heritage Metadata Enrichment with Historic Events
Automatic Heritage Metadata Enrichment with Historic Events
 
Richness oftheworld2012
Richness oftheworld2012Richness oftheworld2012
Richness oftheworld2012
 
KM Lecture 7 LOD
KM Lecture 7 LODKM Lecture 7 LOD
KM Lecture 7 LOD
 
Agora User Interviews
Agora User InterviewsAgora User Interviews
Agora User Interviews
 
Ldl2012
Ldl2012Ldl2012
Ldl2012
 
Lecture 5: Mining, Analysis and Visualisation
Lecture 5: Mining, Analysis and VisualisationLecture 5: Mining, Analysis and Visualisation
Lecture 5: Mining, Analysis and Visualisation
 
Agora: putting museum objects into their art-historic context
Agora: putting museum objects into their art-historic contextAgora: putting museum objects into their art-historic context
Agora: putting museum objects into their art-historic context
 
NewsReader: Automating detective work
NewsReader: Automating detective workNewsReader: Automating detective work
NewsReader: Automating detective work
 
KM Lecture11 nlp/nif
KM Lecture11 nlp/nifKM Lecture11 nlp/nif
KM Lecture11 nlp/nif
 
Automatic Extraction of Soccer Game Event Data from Twitter
Automatic Extraction of Soccer Game Event Data from TwitterAutomatic Extraction of Soccer Game Event Data from Twitter
Automatic Extraction of Soccer Game Event Data from Twitter
 
Knowledge and Media 2012 Lecture 10: Research proposal QA
Knowledge and Media 2012 Lecture 10: Research proposal QAKnowledge and Media 2012 Lecture 10: Research proposal QA
Knowledge and Media 2012 Lecture 10: Research proposal QA
 

Similaire à 2 ontologies I

Ontology Engineering: Ontology evaluation
Ontology Engineering: Ontology evaluationOntology Engineering: Ontology evaluation
Ontology Engineering: Ontology evaluationGuus Schreiber
 
Ontology Engineering: Introduction
Ontology Engineering: IntroductionOntology Engineering: Introduction
Ontology Engineering: IntroductionGuus Schreiber
 
Sp616 adult lexical processing for students
Sp616 adult lexical processing for studentsSp616 adult lexical processing for students
Sp616 adult lexical processing for studentsLynette Chan
 
Fri schreiber key_knowledge engineering
Fri schreiber key_knowledge engineeringFri schreiber key_knowledge engineering
Fri schreiber key_knowledge engineeringeswcsummerschool
 
Drug-discovery knowledge integration and analysis using OWL and reasoners
Drug-discovery knowledge integration and analysis using OWL and reasonersDrug-discovery knowledge integration and analysis using OWL and reasoners
Drug-discovery knowledge integration and analysis using OWL and reasonersSamuel Croset
 
Realizing the Full Potential of Taxonomies by Branka Kosovac
Realizing the Full Potential of Taxonomies by Branka KosovacRealizing the Full Potential of Taxonomies by Branka Kosovac
Realizing the Full Potential of Taxonomies by Branka KosovacContent Strategy Workshops
 
Ontology Engineering: representation in OWL
Ontology Engineering: representation in OWLOntology Engineering: representation in OWL
Ontology Engineering: representation in OWLGuus Schreiber
 
UML-class diagram for beginners to adance.ppt
UML-class diagram for beginners to adance.pptUML-class diagram for beginners to adance.ppt
UML-class diagram for beginners to adance.pptWorkDrive2
 
Ontology modelling and the semantic web
Ontology modelling and the semantic webOntology modelling and the semantic web
Ontology modelling and the semantic webasgeirr
 

Similaire à 2 ontologies I (20)

Representation of knowledge
Representation of knowledgeRepresentation of knowledge
Representation of knowledge
 
Ontology Engineering: Ontology evaluation
Ontology Engineering: Ontology evaluationOntology Engineering: Ontology evaluation
Ontology Engineering: Ontology evaluation
 
Ontology Engineering: Introduction
Ontology Engineering: IntroductionOntology Engineering: Introduction
Ontology Engineering: Introduction
 
OOP Inheritance
OOP InheritanceOOP Inheritance
OOP Inheritance
 
Sp616 adult lexical processing for students
Sp616 adult lexical processing for studentsSp616 adult lexical processing for students
Sp616 adult lexical processing for students
 
Java programming -Object-Oriented Thinking- Inheritance
Java programming -Object-Oriented Thinking- InheritanceJava programming -Object-Oriented Thinking- Inheritance
Java programming -Object-Oriented Thinking- Inheritance
 
Fri schreiber key_knowledge engineering
Fri schreiber key_knowledge engineeringFri schreiber key_knowledge engineering
Fri schreiber key_knowledge engineering
 
Drug-discovery knowledge integration and analysis using OWL and reasoners
Drug-discovery knowledge integration and analysis using OWL and reasonersDrug-discovery knowledge integration and analysis using OWL and reasoners
Drug-discovery knowledge integration and analysis using OWL and reasoners
 
Semantic web Technology
Semantic web TechnologySemantic web Technology
Semantic web Technology
 
Ontologies Fmi 042010
Ontologies Fmi 042010Ontologies Fmi 042010
Ontologies Fmi 042010
 
BT02.pptx
BT02.pptxBT02.pptx
BT02.pptx
 
Realizing the Full Potential of Taxonomies by Branka Kosovac
Realizing the Full Potential of Taxonomies by Branka KosovacRealizing the Full Potential of Taxonomies by Branka Kosovac
Realizing the Full Potential of Taxonomies by Branka Kosovac
 
Ontology Engineering: representation in OWL
Ontology Engineering: representation in OWLOntology Engineering: representation in OWL
Ontology Engineering: representation in OWL
 
UML-class_diagram.ppt
UML-class_diagram.pptUML-class_diagram.ppt
UML-class_diagram.ppt
 
UML-class diagram for beginners to adance.ppt
UML-class diagram for beginners to adance.pptUML-class diagram for beginners to adance.ppt
UML-class diagram for beginners to adance.ppt
 
semantic.ppt
semantic.pptsemantic.ppt
semantic.ppt
 
OWL briefing
OWL briefingOWL briefing
OWL briefing
 
07 intro2 oop
07 intro2 oop07 intro2 oop
07 intro2 oop
 
Ontology modelling and the semantic web
Ontology modelling and the semantic webOntology modelling and the semantic web
Ontology modelling and the semantic web
 
Taxonomy: Do I Need One
Taxonomy: Do I Need OneTaxonomy: Do I Need One
Taxonomy: Do I Need One
 

Plus de Marieke van Erp

Towards Culturally Aware AI Systems - TSDH Symposium
Towards Culturally Aware AI Systems - TSDH SymposiumTowards Culturally Aware AI Systems - TSDH Symposium
Towards Culturally Aware AI Systems - TSDH SymposiumMarieke van Erp
 
A Polyvocal and Contextualised Semantic Web
A Polyvocal and Contextualised Semantic WebA Polyvocal and Contextualised Semantic Web
A Polyvocal and Contextualised Semantic WebMarieke van Erp
 
AI x Digital Humanities = > Inclusiviteit
AI x Digital Humanities = > Inclusiviteit AI x Digital Humanities = > Inclusiviteit
AI x Digital Humanities = > Inclusiviteit Marieke van Erp
 
Computationally Tracing Concepts Through Time and Space
Computationally Tracing Concepts Through Time and SpaceComputationally Tracing Concepts Through Time and Space
Computationally Tracing Concepts Through Time and SpaceMarieke van Erp
 
The Hitchhiker's Guide to the Future of Digital Humanities
The Hitchhiker's Guide to the Future of Digital HumanitiesThe Hitchhiker's Guide to the Future of Digital Humanities
The Hitchhiker's Guide to the Future of Digital HumanitiesMarieke van Erp
 
Why language technology can’t handle Game of Thrones (yet)
Why language technology can’t handle Game of Thrones (yet)Why language technology can’t handle Game of Thrones (yet)
Why language technology can’t handle Game of Thrones (yet)Marieke van Erp
 
(Beyond) Combining Text and Tables for qualitative and quantitative research
(Beyond) Combining Text and Tables for qualitative and quantitative research (Beyond) Combining Text and Tables for qualitative and quantitative research
(Beyond) Combining Text and Tables for qualitative and quantitative research Marieke van Erp
 
Finding common ground between text, maps, and tables for quantitative and qua...
Finding common ground between text, maps, and tables for quantitative and qua...Finding common ground between text, maps, and tables for quantitative and qua...
Finding common ground between text, maps, and tables for quantitative and qua...Marieke van Erp
 
Slicing and Dicing a Newspaper Corpus for Historical Ecology Research
Slicing and Dicing a Newspaper Corpus for Historical Ecology ResearchSlicing and Dicing a Newspaper Corpus for Historical Ecology Research
Slicing and Dicing a Newspaper Corpus for Historical Ecology ResearchMarieke van Erp
 
Lessons Learnt from the Named Entity rEcognition and Linking (NEEL) Challenge...
Lessons Learnt from the Named Entity rEcognition and Linking (NEEL) Challenge...Lessons Learnt from the Named Entity rEcognition and Linking (NEEL) Challenge...
Lessons Learnt from the Named Entity rEcognition and Linking (NEEL) Challenge...Marieke van Erp
 
Good Lynx, bad Lynx: Document enrichment for historical ecologists
Good Lynx, bad Lynx: Document enrichment for historical ecologistsGood Lynx, bad Lynx: Document enrichment for historical ecologists
Good Lynx, bad Lynx: Document enrichment for historical ecologistsMarieke van Erp
 
Towards Semantic Enrichment of Newspapers: a historical ecology use case
Towards Semantic Enrichment of Newspapers: a historical ecology use case Towards Semantic Enrichment of Newspapers: a historical ecology use case
Towards Semantic Enrichment of Newspapers: a historical ecology use case Marieke van Erp
 
Natural Language Processing en Named Entity Recognition
Natural Language Processing en Named Entity Recognition Natural Language Processing en Named Entity Recognition
Natural Language Processing en Named Entity Recognition Marieke van Erp
 
HuC lecture - Digital and Humanities: Continuing the Conversation
HuC lecture - Digital and Humanities: Continuing the ConversationHuC lecture - Digital and Humanities: Continuing the Conversation
HuC lecture - Digital and Humanities: Continuing the ConversationMarieke van Erp
 
Multilingual Fine-grained Entity Typing
Multilingual Fine-grained Entity Typing Multilingual Fine-grained Entity Typing
Multilingual Fine-grained Entity Typing Marieke van Erp
 
Entity Typing Using Distributional Semantics and DBpedia
Entity Typing Using Distributional Semantics and DBpedia Entity Typing Using Distributional Semantics and DBpedia
Entity Typing Using Distributional Semantics and DBpedia Marieke van Erp
 
Entity Typing and Event Extraction
Entity Typing and Event Extraction Entity Typing and Event Extraction
Entity Typing and Event Extraction Marieke van Erp
 
The domain as unifier, how focusing on social history can bring technical fie...
The domain as unifier, how focusing on social history can bring technical fie...The domain as unifier, how focusing on social history can bring technical fie...
The domain as unifier, how focusing on social history can bring technical fie...Marieke van Erp
 
Evaluating entity linking an analysis of current benchmark datasets and a ro...
Evaluating entity linking  an analysis of current benchmark datasets and a ro...Evaluating entity linking  an analysis of current benchmark datasets and a ro...
Evaluating entity linking an analysis of current benchmark datasets and a ro...Marieke van Erp
 
Finding Stories in 1,784,532 Events: Scaling up computational models of narr...
Finding Stories in 1,784,532 Events:  Scaling up computational models of narr...Finding Stories in 1,784,532 Events:  Scaling up computational models of narr...
Finding Stories in 1,784,532 Events: Scaling up computational models of narr...Marieke van Erp
 

Plus de Marieke van Erp (20)

Towards Culturally Aware AI Systems - TSDH Symposium
Towards Culturally Aware AI Systems - TSDH SymposiumTowards Culturally Aware AI Systems - TSDH Symposium
Towards Culturally Aware AI Systems - TSDH Symposium
 
A Polyvocal and Contextualised Semantic Web
A Polyvocal and Contextualised Semantic WebA Polyvocal and Contextualised Semantic Web
A Polyvocal and Contextualised Semantic Web
 
AI x Digital Humanities = > Inclusiviteit
AI x Digital Humanities = > Inclusiviteit AI x Digital Humanities = > Inclusiviteit
AI x Digital Humanities = > Inclusiviteit
 
Computationally Tracing Concepts Through Time and Space
Computationally Tracing Concepts Through Time and SpaceComputationally Tracing Concepts Through Time and Space
Computationally Tracing Concepts Through Time and Space
 
The Hitchhiker's Guide to the Future of Digital Humanities
The Hitchhiker's Guide to the Future of Digital HumanitiesThe Hitchhiker's Guide to the Future of Digital Humanities
The Hitchhiker's Guide to the Future of Digital Humanities
 
Why language technology can’t handle Game of Thrones (yet)
Why language technology can’t handle Game of Thrones (yet)Why language technology can’t handle Game of Thrones (yet)
Why language technology can’t handle Game of Thrones (yet)
 
(Beyond) Combining Text and Tables for qualitative and quantitative research
(Beyond) Combining Text and Tables for qualitative and quantitative research (Beyond) Combining Text and Tables for qualitative and quantitative research
(Beyond) Combining Text and Tables for qualitative and quantitative research
 
Finding common ground between text, maps, and tables for quantitative and qua...
Finding common ground between text, maps, and tables for quantitative and qua...Finding common ground between text, maps, and tables for quantitative and qua...
Finding common ground between text, maps, and tables for quantitative and qua...
 
Slicing and Dicing a Newspaper Corpus for Historical Ecology Research
Slicing and Dicing a Newspaper Corpus for Historical Ecology ResearchSlicing and Dicing a Newspaper Corpus for Historical Ecology Research
Slicing and Dicing a Newspaper Corpus for Historical Ecology Research
 
Lessons Learnt from the Named Entity rEcognition and Linking (NEEL) Challenge...
Lessons Learnt from the Named Entity rEcognition and Linking (NEEL) Challenge...Lessons Learnt from the Named Entity rEcognition and Linking (NEEL) Challenge...
Lessons Learnt from the Named Entity rEcognition and Linking (NEEL) Challenge...
 
Good Lynx, bad Lynx: Document enrichment for historical ecologists
Good Lynx, bad Lynx: Document enrichment for historical ecologistsGood Lynx, bad Lynx: Document enrichment for historical ecologists
Good Lynx, bad Lynx: Document enrichment for historical ecologists
 
Towards Semantic Enrichment of Newspapers: a historical ecology use case
Towards Semantic Enrichment of Newspapers: a historical ecology use case Towards Semantic Enrichment of Newspapers: a historical ecology use case
Towards Semantic Enrichment of Newspapers: a historical ecology use case
 
Natural Language Processing en Named Entity Recognition
Natural Language Processing en Named Entity Recognition Natural Language Processing en Named Entity Recognition
Natural Language Processing en Named Entity Recognition
 
HuC lecture - Digital and Humanities: Continuing the Conversation
HuC lecture - Digital and Humanities: Continuing the ConversationHuC lecture - Digital and Humanities: Continuing the Conversation
HuC lecture - Digital and Humanities: Continuing the Conversation
 
Multilingual Fine-grained Entity Typing
Multilingual Fine-grained Entity Typing Multilingual Fine-grained Entity Typing
Multilingual Fine-grained Entity Typing
 
Entity Typing Using Distributional Semantics and DBpedia
Entity Typing Using Distributional Semantics and DBpedia Entity Typing Using Distributional Semantics and DBpedia
Entity Typing Using Distributional Semantics and DBpedia
 
Entity Typing and Event Extraction
Entity Typing and Event Extraction Entity Typing and Event Extraction
Entity Typing and Event Extraction
 
The domain as unifier, how focusing on social history can bring technical fie...
The domain as unifier, how focusing on social history can bring technical fie...The domain as unifier, how focusing on social history can bring technical fie...
The domain as unifier, how focusing on social history can bring technical fie...
 
Evaluating entity linking an analysis of current benchmark datasets and a ro...
Evaluating entity linking  an analysis of current benchmark datasets and a ro...Evaluating entity linking  an analysis of current benchmark datasets and a ro...
Evaluating entity linking an analysis of current benchmark datasets and a ro...
 
Finding Stories in 1,784,532 Events: Scaling up computational models of narr...
Finding Stories in 1,784,532 Events:  Scaling up computational models of narr...Finding Stories in 1,784,532 Events:  Scaling up computational models of narr...
Finding Stories in 1,784,532 Events: Scaling up computational models of narr...
 

2 ontologies I

  • 1. Ontology construction I Knowledge & Media 2012 Lecture 2 (adapted from Ontology Engineering 2011)
  • 2. Overview •  Subclass relations •  Reflections on category representations –  Levels in hierarchies –  Sets versus prototypes •  Construction patters –  N-ary relations –  Value sets versus value partitions 2
  • 5. Generalization properties •  Completeness {complete} = each object participates in AT LEAST one subclass {incomplete} = subclass participation is optional (use, e.g. with single subclasses) •  Disjointedness {disjoint} = object participates in AT MOST one subclass {overlapping} = object may belong to multiple subclasses 5 “multiple specialization”
  • 6. Two different organizations of the disease hierarchy 6
  • 8. Limitations of Hierarchies •  What’s in a link? –  Hierarchical links often have different semantics •  “Dimensions” of distinction making provide rationale for hierarchical levels –  (Multiple) classification along different dimensions within single hierarchy creates confusion and makes applications unnecessarily complex •  Hierarchy enforces a single fixed sequence of dimensions –  fixed ordering not always possible or desirable 8
  • 9. Categorization •  OWL (Description logic) takes an extensional view of classes –  A set is completely defined by its members •  This puts the emphasis on specifying class boundaries •  Work of Rosch et al. takes a different view 9
  • 10. Categories (Rosch) •  Help us to organize the world •  Tools for perception •  Basic-level categories –  Are the prime categories used by people –  Have the highest number of common and distinctive attributes –  What those basic-level categories are may depend on context 10
  • 12. Vertical organization of hierarchies •  Basic-level classes often occur as a middle layer in hierarchies •  Higher levels: abstract classes that organize the hierarchy •  Lower levels: domain/context specific classes –  may require particular expertise to understand 12
  • 13. Class room exercise •  Study the hierarchy of “chairs” in the Art & Architecture Thesaurus http://www.getty.edu/research/tools/ vocabularies/aat/ •  Check whether this hierarchy follows the pattern described by Rosch 13
  • 14. Horizontal organization of categories •  Categories at the same level of abstraction •  People use prototypes to characterize these –  Some chairs are more typically “chair” than others •  Emphasis is more on what is common for a category than on differences with other categories 14
  • 16. Re-representing properties as classes •  To say something about a property it must be re- represented as a class –  property: hasDanger à Class: Danger •  plus properties of Danger: hasReason hasRisk hasAvoidanceMeasure –  Sometimes called “reification” •  But “reification” is used differently in different communities
  • 17. Pattern 1: dependent values •  Relation between two concepts •  One of the concepts can have multiple features that depend on the relation •  Example: diagnosis of a disease with a certain confidence level
  • 18. Pattern 1: example instance
  • 19. Pattern 1: example instance in RDF :Christine
 a :Person ;
 :has_diagnosis _:Diagnosis_Relation_1 .
 
 :_Diagnosis_relation_1
 a :Diagnosis_Relation ;
 :diagnosis_probability :HIGH;
 :diagnosis_value :Breast_Tumor_Christine .
  • 20. Pattern 1: class constraints
  • 21. Pattern 1: class constraints in RDF :Diagnosis_Relation" a owl:Class ;" rdfs:subClassOf" [ a owl:Restriction ;" owl:someValuesFrom :Disease ;" owl:onProperty :diagnosis_value" ] ;" rdfs:subClassOf" [ a owl:Restriction ;" owl:allValuesFrom :Probability_values ;" owl:onProperty :diagnosis_probability" ] ." " :Person" a owl:Class ;" rdfs:subClassOf" [ a owl:Restriction ;" owl:allValuesFrom :Diagnosis_Relation ;" owl:onProperty :has_diagnosis" ] ."
  • 22. Pattern 2: relation as class •  The relation itself is a concept •  All arguments are equally important •  Examples: –  Enrollment –  Transaction –  Purchase –  Clue (the butler with the rope in the kitchen) •  See also the notion of UML association class
  • 24. Pattern 2: example instance
  • 25. Pattern 2: example instance in RDF :Purchase_1" a :Purchase ;" :has_buyer :John ;" :has_object :Lenny_The_Lion ;" :has_purpose :Birthday_Gift ;" :has_amount 15 ;" :has_seller :books.example.com ."
  • 26. Pattern 2: class constraints
  • 27. Pattern 2: class constraints in RDF :Purchase" a owl:Class ;" rdfs:subClassOf" [ a owl:Restriction ;" owl:allValuesFrom :Purpose ;" owl:onProperty :has_purpose" ] ;" rdfs:subClassOf" [ a owl:Restriction ;" owl:cardinality 1 ;" owl:onProperty :has_buyer" ] ;" rdfs:subClassOf" [ a owl:Restriction ;" owl:onProperty :has_buyer ;" owl:someValuesFrom :Person" ] ;" ..."
  • 29. Construction patterns: Specifying value sets
  • 30. Specifying value sets   Modifiers   Domestication   Domestic •  Identify modifiers that are   Wild mutually exclusive   Feral   Risk –  Domestication Dangerous     Risky –  Risk Safe     Sex –  Sex     Male Female –  Age   Age   Child •  Make meaning precise   Infant –  Age  Age_group   Toddler   Adult   Elderly 30
  • 31. Options for representing value sets •  Symbolic values –  Individuals that enumerate all states of a Quality •  The enumeration of the values equals the quality class •  Value partitions –  Classes that partition a Quality •  The disjunction of the partition classes equals the quality class 31
  • 32. Value sets for specifying values •  A quality – SexValue •  Individuals for each value –  male, female •  Values all different (NOT assumed by OWL) •  Value type is enumeration of values SexValue = {male, female} •  A functional property hasSex MaleAnimal = Animal and hasSex is male 32
  • 33.
  • 34. Value Partitions: example Age Group •  How to represent the values for Age Group? •  Option: –  specify Child, Toddler, etc. as subclasses of AgeGroup –  Specify age-group values as instances of the relevant age-group class ex:MyAgeGroup rdf:type ex:Adult . •  Main advantage: flexibility 34
  • 35.
  • 36.
  • 37. Issues in specifying values •  Value Partitions –  Can be subdivided and specialised –  Fit with philosophical notion of a quality space (cf. e.g. DOLCE) –  Require interpretation to go in databases as values •  in theory but rarely considered in practice –  Work better with existing classifiers in OWL-DL •  Value Sets –  Cannot be subdivided –  Fit with intuitions –  More similar to databases – no interpretation –  Work less well with existing classifiers 37
  • 38. Class room exercise •  Assume the following use case: for the collection of a museum we need to describe the color of clothes. These clothes can have subtle color variations, so we need an extensive color vocabulary. The museum uses the Art and Architecture Thesaurus for describing the items in their collections. This thesaurus contains extensive information about colors. •  Your task is to specify the values that a property "hasColor" can take for the class "Cloth". AAT contains more than 200 colors, but you can limit yourself to a representative subset of purple colors (at least 2 layers of ancestors below <purple color>).The subset should allow you to specify the relevant distinctions you want to make. 38