SlideShare una empresa de Scribd logo
1 de 47
Ontology modelling
and the semantic web
Asgeir Rekkavik
Deichmanske bibliotek
What does the word
semantic mean?
• Semantics: The branch of linguistics
concerned with meaning.
(Shorter Oxford English dictionary)

• Semantics is the study of meaning.
(Wikipedia 2013-10-16)
I love you
I♥ U
Different syntax, same semantics
What does ontology mean?
• Ontology: The science or study of being.
(Shorter Oxford English dictionary)

• In computer science and information science,
an ontology formally represents knowledge
as a set of concepts within a domain, and the
relationships between those concepts.
(Wikipedia 2013-10-16)
What does ontology mean?
• The world can be described in many different
ways: e.g. language, art etc.
• An ontology describes the world in a way that is
formal, structured and unambiguous.
• Why? Because we want to describe it to
computers.
Ann and Becky are sisters
Ann and Becky are mothers
Taxonomies
Taxonomies
• Hierarchical classification
• Characteristics
•
•
•
•

Generic relations (’is-a’ relations)
Directed graph
Nodes represent categories
Arrows represent broader/narrower relations

• Especially known from biology. Developed
by Carl von Linné.
Taxonomies
Transitive relations
• If A is related to B and B is related to C,
then A is related to C
• Examples:
• If Ann is younger than Bob and Bob is younger
than Carl, then Ann is younger than Carl
• If a wolf is a mammal and a mammal is an
animal, then a wolf is an animal.
Transitive relations
• Other transitive relations can exist between
concepts, e.g. ’part-of’ relations
Different types of relations
• Generic (’is-a’, e.g. Cat - Animal)
• Partitive (’part-of’, e.g. Oslo - Norway)
• Instance (e.g. Socrates - Philospher)
• Equivalence (e.g. Dove – Pigeon)
• Associative (’the rest’)
Thesaurus
• Concepts are represented by terms
• Certain types of relations between concepts
are formalized:
• Generic, partitive and instance relations are all
formalized as ’broader / narrower’
• Equivalence relations are formalized as ’use% /
use for ’
• Some associative relations are formalized as
’see also:’
Thesaurus hierarchy
Thesaurus
• Solar systems
NT: Planets
• Planets
BT: Solar systems
NT: Gas giants
• Gas giants
BT: Planets
NT: Jupiter
• Jupiter
BT: Gas giants
Protégé
• Free, open source ontology editor
• Developed by Stanford University and the
University of Manchester
• Available from:
http://protege.stanford.edu
Ontology – key concepts
• Classes
• Instances (individuals)
• Properties
Classes
• Represent categories, sets of individual
instances
• Are related to eachother through parentchild relationships (superclass-subclass)
• Only generic ’is a’-relations are allowed
• Unlike in a taxonomy, multiple inheritence
is allowed.
Generic class hierarchy
Generic class hierarchy
Properties of classes
• Classes can be:
• Disjoint
(if n is a member of A, n is not a member of B)
(e.g. if Robin is a girl, then Robin is not a boy)
• Equivalent
(if n is a member of A, n is also a member of B and
if n is a member of B, n is also a member of A)
(e.g. Firstgraders ≡ Pupils born in 2007)
Exercise
Create a taxonomy with these classes:
•
•
•
•
•
•
•
•
•
•

Bicycle
Boat
Bulldog
Car
Cat
Colour
Dog
Dolphin
Flower
Man

•
•
•
•
•
•
•
•
•
•

Oak
Person
Pet
Pinetree
Plant
Puppy
Rose
Whale
Woman
Zebra
Instances
• Individual entities that can populate any
number of classes.
• An instance that is a member of a class, is
necessarily also a member of all its
superclasses.
Exercise
Create these instances:
The semantic triple
• A semantic triple is a statement consisting
of three parts:
• an instance (subject)
• a property that refers to that instance
(predicate)
• a value for that property (object)

George likes chocolate
s
p
o
Properties
• The instances are described through properties.
• There are two different types of properties:
• Object property:
• Takes another instance as value
• e.g. Alice knows Fred
• Datatype property
• Takes a distinct datatype value, like a number, a string etc.
• e.g. King Harald has year of birth 1937

