SlideShare a Scribd company logo
1 of 31
Ontology representation

     Guus Schreiber, VU

 Ontology Engineering course
RDF/OWL
 Ontology language used in this course
 OWL = W3C Ontology Web Language
 RDF is basis of representation
  – Triples = binary relation format
  – Turtle is the triple syntax format most frequently
    used




                                                         2
Background reading
OWL Primer, W3C Recommendation, October
 2009, http://www.w3.org/TR/owl2-primer/.

 Section 4 contains the basic constructs
 Secs. 5-8 describe the advanced features (not all
  of these will be used in the course).
 The Turtle syntax is easiest to read. You can hide
  the other in the beginning of the document.


                                                       3
Some notes about syntax
 Protégé hides most of the syntax details
 OWL has quite a few syntax formats
 If you want to look at OWL syntax we
   recommend that you use the Turtle syntax
 Background reading on Turtle):
 h
 http://wikitravel.org/en/Wikitravel:Turtle_RDF



                                                  4
Class
   Central grouping construct
   Its instances are called “members”
   Classes can have multiple sub-classes
   Classes can have multiple super-classes
   Root class is conventionally called Thing: the
    super-class of all classes
    – Nothing is a sub-class of all classes


                                                     5
Property
 Properties define relationships
 RDF/OWL properties have a direction
   Artist creates Artwork
   – Compare with UML!
 Two types of properties
   – Object property: relationship between two classes
   – Datatype property: relationship between a class and a
     value space (integers, strings, dates)
 Terminology:
   – Subject = left hand of relation
   – Object = right hand of relation


                                                             6
Property hierarchy
 Properties may have sub-properties
    hasChild
      hasDaugther
      hasSon
 Logically sub-properties represent
  relationships between subsets of the super-
  property


                                                7
hasChild            Judith
              Peter         Bob
              Mary    Sue



hasDaugther
              Peter   Judith

              Mary          Sue

 hasSon
              Peter      Bob


                                  8