• The property is the ”predicate” in the semantic triple.
Domain and Range
• The domain and range of a property determine
what kind of instances it can be used for and what
kind of values it can have.
• Domain
• The class, whose instances can have the property
• If domain is not set, domain=Thing

• Range
• The class, whose instances can be value for an object
property
• The type of data that is allowed as value for a datatype
property
Properties of properties
• Properties can be:
• symmetric
(Martin has cousin Thomas) ⇔ (Thomas has cousin Martin)

• asymmetric
(Martin is father of Rosie) ⇒ (Rosie can not be father of Martin)

• inverse
(Martin is parent of Rosie) ⇔ (Rosie is child of Martin)
• transitive
(Rosie descends from Martin) and (Martin descends from Emma)
⇒ (Rosie descends from Emma)

• functional (can have only one value)
• inverse functional (value can be held by only one instance)
• reflexive (instance takes itself as a value)
Exercise
Object properties
• Create the following object properties
• owns
• ownedBy
• hasNeighbour

• Set domain and range
• Connect instances, so that:

• Mr. Taylor owns Duchess
• Mrs. Robertson owns Lassie
• Mr. Taylor and Mrs. Robertson are neighbours
Restrictions
• Classes can be populated according to rules
called restrictions.
• This is done by expressing that a class is
equivalent to a certain set of instances.
• The set can be defined by
• combining other classes with and/or/not
operators
• using criteria based on desired properties for
the instances
Restrictions
• Add new class LivingThing
• Use class expression editor to express
equivalence relation:
LivingThing

≡

Animal or Plant or Person
•
•
•
•

Add the class Gender
Add the individuals Male and Female
Add the property hasGender, domain: LivingThing
Express that:
•
•
•
•
•
•

Lassie is female
Duchess is female
Moby Dick is male
Mr. Taylor is male
Mrs. Robertson is female
Thomas O’Malley is male
• Add classes FemaleBeing and MaleBeing
• Use class expression editor to express
equivalence relations:
FemaleBeing ≡
MaleBeing
≡
Pet

≡

hasGender value Female
hasGender value Male

Animal and ownedBy some Person
What about this?

WildAnimal ≡

Animal and not (ownedBy some Person)
Open world assumption
• The truth-value of an assumption does not
depend on whether it is known or not
• The absence of a statement therefore does
not count as a negation of that statement
• Statements:
• Mary is a woman
• George is a man
• Mary is an American citizen

• Question:
• Is George an American citizen?

• Answers
• Closed world assumption:
• Open world assumption:

"No"
"Unknown"
Example ontologies
• Dublin Core metadata terms
http://purl.org/dc/terms/

• Bibo (Bibliographic ontology)
http://purl.org/ontology/bibo/

• Core FRBR
http://purl.org/spar/frbr/

• FOAF (Friend of a friend)
http://xmlns.com/foaf/spec/

Más contenido relacionado

Destacado

Practical Semantic Web and Why You Should Care - DrupalCon DC 2009
Practical Semantic Web and Why You Should Care - DrupalCon DC 2009Practical Semantic Web and Why You Should Care - DrupalCon DC 2009
Practical Semantic Web and Why You Should Care - DrupalCon DC 2009Boris Mann
 
Ontology, Semantic Web and DBpedia
Ontology, Semantic Web and DBpediaOntology, Semantic Web and DBpedia
Ontology, Semantic Web and DBpediaRichard Kuo
 
Building OBO Foundry ontology using semantic web tools
Building OBO Foundry ontology using semantic web toolsBuilding OBO Foundry ontology using semantic web tools
Building OBO Foundry ontology using semantic web toolsMelanie Courtot
 
Ontology Web services for Semantic Applications
Ontology Web services for Semantic ApplicationsOntology Web services for Semantic Applications
Ontology Web services for Semantic ApplicationsTrish Whetzel
 
Introduction To The Semantic Web
Introduction To The Semantic  WebIntroduction To The Semantic  Web
Introduction To The Semantic Webguest262aaa
 
The GoodRelations Ontology: Making Semantic Web-based E-Commerce a Reality
The GoodRelations Ontology: Making Semantic  Web-based E-Commerce a RealityThe GoodRelations Ontology: Making Semantic  Web-based E-Commerce a Reality
The GoodRelations Ontology: Making Semantic Web-based E-Commerce a RealityMartin Hepp
 
The Semantic Web #8 - Ontology
The Semantic Web #8 - OntologyThe Semantic Web #8 - Ontology
The Semantic Web #8 - OntologyMyungjin Lee
 
The Standardization of Semantic Web Ontology
The Standardization of Semantic Web OntologyThe Standardization of Semantic Web Ontology
The Standardization of Semantic Web OntologyMyungjin Lee
 
The semantic web
The semantic webThe semantic web
The semantic webDotkumo
 
Introduction to the Semantic Web
Introduction to the Semantic WebIntroduction to the Semantic Web
Introduction to the Semantic WebOscar Corcho
 
Semantic Web
Semantic WebSemantic Web
Semantic Webgregreser
 
Semantic Web and Ontology Seminar by Peakmaker
Semantic Web and Ontology Seminar by PeakmakerSemantic Web and Ontology Seminar by Peakmaker
Semantic Web and Ontology Seminar by PeakmakerKrich Peakmaker
 

Destacado (15)

Advanced driver assistance systems
Advanced driver assistance systemsAdvanced driver assistance systems
Advanced driver assistance systems
 
Practical Semantic Web and Why You Should Care - DrupalCon DC 2009
Practical Semantic Web and Why You Should Care - DrupalCon DC 2009Practical Semantic Web and Why You Should Care - DrupalCon DC 2009
Practical Semantic Web and Why You Should Care - DrupalCon DC 2009
 
Ontology, Semantic Web and DBpedia
Ontology, Semantic Web and DBpediaOntology, Semantic Web and DBpedia
Ontology, Semantic Web and DBpedia
 
Building OBO Foundry ontology using semantic web tools
Building OBO Foundry ontology using semantic web toolsBuilding OBO Foundry ontology using semantic web tools
Building OBO Foundry ontology using semantic web tools
 
Ontology Web services for Semantic Applications
Ontology Web services for Semantic ApplicationsOntology Web services for Semantic Applications
Ontology Web services for Semantic Applications
 
SMWCon Fall 2015 FForms
SMWCon Fall 2015 FFormsSMWCon Fall 2015 FForms
SMWCon Fall 2015 FForms
 
Introduction To The Semantic Web
Introduction To The Semantic  WebIntroduction To The Semantic  Web
Introduction To The Semantic Web
 
The GoodRelations Ontology: Making Semantic Web-based E-Commerce a Reality
The GoodRelations Ontology: Making Semantic  Web-based E-Commerce a RealityThe GoodRelations Ontology: Making Semantic  Web-based E-Commerce a Reality
The GoodRelations Ontology: Making Semantic Web-based E-Commerce a Reality
 
The Semantic Web #8 - Ontology
The Semantic Web #8 - OntologyThe Semantic Web #8 - Ontology
The Semantic Web #8 - Ontology
 
The Standardization of Semantic Web Ontology
The Standardization of Semantic Web OntologyThe Standardization of Semantic Web Ontology
The Standardization of Semantic Web Ontology
 
Semantic Web
Semantic WebSemantic Web
Semantic Web
 
The semantic web
The semantic webThe semantic web
The semantic web
 
Introduction to the Semantic Web
Introduction to the Semantic WebIntroduction to the Semantic Web
Introduction to the Semantic Web
 
Semantic Web
Semantic WebSemantic Web
Semantic Web
 
Semantic Web and Ontology Seminar by Peakmaker
Semantic Web and Ontology Seminar by PeakmakerSemantic Web and Ontology Seminar by Peakmaker
Semantic Web and Ontology Seminar by Peakmaker
 

Similar a Ontology modelling and the semantic web

Ontology dojo presentation eia 18 workshop take away
Ontology dojo presentation eia 18 workshop take awayOntology dojo presentation eia 18 workshop take away
Ontology dojo presentation eia 18 workshop take awayRen Pope
 
chapter2 Know.representation.pptx
chapter2 Know.representation.pptxchapter2 Know.representation.pptx
chapter2 Know.representation.pptxwendifrawtadesse1
 
Knowing what we’re talking about
Knowing what we’re talking aboutKnowing what we’re talking about
Knowing what we’re talking aboutrobertstevens65
 
Lexical Semantics, Semantic Similarity and Relevance for SEO
Lexical Semantics, Semantic Similarity and Relevance for SEOLexical Semantics, Semantic Similarity and Relevance for SEO
Lexical Semantics, Semantic Similarity and Relevance for SEOKoray Tugberk GUBUR
 