Domain and range
 Artist creates Artwork
 Artist is the domain
  – Class of allowed “values” at the left side (origin( of
    the relationship
 Artwork is the range
  – Class of allowed “values” at the right side
    (destination) of the relationship



                                                         9
Property characteristics (1)
 Functional property
  – For each subject this relation has at most one
    object
  – hasBiologicalMother
 Inverse-functional property
  – For each object this relation has are most one
    subject
  – hasStudentNumber

                                                     10
Property characteristics (2)
 Symmetric property
  – IF i1 p i2 THEN i2 p i1
  – Example: friend
 Asymmetric property
  – IF i1 p i2 THEN NOT i2 p i1
  – Example: parent




                                    11
Property characteristics (3)
 Transitive property
  – IF i1 p i2 AND i2 p i3 THEN i1 p i3
 Example: partOf
  – If Amsterdam is a part of North-Holland and
    North-Holland is a part of The Netherlands, then
    Amsterdam is a part of the The Netherlands.




                                                       12
Property characteristics (4)
 Inverse property
  – P1 inverseOf p2 implies that
    IF i1 p1 i2 THEN i2 p2 i1
  – Example: hasPart is the inverse of partOf, so if
    Amsterdam is a part of North-Holland, then
    North-Holland must have Amsterdam as one of its
    parts.




                                                   13
Property characteristics (5)
 Reflexive property
  – FORALL p HOLDS i p i
  – Example: for the property knows holds that
    everybody knows him/herself
 Irreflexive property
  – FORALL p MUST NOT HOLD I p I
  – Example: for the parent relation holds that no one
    can be his own parent

                                                     14
Individual
 Instances of classes
  – Rembrandt is and individual and member of the
    Artist class
 Note: Protégé-OWL supports meta-classes
  (classes which members are classes) poorly!
 Enumerated class: a class for which all
  individual members can be listed
  – Da Ponte opera’s of Mozart: Nozze di Figaro, Cosi
    fan tutte, Don Giovanni

                                                        15
Equality and inequality of individuals
 Equality example: two people (with different
  URLs) are actually the same:
            ex:Jim sameAs ex:James
 Inequality example: two people are different
         Ex1:Jim differentFrom ex2:Jim
 Important on the Web!
  – Difference between closed and open world


                                                 16
Cardinality restrictions of properties
 Defines how many relationships of a certain
  type there can be for a particular subject
 Examples:
  – Person marriedTo max 1
  – Course hasTutor min 1
  – Person hasParent exactly 2




                                                17
Value restrictions of properties
 Defines to what objects a subject can be related
  through a particular relation
 Examples
  – Wine producedBy only Vineyard
  Wine is only produced by vineyards
  – RedWine color value “Red”
  Red wines have a red color
  – Bicycle hasPart some Wheel
  Bicycles consist, amongst others, of at least one wheel

                                                            18
Equivalent classes & properties:
                 simple
 States that two classes are the same, for example
  two classes in different ontologies
                wn-en:Dog = wn-it:Cane

 You can do the same for properties
         ex1:hasPart = ex2:hasComponent

 Question: do you think equivalence occurs
  frequently?

                                                  19
Interlude:
      the notion of class extension
 OWL is derived from “description logic”
 Description logic takes an “extensional” view of
  classes:
  – Two classes are the same if - and only if- they have
    the same class extension
  – The class extension is the set of members of the class


 Question: does this correspond to your intuition?


                                                         20
Equivalent classes: complex (1)
 A class as the union of other classes
              Parent = Mother or Father
 In terms of class extensions:
  – The class extension of the class Parent is the union
    of the class extensions of the classes Mother and
    Father
  – OWL calls such formulas “class expressions” (term
    used in Protégé)

                                                      21
Equivalent classes: complex (2)
 A class as the intersection of other classes
           Mother =Woman and Parent
 In words: members of the Mother class must
  be members of both the Woman and the
  Parent class
 You can build even more complex
  expressions:
     Mother = Woman and some hasChild
                                                 22
Class expressions
 Statements such as Woman and Parent and
  Woman and some hasChild are called class
  expressions
 Description logic treats class expressions as
  anonymous classes
  – i.e. concepts with no symbol, cf. the concept triad




                                                      23
Equivalent classes: complex (3)
 Defining a class as the negation
  (“complement”) of other classes
    ChildlessPerson = Person and not Parent
 In words: a childless person is a member of
  the person class who does not belong to the
  extension of the parent class



                                                24
Necessary class definitions
 Description logic is used for classification
  reasoning
 A necessary definition state a constraint which
   must be true for class membership, but is not
  enough to classify it as a member of the class
 Example: red wine must have a red color
  – But: not all red things are red wines


                                                25
Necessary class definitions in
           description logic
 The red-wine constraint is expressed as follows:
   – Red wine is subclass of the class of all red things
 More formally: necessary conditions are stated
  as a constraint that the class in question (red
  wine) is a subclass of the anonymous class
  represented by the class expression (class of all
  red things)
 This explains how Protégé uses the
  “Superclasses”
   – Test this now; you’ll get the hang of it
                                                           26
Sufficient class definitions
 Sufficient definitions allow us to classify an
  individual as a member of a class
 Example: if we know someone belongs to the
  Woman and Parent class, we also know she
  belongs to the Mother class
 The equivalent-class expression represent
  sufficient definitions


                                                   27
Annotations
 Annotations are used to add metadata to
  classes and properties
 Annotations play no role in classification
 Example annotations:
  – Human-readable label (in multiple languages)
  – Time created
  – See also Dublin Core elements


                                                   28
Class exercise: comparison with UML
            class diagrams
 Make list of
  – Similarities
  – Differences


 Don’t forget that OWL is a Web language!




                                             29
Guidelines for naming concepts
 Keep original names, where possible
 Prefer more specific names over general ones
 Don’t be afraid of long names if you have to
  invent a name
 Use a consistent format
  – Here: ClassName propertyName
  – But alternatives are fine


                                             30
Class room exercise
 “Artefacts are created by humans. Art works
  are a kind of artefact. If a person has created
  an art work we call him/her an artist.”

 Exercise: create with the help of Protégé an
  OWL ontology for this domain description.



                                                    31

More Related Content

What's hot

Ontology development in protégé-آنتولوژی در پروتوغه
Ontology development in protégé-آنتولوژی در پروتوغهOntology development in protégé-آنتولوژی در پروتوغه
Ontology development in protégé-آنتولوژی در پروتوغهsadegh salehi
 
Reflection and Introspection
Reflection and IntrospectionReflection and Introspection
Reflection and Introspectionadil raja
 
A Semantic Importing Approach to Knowledge Reuse from Multiple Ontologies
A Semantic Importing Approach to Knowledge Reuse from Multiple OntologiesA Semantic Importing Approach to Knowledge Reuse from Multiple Ontologies
A Semantic Importing Approach to Knowledge Reuse from Multiple OntologiesJie Bao
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programmingJun Shimizu
 
Franz 2014 ESA Aligning Insect Phylogenies Perelleschus and Other Cases
Franz 2014 ESA Aligning Insect Phylogenies Perelleschus and Other CasesFranz 2014 ESA Aligning Insect Phylogenies Perelleschus and Other Cases
Franz 2014 ESA Aligning Insect Phylogenies Perelleschus and Other Casestaxonbytes
 
Modular Ontologies: Package-based Description Logics Approach
Modular Ontologies: Package-based Description Logics ApproachModular Ontologies: Package-based Description Logics Approach
Modular Ontologies: Package-based Description Logics ApproachJie Bao
 
Franz. 2014. Explaining taxonomy's legacy to computers – how and why?
Franz. 2014. Explaining taxonomy's legacy to computers – how and why?Franz. 2014. Explaining taxonomy's legacy to computers – how and why?
Franz. 2014. Explaining taxonomy's legacy to computers – how and why?taxonbytes
 
Multiple Inheritance
Multiple InheritanceMultiple Inheritance
Multiple Inheritanceadil raja
 
Inheritance in c++ ppt (Powerpoint) | inheritance in c++ ppt presentation | i...
Inheritance in c++ ppt (Powerpoint) | inheritance in c++ ppt presentation | i...Inheritance in c++ ppt (Powerpoint) | inheritance in c++ ppt presentation | i...
Inheritance in c++ ppt (Powerpoint) | inheritance in c++ ppt presentation | i...cprogrammings
 
Franz Et Al. Using ASP to Simulate the Interplay of Taxonomic and Nomenclatur...
Franz Et Al. Using ASP to Simulate the Interplay of Taxonomic and Nomenclatur...Franz Et Al. Using ASP to Simulate the Interplay of Taxonomic and Nomenclatur...
Franz Et Al. Using ASP to Simulate the Interplay of Taxonomic and Nomenclatur...taxonbytes
 
Adapt OWL as a Modular Ontology Language
Adapt OWL as a Modular Ontology LanguageAdapt OWL as a Modular Ontology Language
Adapt OWL as a Modular Ontology LanguageJie Bao
 
Representing and Reasoning with Modular Ontologies
Representing and Reasoning with Modular OntologiesRepresenting and Reasoning with Modular Ontologies
Representing and Reasoning with Modular OntologiesJie Bao
 
Franz et. al. 2012. Reconciling Succeeding Classifications, ESA 2012
Franz et. al. 2012. Reconciling Succeeding Classifications, ESA 2012Franz et. al. 2012. Reconciling Succeeding Classifications, ESA 2012
Franz et. al. 2012. Reconciling Succeeding Classifications, ESA 2012taxonbytes
 
Pi j3.1 inheritance
Pi j3.1 inheritancePi j3.1 inheritance
Pi j3.1 inheritancemcollison
 
Inheritance in oops
Inheritance in oopsInheritance in oops
Inheritance in oopsHirra Sultan
 
Representing and Reasoning with Modular Ontologies (2007)
Representing and Reasoning with Modular Ontologies (2007)Representing and Reasoning with Modular Ontologies (2007)
Representing and Reasoning with Modular Ontologies (2007)Jie Bao
 

What's hot (20)

Ontology development in protégé-آنتولوژی در پروتوغه
Ontology development in protégé-آنتولوژی در پروتوغهOntology development in protégé-آنتولوژی در پروتوغه
Ontology development in protégé-آنتولوژی در پروتوغه
 
Reflection and Introspection
Reflection and IntrospectionReflection and Introspection
Reflection and Introspection
 
A Semantic Importing Approach to Knowledge Reuse from Multiple Ontologies
A Semantic Importing Approach to Knowledge Reuse from Multiple OntologiesA Semantic Importing Approach to Knowledge Reuse from Multiple Ontologies
A Semantic Importing Approach to Knowledge Reuse from Multiple Ontologies
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
OOP Inheritance
OOP InheritanceOOP Inheritance
OOP Inheritance
 
Ontology
Ontology Ontology
Ontology
 
Franz 2014 ESA Aligning Insect Phylogenies Perelleschus and Other Cases
Franz 2014 ESA Aligning Insect Phylogenies Perelleschus and Other CasesFranz 2014 ESA Aligning Insect Phylogenies Perelleschus and Other Cases
Franz 2014 ESA Aligning Insect Phylogenies Perelleschus and Other Cases
 
Modular Ontologies: Package-based Description Logics Approach
Modular Ontologies: Package-based Description Logics ApproachModular Ontologies: Package-based Description Logics Approach
Modular Ontologies: Package-based Description Logics Approach
 
Franz. 2014. Explaining taxonomy's legacy to computers – how and why?
Franz. 2014. Explaining taxonomy's legacy to computers – how and why?Franz. 2014. Explaining taxonomy's legacy to computers – how and why?
Franz. 2014. Explaining taxonomy's legacy to computers – how and why?
 
Multiple Inheritance
Multiple InheritanceMultiple Inheritance
Multiple Inheritance
 
Inheritance in c++ ppt (Powerpoint) | inheritance in c++ ppt presentation | i...
Inheritance in c++ ppt (Powerpoint) | inheritance in c++ ppt presentation | i...Inheritance in c++ ppt (Powerpoint) | inheritance in c++ ppt presentation | i...
Inheritance in c++ ppt (Powerpoint) | inheritance in c++ ppt presentation | i...
 
Franz Et Al. Using ASP to Simulate the Interplay of Taxonomic and Nomenclatur...
Franz Et Al. Using ASP to Simulate the Interplay of Taxonomic and Nomenclatur...Franz Et Al. Using ASP to Simulate the Interplay of Taxonomic and Nomenclatur...
Franz Et Al. Using ASP to Simulate the Interplay of Taxonomic and Nomenclatur...
 
Adapt OWL as a Modular Ontology Language
Adapt OWL as a Modular Ontology LanguageAdapt OWL as a Modular Ontology Language
Adapt OWL as a Modular Ontology Language
 
Representing and Reasoning with Modular Ontologies
Representing and Reasoning with Modular OntologiesRepresenting and Reasoning with Modular Ontologies
Representing and Reasoning with Modular Ontologies
 
OOPs Lecture 2
OOPs Lecture 2OOPs Lecture 2
OOPs Lecture 2
 
Franz et. al. 2012. Reconciling Succeeding Classifications, ESA 2012
Franz et. al. 2012. Reconciling Succeeding Classifications, ESA 2012Franz et. al. 2012. Reconciling Succeeding Classifications, ESA 2012
Franz et. al. 2012. Reconciling Succeeding Classifications, ESA 2012
 
Pi j3.1 inheritance
Pi j3.1 inheritancePi j3.1 inheritance
Pi j3.1 inheritance
 
Inheritance in oops
Inheritance in oopsInheritance in oops
Inheritance in oops
 
Representing and Reasoning with Modular Ontologies (2007)
Representing and Reasoning with Modular Ontologies (2007)Representing and Reasoning with Modular Ontologies (2007)
Representing and Reasoning with Modular Ontologies (2007)
 
Lesson 20
Lesson 20Lesson 20
Lesson 20
 

Viewers also liked

Jarrar: OWL (Web Ontology Language)
Jarrar: OWL (Web Ontology Language)Jarrar: OWL (Web Ontology Language)
Jarrar: OWL (Web Ontology Language)Mustafa Jarrar
 
Lecture: Ontologies and the Semantic Web
Lecture: Ontologies and the Semantic WebLecture: Ontologies and the Semantic Web
Lecture: Ontologies and the Semantic WebMarina Santini
 
Owl web ontology language
Owl  web ontology languageOwl  web ontology language
Owl web ontology languagehassco2011
 
Open Standards for the Semantic Web: XML / RDF(S) / OWL / SOAP
Open Standards for the Semantic Web: XML / RDF(S) / OWL / SOAPOpen Standards for the Semantic Web: XML / RDF(S) / OWL / SOAP
Open Standards for the Semantic Web: XML / RDF(S) / OWL / SOAPPieter De Leenheer
 

Viewers also liked (6)

Ontology
OntologyOntology
Ontology
 
Jarrar: OWL (Web Ontology Language)
Jarrar: OWL (Web Ontology Language)Jarrar: OWL (Web Ontology Language)
Jarrar: OWL (Web Ontology Language)
 
Lecture: Ontologies and the Semantic Web
Lecture: Ontologies and the Semantic WebLecture: Ontologies and the Semantic Web
Lecture: Ontologies and the Semantic Web
 
Owl web ontology language
Owl  web ontology languageOwl  web ontology language
Owl web ontology language
 
Open Standards for the Semantic Web: XML / RDF(S) / OWL / SOAP
Open Standards for the Semantic Web: XML / RDF(S) / OWL / SOAPOpen Standards for the Semantic Web: XML / RDF(S) / OWL / SOAP
Open Standards for the Semantic Web: XML / RDF(S) / OWL / SOAP
 
Linked Data Tutorial
Linked Data TutorialLinked Data Tutorial
Linked Data Tutorial
 

Similar to Ontology Engineering: representation in OWL

Ontology engineering: Ontology alignment
Ontology engineering: Ontology alignmentOntology engineering: Ontology alignment
Ontology engineering: Ontology alignmentGuus Schreiber
 
Ontology Engineering: ontology construction I
Ontology Engineering: ontology construction IOntology Engineering: ontology construction I
Ontology Engineering: ontology construction IGuus Schreiber
 
A Semantic Multimedia Web (Part 2)
A Semantic Multimedia Web (Part 2)A Semantic Multimedia Web (Part 2)
A Semantic Multimedia Web (Part 2)Raphael Troncy
 
Ontology Engineering: ontology construction II
Ontology Engineering: ontology construction IIOntology Engineering: ontology construction II
Ontology Engineering: ontology construction IIGuus Schreiber
 
NE7012- SOCIAL NETWORK ANALYSIS
NE7012- SOCIAL NETWORK ANALYSISNE7012- SOCIAL NETWORK ANALYSIS
NE7012- SOCIAL NETWORK ANALYSISrathnaarul
 
Semantic web
Semantic webSemantic web
Semantic webtariq1352
 
CS6010 Social Network Analysis Unit II
CS6010 Social Network Analysis   Unit IICS6010 Social Network Analysis   Unit II
CS6010 Social Network Analysis Unit IIpkaviya
 
Object Oriented Relationships
Object Oriented RelationshipsObject Oriented Relationships
Object Oriented RelationshipsTaher Barodawala
 
RDF Semantics
RDF SemanticsRDF Semantics
RDF SemanticsJie Bao
 
A Featherweight Approach to FOOL
A Featherweight Approach to FOOLA Featherweight Approach to FOOL
A Featherweight Approach to FOOLgreenwop
 
Jarrar: OWL -Web Ontology Language
Jarrar: OWL -Web Ontology LanguageJarrar: OWL -Web Ontology Language
Jarrar: OWL -Web Ontology LanguageMustafa Jarrar
 
Inheritance and Substitution
Inheritance and SubstitutionInheritance and Substitution
Inheritance and Substitutionadil raja
 
UMBEL: Subject Concepts Layer for the Web
UMBEL: Subject Concepts Layer for the WebUMBEL: Subject Concepts Layer for the Web
UMBEL: Subject Concepts Layer for the WebMike Bergman
 

Similar to Ontology Engineering: representation in OWL (20)

Semantic web Technology
Semantic web TechnologySemantic web Technology
Semantic web Technology
 
Ontology engineering: Ontology alignment
Ontology engineering: Ontology alignmentOntology engineering: Ontology alignment
Ontology engineering: Ontology alignment
 
2 ontologies I
2 ontologies I2 ontologies I
2 ontologies I
 
Ontology Engineering: ontology construction I
Ontology Engineering: ontology construction IOntology Engineering: ontology construction I
Ontology Engineering: ontology construction I
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
A Semantic Multimedia Web (Part 2)
A Semantic Multimedia Web (Part 2)A Semantic Multimedia Web (Part 2)
A Semantic Multimedia Web (Part 2)
 
Ontology Engineering: ontology construction II
Ontology Engineering: ontology construction IIOntology Engineering: ontology construction II
Ontology Engineering: ontology construction II
 
Cut & Shave
Cut & ShaveCut & Shave
Cut & Shave
 
The Web Ontology Language
The Web Ontology LanguageThe Web Ontology Language
The Web Ontology Language
 
NE7012- SOCIAL NETWORK ANALYSIS
NE7012- SOCIAL NETWORK ANALYSISNE7012- SOCIAL NETWORK ANALYSIS
NE7012- SOCIAL NETWORK ANALYSIS
 
OWL briefing
OWL briefingOWL briefing
OWL briefing
 
Ontologies in RDF-S/OWL
Ontologies in RDF-S/OWLOntologies in RDF-S/OWL
Ontologies in RDF-S/OWL
 
Semantic web
Semantic webSemantic web
Semantic web
 
CS6010 Social Network Analysis Unit II
CS6010 Social Network Analysis   Unit IICS6010 Social Network Analysis   Unit II
CS6010 Social Network Analysis Unit II
 
Object Oriented Relationships
Object Oriented RelationshipsObject Oriented Relationships
Object Oriented Relationships
 
RDF Semantics
RDF SemanticsRDF Semantics
RDF Semantics
 
A Featherweight Approach to FOOL
A Featherweight Approach to FOOLA Featherweight Approach to FOOL
A Featherweight Approach to FOOL
 
Jarrar: OWL -Web Ontology Language
Jarrar: OWL -Web Ontology LanguageJarrar: OWL -Web Ontology Language
Jarrar: OWL -Web Ontology Language
 
Inheritance and Substitution
Inheritance and SubstitutionInheritance and Substitution
Inheritance and Substitution
 
UMBEL: Subject Concepts Layer for the Web
UMBEL: Subject Concepts Layer for the WebUMBEL: Subject Concepts Layer for the Web
UMBEL: Subject Concepts Layer for the Web
 

More from Guus Schreiber

How the Semantic Web is transforming information access
How the Semantic Web is transforming information accessHow the Semantic Web is transforming information access
How the Semantic Web is transforming information accessGuus Schreiber
 
Semantics and the Humanities: some lessons from my journey 2000-2012
Semantics and the Humanities: some lessons from my journey 2000-2012Semantics and the Humanities: some lessons from my journey 2000-2012
Semantics and the Humanities: some lessons from my journey 2000-2012Guus Schreiber
 
Ontologies: vehicles for reuse
Ontologies: vehicles for reuseOntologies: vehicles for reuse
Ontologies: vehicles for reuseGuus Schreiber
 
Linking historical ship records to a newspaper archive
Linking historical ship records to a newspaper archiveLinking historical ship records to a newspaper archive
Linking historical ship records to a newspaper archiveGuus Schreiber
 
CommonKADS project management
CommonKADS project managementCommonKADS project management
CommonKADS project managementGuus Schreiber
 
UML notations used by CommonKADS
UML notations used by CommonKADSUML notations used by CommonKADS
UML notations used by CommonKADSGuus Schreiber
 
Advanced knowledge modelling
Advanced knowledge modellingAdvanced knowledge modelling
Advanced knowledge modellingGuus Schreiber
 
CommonKADS design and implementation
CommonKADS design and implementationCommonKADS design and implementation
CommonKADS design and implementationGuus Schreiber
 
CommonKADS communication model
CommonKADS communication modelCommonKADS communication model
CommonKADS communication modelGuus Schreiber
 
CommonKADS knowledge modelling process
CommonKADS knowledge modelling processCommonKADS knowledge modelling process
CommonKADS knowledge modelling processGuus Schreiber
 
CommonKADS knowledge model templates
CommonKADS knowledge model templatesCommonKADS knowledge model templates
CommonKADS knowledge model templatesGuus Schreiber
 
CommonKADS knowledge modelling basics
CommonKADS knowledge modelling basicsCommonKADS knowledge modelling basics
CommonKADS knowledge modelling basicsGuus Schreiber
 
CommonKADS knowledge management
CommonKADS knowledge managementCommonKADS knowledge management
CommonKADS knowledge managementGuus Schreiber
 
CommonKADS context models
CommonKADS context modelsCommonKADS context models
CommonKADS context modelsGuus Schreiber
 
Web Science: the digital heritage case
Web Science: the digital heritage caseWeb Science: the digital heritage case
Web Science: the digital heritage caseGuus Schreiber
 
Principles and pragmatics of a Semantic Culture Web
 Principles and pragmatics of a Semantic Culture Web Principles and pragmatics of a Semantic Culture Web
Principles and pragmatics of a Semantic Culture WebGuus Schreiber
 
Semantics for visual resources: use cases from e-culture
Semantics for visual resources: use cases from e-cultureSemantics for visual resources: use cases from e-culture
Semantics for visual resources: use cases from e-cultureGuus Schreiber
 
Semantic Web: From Representations to Applications
Semantic Web: From Representations to ApplicationsSemantic Web: From Representations to Applications
Semantic Web: From Representations to ApplicationsGuus Schreiber
 
Principles for knowledge engineering on the Web
Principles for knowledge engineering on the WebPrinciples for knowledge engineering on the Web
Principles for knowledge engineering on the WebGuus Schreiber
 

More from Guus Schreiber (20)

How the Semantic Web is transforming information access
How the Semantic Web is transforming information accessHow the Semantic Web is transforming information access
How the Semantic Web is transforming information access
 
Semantics and the Humanities: some lessons from my journey 2000-2012
Semantics and the Humanities: some lessons from my journey 2000-2012Semantics and the Humanities: some lessons from my journey 2000-2012
Semantics and the Humanities: some lessons from my journey 2000-2012
 
Ontologies: vehicles for reuse
Ontologies: vehicles for reuseOntologies: vehicles for reuse
Ontologies: vehicles for reuse
 
Linking historical ship records to a newspaper archive
Linking historical ship records to a newspaper archiveLinking historical ship records to a newspaper archive
Linking historical ship records to a newspaper archive
 
CommonKADS project management
CommonKADS project managementCommonKADS project management
CommonKADS project management
 
UML notations used by CommonKADS
UML notations used by CommonKADSUML notations used by CommonKADS
UML notations used by CommonKADS
 
Advanced knowledge modelling
Advanced knowledge modellingAdvanced knowledge modelling
Advanced knowledge modelling
 
CommonKADS design and implementation
CommonKADS design and implementationCommonKADS design and implementation
CommonKADS design and implementation
 
CommonKADS communication model
CommonKADS communication modelCommonKADS communication model
CommonKADS communication model
 
CommonKADS knowledge modelling process
CommonKADS knowledge modelling processCommonKADS knowledge modelling process
CommonKADS knowledge modelling process
 
CommonKADS knowledge model templates
CommonKADS knowledge model templatesCommonKADS knowledge model templates
CommonKADS knowledge model templates
 
CommonKADS knowledge modelling basics
CommonKADS knowledge modelling basicsCommonKADS knowledge modelling basics
CommonKADS knowledge modelling basics
 
CommonKADS knowledge management
CommonKADS knowledge managementCommonKADS knowledge management
CommonKADS knowledge management
 
CommonKADS context models
CommonKADS context modelsCommonKADS context models
CommonKADS context models
 
Introduction
IntroductionIntroduction
Introduction
 
Web Science: the digital heritage case
Web Science: the digital heritage caseWeb Science: the digital heritage case
Web Science: the digital heritage case
 
Principles and pragmatics of a Semantic Culture Web
 Principles and pragmatics of a Semantic Culture Web Principles and pragmatics of a Semantic Culture Web
Principles and pragmatics of a Semantic Culture Web
 
Semantics for visual resources: use cases from e-culture
Semantics for visual resources: use cases from e-cultureSemantics for visual resources: use cases from e-culture
Semantics for visual resources: use cases from e-culture
 
Semantic Web: From Representations to Applications
Semantic Web: From Representations to ApplicationsSemantic Web: From Representations to Applications
Semantic Web: From Representations to Applications
 
Principles for knowledge engineering on the Web
Principles for knowledge engineering on the WebPrinciples for knowledge engineering on the Web
Principles for knowledge engineering on the Web
 

Recently uploaded

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 

Recently uploaded (20)

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 

Ontology Engineering: representation in OWL

  • 1. Ontology representation Guus Schreiber, VU Ontology Engineering course
  • 2. RDF/OWL  Ontology language used in this course  OWL = W3C Ontology Web Language  RDF is basis of representation – Triples = binary relation format – Turtle is the triple syntax format most frequently used 2
  • 3. Background reading OWL Primer, W3C Recommendation, October 2009, http://www.w3.org/TR/owl2-primer/.  Section 4 contains the basic constructs  Secs. 5-8 describe the advanced features (not all of these will be used in the course).  The Turtle syntax is easiest to read. You can hide the other in the beginning of the document. 3
  • 4. Some notes about syntax  Protégé hides most of the syntax details  OWL has quite a few syntax formats  If you want to look at OWL syntax we recommend that you use the Turtle syntax  Background reading on Turtle): h http://wikitravel.org/en/Wikitravel:Turtle_RDF 4
  • 5. Class  Central grouping construct  Its instances are called “members”  Classes can have multiple sub-classes  Classes can have multiple super-classes  Root class is conventionally called Thing: the super-class of all classes – Nothing is a sub-class of all classes 5
  • 6. Property  Properties define relationships  RDF/OWL properties have a direction Artist creates Artwork – Compare with UML!  Two types of properties – Object property: relationship between two classes – Datatype property: relationship between a class and a value space (integers, strings, dates)  Terminology: – Subject = left hand of relation – Object = right hand of relation 6
  • 7. Property hierarchy  Properties may have sub-properties hasChild hasDaugther hasSon  Logically sub-properties represent relationships between subsets of the super- property 7
  • 8. hasChild Judith Peter Bob Mary Sue hasDaugther Peter Judith Mary Sue hasSon Peter Bob 8
  • 9. Domain and range  Artist creates Artwork  Artist is the domain – Class of allowed “values” at the left side (origin( of the relationship  Artwork is the range – Class of allowed “values” at the right side (destination) of the relationship 9
  • 10. Property characteristics (1)  Functional property – For each subject this relation has at most one object – hasBiologicalMother  Inverse-functional property – For each object this relation has are most one subject – hasStudentNumber 10
  • 11. Property characteristics (2)  Symmetric property – IF i1 p i2 THEN i2 p i1 – Example: friend  Asymmetric property – IF i1 p i2 THEN NOT i2 p i1 – Example: parent 11
  • 12. Property characteristics (3)  Transitive property – IF i1 p i2 AND i2 p i3 THEN i1 p i3  Example: partOf – If Amsterdam is a part of North-Holland and North-Holland is a part of The Netherlands, then Amsterdam is a part of the The Netherlands. 12
  • 13. Property characteristics (4)  Inverse property – P1 inverseOf p2 implies that IF i1 p1 i2 THEN i2 p2 i1 – Example: hasPart is the inverse of partOf, so if Amsterdam is a part of North-Holland, then North-Holland must have Amsterdam as one of its parts. 13
  • 14. Property characteristics (5)  Reflexive property – FORALL p HOLDS i p i – Example: for the property knows holds that everybody knows him/herself  Irreflexive property – FORALL p MUST NOT HOLD I p I – Example: for the parent relation holds that no one can be his own parent 14
  • 15. Individual  Instances of classes – Rembrandt is and individual and member of the Artist class  Note: Protégé-OWL supports meta-classes (classes which members are classes) poorly!  Enumerated class: a class for which all individual members can be listed – Da Ponte opera’s of Mozart: Nozze di Figaro, Cosi fan tutte, Don Giovanni 15
  • 16. Equality and inequality of individuals  Equality example: two people (with different URLs) are actually the same: ex:Jim sameAs ex:James  Inequality example: two people are different Ex1:Jim differentFrom ex2:Jim  Important on the Web! – Difference between closed and open world 16
  • 17. Cardinality restrictions of properties  Defines how many relationships of a certain type there can be for a particular subject  Examples: – Person marriedTo max 1 – Course hasTutor min 1 – Person hasParent exactly 2 17
  • 18. Value restrictions of properties  Defines to what objects a subject can be related through a particular relation  Examples – Wine producedBy only Vineyard Wine is only produced by vineyards – RedWine color value “Red” Red wines have a red color – Bicycle hasPart some Wheel Bicycles consist, amongst others, of at least one wheel 18
  • 19. Equivalent classes & properties: simple  States that two classes are the same, for example two classes in different ontologies wn-en:Dog = wn-it:Cane  You can do the same for properties ex1:hasPart = ex2:hasComponent  Question: do you think equivalence occurs frequently? 19
  • 20. Interlude: the notion of class extension  OWL is derived from “description logic”  Description logic takes an “extensional” view of classes: – Two classes are the same if - and only if- they have the same class extension – The class extension is the set of members of the class  Question: does this correspond to your intuition? 20
  • 21. Equivalent classes: complex (1)  A class as the union of other classes Parent = Mother or Father  In terms of class extensions: – The class extension of the class Parent is the union of the class extensions of the classes Mother and Father – OWL calls such formulas “class expressions” (term used in Protégé) 21
  • 22. Equivalent classes: complex (2)  A class as the intersection of other classes Mother =Woman and Parent  In words: members of the Mother class must be members of both the Woman and the Parent class  You can build even more complex expressions: Mother = Woman and some hasChild 22
  • 23. Class expressions  Statements such as Woman and Parent and Woman and some hasChild are called class expressions  Description logic treats class expressions as anonymous classes – i.e. concepts with no symbol, cf. the concept triad 23
  • 24. Equivalent classes: complex (3)  Defining a class as the negation (“complement”) of other classes ChildlessPerson = Person and not Parent  In words: a childless person is a member of the person class who does not belong to the extension of the parent class 24
  • 25. Necessary class definitions  Description logic is used for classification reasoning  A necessary definition state a constraint which must be true for class membership, but is not enough to classify it as a member of the class  Example: red wine must have a red color – But: not all red things are red wines 25
  • 26. Necessary class definitions in description logic  The red-wine constraint is expressed as follows: – Red wine is subclass of the class of all red things  More formally: necessary conditions are stated as a constraint that the class in question (red wine) is a subclass of the anonymous class represented by the class expression (class of all red things)  This explains how Protégé uses the “Superclasses” – Test this now; you’ll get the hang of it 26
  • 27. Sufficient class definitions  Sufficient definitions allow us to classify an individual as a member of a class  Example: if we know someone belongs to the Woman and Parent class, we also know she belongs to the Mother class  The equivalent-class expression represent sufficient definitions 27
  • 28. Annotations  Annotations are used to add metadata to classes and properties  Annotations play no role in classification  Example annotations: – Human-readable label (in multiple languages) – Time created – See also Dublin Core elements 28
  • 29. Class exercise: comparison with UML class diagrams  Make list of – Similarities – Differences  Don’t forget that OWL is a Web language! 29
  • 30. Guidelines for naming concepts  Keep original names, where possible  Prefer more specific names over general ones  Don’t be afraid of long names if you have to invent a name  Use a consistent format – Here: ClassName propertyName – But alternatives are fine 30
  • 31. Class room exercise  “Artefacts are created by humans. Art works are a kind of artefact. If a person has created an art work we call him/her an artist.”  Exercise: create with the help of Protégé an OWL ontology for this domain description. 31