lexical-semantics-221118101910-ccd46ac3.pdf
lexical-semantics-221118101910-ccd46ac3.pdflexical-semantics-221118101910-ccd46ac3.pdf
lexical-semantics-221118101910-ccd46ac3.pdfGagu6
 
Grakn academy | Knowledge Modelling Principles
Grakn academy | Knowledge Modelling PrinciplesGrakn academy | Knowledge Modelling Principles
Grakn academy | Knowledge Modelling PrinciplesDaniel Crowe
 
Foundations of Knowledge Representation in Artificial Intelligence.pptx
Foundations of Knowledge Representation in Artificial Intelligence.pptxFoundations of Knowledge Representation in Artificial Intelligence.pptx
Foundations of Knowledge Representation in Artificial Intelligence.pptxkitsenthilkumarcse
 
ESWC SS 2013 - Wednesday Tutorial Elena Simperl: Creating and Using Ontologie...
ESWC SS 2013 - Wednesday Tutorial Elena Simperl: Creating and Using Ontologie...ESWC SS 2013 - Wednesday Tutorial Elena Simperl: Creating and Using Ontologie...
ESWC SS 2013 - Wednesday Tutorial Elena Simperl: Creating and Using Ontologie...eswcsummerschool
 
Building and using ontologies (2015)
Building and using ontologies (2015)Building and using ontologies (2015)
Building and using ontologies (2015)Elena Simperl
 
IAS 16 Ontology Dojo
IAS 16 Ontology DojoIAS 16 Ontology Dojo
IAS 16 Ontology DojoRen Pope
 
Lec 3 knowledge acquisition representation and inference
Lec 3  knowledge acquisition representation and inferenceLec 3  knowledge acquisition representation and inference
Lec 3 knowledge acquisition representation and inferenceEyob Sisay
 
UVA MDST 3703 The Stack of Scholarship 2012-09-24
UVA MDST 3703 The Stack of Scholarship 2012-09-24UVA MDST 3703 The Stack of Scholarship 2012-09-24
UVA MDST 3703 The Stack of Scholarship 2012-09-24Rafael Alvarado
 
Ontology Engineering: ontology construction I
Ontology Engineering: ontology construction IOntology Engineering: ontology construction I
Ontology Engineering: ontology construction IGuus Schreiber
 

Similar a Ontology modelling and the semantic web (20)

Ontology dojo presentation eia 18 workshop take away
Ontology dojo presentation eia 18 workshop take awayOntology dojo presentation eia 18 workshop take away
Ontology dojo presentation eia 18 workshop take away
 
frames.pptx
frames.pptxframes.pptx
frames.pptx
 
Lecture 1 - Objects and classes
Lecture 1 - Objects and classesLecture 1 - Objects and classes
Lecture 1 - Objects and classes
 
chapter2 Know.representation.pptx
chapter2 Know.representation.pptxchapter2 Know.representation.pptx
chapter2 Know.representation.pptx
 
Ontologies Fmi 042010
Ontologies Fmi 042010Ontologies Fmi 042010
Ontologies Fmi 042010
 
Knowing what we’re talking about
Knowing what we’re talking aboutKnowing what we’re talking about
Knowing what we’re talking about
 
Lexical Semantics, Semantic Similarity and Relevance for SEO
Lexical Semantics, Semantic Similarity and Relevance for SEOLexical Semantics, Semantic Similarity and Relevance for SEO
Lexical Semantics, Semantic Similarity and Relevance for SEO
 
lexical-semantics-221118101910-ccd46ac3.pdf
lexical-semantics-221118101910-ccd46ac3.pdflexical-semantics-221118101910-ccd46ac3.pdf
lexical-semantics-221118101910-ccd46ac3.pdf
 
Grakn academy | Knowledge Modelling Principles
Grakn academy | Knowledge Modelling PrinciplesGrakn academy | Knowledge Modelling Principles
Grakn academy | Knowledge Modelling Principles
 
Foundations of Knowledge Representation in Artificial Intelligence.pptx
Foundations of Knowledge Representation in Artificial Intelligence.pptxFoundations of Knowledge Representation in Artificial Intelligence.pptx
Foundations of Knowledge Representation in Artificial Intelligence.pptx
 
ESWC SS 2013 - Wednesday Tutorial Elena Simperl: Creating and Using Ontologie...
ESWC SS 2013 - Wednesday Tutorial Elena Simperl: Creating and Using Ontologie...ESWC SS 2013 - Wednesday Tutorial Elena Simperl: Creating and Using Ontologie...
ESWC SS 2013 - Wednesday Tutorial Elena Simperl: Creating and Using Ontologie...
 
Building and using ontologies (2015)
Building and using ontologies (2015)Building and using ontologies (2015)
Building and using ontologies (2015)
 
IAS 16 Ontology Dojo
IAS 16 Ontology DojoIAS 16 Ontology Dojo
IAS 16 Ontology Dojo
 
Information Literacy Award - Drama, Theatre & Dance
Information Literacy Award - Drama, Theatre & DanceInformation Literacy Award - Drama, Theatre & Dance
Information Literacy Award - Drama, Theatre & Dance
 
Lec 3 knowledge acquisition representation and inference
Lec 3  knowledge acquisition representation and inferenceLec 3  knowledge acquisition representation and inference
Lec 3 knowledge acquisition representation and inference
 
BT02.pptx
BT02.pptxBT02.pptx
BT02.pptx
 
UVA MDST 3703 The Stack of Scholarship 2012-09-24
UVA MDST 3703 The Stack of Scholarship 2012-09-24UVA MDST 3703 The Stack of Scholarship 2012-09-24
UVA MDST 3703 The Stack of Scholarship 2012-09-24
 
Semantic web
Semantic webSemantic web
Semantic web
 
Ontology Engineering: ontology construction I
Ontology Engineering: ontology construction IOntology Engineering: ontology construction I
Ontology Engineering: ontology construction I
 
2 ontologies I
2 ontologies I2 ontologies I
2 ontologies I
 

Último

mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
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
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 

Último (20)

mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
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
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 

Ontology modelling and the semantic web

  • 1. Ontology modelling and the semantic web Asgeir Rekkavik Deichmanske bibliotek
  • 2. What does the word semantic mean? • Semantics: The branch of linguistics concerned with meaning. (Shorter Oxford English dictionary) • Semantics is the study of meaning. (Wikipedia 2013-10-16)
  • 3. I love you I♥ U Different syntax, same semantics
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9. What does ontology mean? • Ontology: The science or study of being. (Shorter Oxford English dictionary) • In computer science and information science, an ontology formally represents knowledge as a set of concepts within a domain, and the relationships between those concepts. (Wikipedia 2013-10-16)
  • 10. What does ontology mean? • The world can be described in many different ways: e.g. language, art etc. • An ontology describes the world in a way that is formal, structured and unambiguous. • Why? Because we want to describe it to computers.
  • 11. Ann and Becky are sisters Ann and Becky are mothers
  • 13. Taxonomies • Hierarchical classification • Characteristics • • • • Generic relations (’is-a’ relations) Directed graph Nodes represent categories Arrows represent broader/narrower relations • Especially known from biology. Developed by Carl von Linné.
  • 15. Transitive relations • If A is related to B and B is related to C, then A is related to C • Examples: • If Ann is younger than Bob and Bob is younger than Carl, then Ann is younger than Carl • If a wolf is a mammal and a mammal is an animal, then a wolf is an animal.
  • 16. Transitive relations • Other transitive relations can exist between concepts, e.g. ’part-of’ relations
  • 17. Different types of relations • Generic (’is-a’, e.g. Cat - Animal) • Partitive (’part-of’, e.g. Oslo - Norway) • Instance (e.g. Socrates - Philospher) • Equivalence (e.g. Dove – Pigeon) • Associative (’the rest’)
  • 18. Thesaurus • Concepts are represented by terms • Certain types of relations between concepts are formalized: • Generic, partitive and instance relations are all formalized as ’broader / narrower’ • Equivalence relations are formalized as ’use% / use for ’ • Some associative relations are formalized as ’see also:’
  • 20. Thesaurus • Solar systems NT: Planets • Planets BT: Solar systems NT: Gas giants • Gas giants BT: Planets NT: Jupiter • Jupiter BT: Gas giants
  • 21. Protégé • Free, open source ontology editor • Developed by Stanford University and the University of Manchester • Available from: http://protege.stanford.edu
  • 22. Ontology – key concepts • Classes • Instances (individuals) • Properties
  • 23. Classes • Represent categories, sets of individual instances • Are related to eachother through parentchild relationships (superclass-subclass) • Only generic ’is a’-relations are allowed • Unlike in a taxonomy, multiple inheritence is allowed.
  • 26. Properties of classes • Classes can be: • Disjoint (if n is a member of A, n is not a member of B) (e.g. if Robin is a girl, then Robin is not a boy) • Equivalent (if n is a member of A, n is also a member of B and if n is a member of B, n is also a member of A) (e.g. Firstgraders ≡ Pupils born in 2007)
  • 27. Exercise Create a taxonomy with these classes: • • • • • • • • • • Bicycle Boat Bulldog Car Cat Colour Dog Dolphin Flower Man • • • • • • • • • • Oak Person Pet Pinetree Plant Puppy Rose Whale Woman Zebra
  • 28. Instances • Individual entities that can populate any number of classes. • An instance that is a member of a class, is necessarily also a member of all its superclasses.
  • 29.
  • 31. The semantic triple • A semantic triple is a statement consisting of three parts: • an instance (subject) • a property that refers to that instance (predicate) • a value for that property (object) George likes chocolate s p o
  • 32.
  • 33.
  • 34.
  • 35.
  • 36. Properties • The instances are described through properties. • There are two different types of properties: • Object property: • Takes another instance as value • e.g. Alice knows Fred • Datatype property • Takes a distinct datatype value, like a number, a string etc. • e.g. King Harald has year of birth 1937 • The property is the ”predicate” in the semantic triple.
  • 37. Domain and Range • The domain and range of a property determine what kind of instances it can be used for and what kind of values it can have. • Domain • The class, whose instances can have the property • If domain is not set, domain=Thing • Range • The class, whose instances can be value for an object property • The type of data that is allowed as value for a datatype property
  • 38. Properties of properties • Properties can be: • symmetric (Martin has cousin Thomas) ⇔ (Thomas has cousin Martin) • asymmetric (Martin is father of Rosie) ⇒ (Rosie can not be father of Martin) • inverse (Martin is parent of Rosie) ⇔ (Rosie is child of Martin) • transitive (Rosie descends from Martin) and (Martin descends from Emma) ⇒ (Rosie descends from Emma) • functional (can have only one value) • inverse functional (value can be held by only one instance) • reflexive (instance takes itself as a value)
  • 39. Exercise Object properties • Create the following object properties • owns • ownedBy • hasNeighbour • Set domain and range • Connect instances, so that: • Mr. Taylor owns Duchess • Mrs. Robertson owns Lassie • Mr. Taylor and Mrs. Robertson are neighbours
  • 40. Restrictions • Classes can be populated according to rules called restrictions. • This is done by expressing that a class is equivalent to a certain set of instances. • The set can be defined by • combining other classes with and/or/not operators • using criteria based on desired properties for the instances
  • 41. Restrictions • Add new class LivingThing • Use class expression editor to express equivalence relation: LivingThing ≡ Animal or Plant or Person
  • 42. • • • • Add the class Gender Add the individuals Male and Female Add the property hasGender, domain: LivingThing Express that: • • • • • • Lassie is female Duchess is female Moby Dick is male Mr. Taylor is male Mrs. Robertson is female Thomas O’Malley is male
  • 43. • Add classes FemaleBeing and MaleBeing • Use class expression editor to express equivalence relations: FemaleBeing ≡ MaleBeing ≡ Pet ≡ hasGender value Female hasGender value Male Animal and ownedBy some Person
  • 44. What about this? WildAnimal ≡ Animal and not (ownedBy some Person)
  • 45. Open world assumption • The truth-value of an assumption does not depend on whether it is known or not • The absence of a statement therefore does not count as a negation of that statement
  • 46. • Statements: • Mary is a woman • George is a man • Mary is an American citizen • Question: • Is George an American citizen? • Answers • Closed world assumption: • Open world assumption: "No" "Unknown"
  • 47. Example ontologies • Dublin Core metadata terms http://purl.org/dc/terms/ • Bibo (Bibliographic ontology) http://purl.org/ontology/bibo/ • Core FRBR http://purl.org/spar/frbr/ • FOAF (Friend of a friend) http://xmlns.com/foaf/spec/