This PowerPoint helps students to consider the concept of infinity.
Â
Building and using ontologies
1. Building and using ontologies
Elena Simperl, University of Southampton, UK
e.simperl@soton.ac.uk @esimperl
With contributions from âLinked Data: Survey of Adoptionâ, Tutorial at the 3rd Asian Semantic Web School ASWS 2011, Incheon, South Korea, July 2011 by Aidan Hogan, DERI, IE
01.09.2014
1
3. Ontologies in Computer Science
â˘An ontology defines a domain of interest
â⌠in terms of the things you talk about in the domain, their attributes, as well as relationships between them
â˘Ontologies are used to
âShare a common understanding about a domain among people and machines
âEnable reuse of domain knowledge
01.09.2014
3
4. Requirements analysis motivating scenarios, use cases, existing solutions,
effort estimation, competency questions,
application requirements
Conceptualization
conceptualization of the model, integration and
extension of existing solutions
Implementation implementation of the formal model in a representation
language
Knowledge acquisition
Test (Evaluation)
Documentation
Classical ontology engineering process
5. Example: Project Halo
01.09.2014
Images from http://www.projecthalo.com and http://www.inquireproject.com/
â˘Knowledge acquisition from text (books)
â˘Professional and crowdsourced annotation
â˘Question analysis and answering through a combination of NLP and reasoning techniques
6. More examples
01.09.2014
6
Images from http://www.ibm.com/watson, http://www.wolframalpha.com/examples/Music.html, http://www.apple.com
7. Semantic technologies are not THE solution to creating
intelligent applications, but only one (essential) component
The Linked Data movement has promoted one approach to create
and publish semantic data
âThey created momentum for the Semantic Web, as well as several useful data sets
Rich knowledge representations can be extremely valuable, but
are costly to achieve
01.09.2014
Table from http://www.inquireproject.com/
8. Our scenario: the Linked Data management life cycle
01.09.2014
Image from http://wiki.lod2.eu/
9. Example: BBC
â˘Various micro-sites built and maintained manually
â˘No integration across sites in terms of content and metadata
â˘Use cases
âFind and explore content on specific (and related) topics
âMaintain and re-organize sites
âLeverage external resources
â˘Ontology: One page per thing, reusing DBpedia and MusicBrainz IDs, different labels
âDesign for a world where Google is your homepage, Wikipedia is your CMS, and humans, software developers and machines are your usersâ
http://www.slideshare.net/reduxd/beyond-the-polar-bear
10. Core ontology engineering activities in our scenario
â˘Find ontologies
â˘Select ontologies
â˘Adjust/extend ontologies
â˘Popular activities we do not consider here
âRequirements analysis
âKnowledge representation
âOntology learning
âOntology alignment
â...
â˘See previous summer schools http://videolectures.net/eswc2012_summer_school/
â˘This is not a tutorial about
âOntology engineering tools e.g., ProtĂŠgĂŠ (see http://protege.stanford.edu/)
âOntology languages e.g., RDFS, OWL
01.09.2014
10
12. Finding existing ontologies
â˘Linked Open Vocabularies: over 400 vocabularies, used in the LOD cloud
âhttp://lov.okfn.org
â˘ProtĂŠgĂŠ Ontologies: several hundreds of ontologies, cross-domain
âhttp://protegewiki.stanford.edu/index.php/Protege_Ontology_Library#OWL_ontologies
â˘Open Ontology Repository: life sciences and other domains
âhttp://ontolog.cim3.net/cgi-bin/wiki.pl?OpenOntologyRepository
â˘Dumontier Lab: life sciences ontologies
âhttp://dumontierlab.com/index.php?page=ontologies
â˘Tones: ontologies used mainly for testing purposes
âhttp://rpc295.cs.man.ac.uk:8080/repository/
â˘OBO Foundation Ontologies: hundreds of life sciences ontologies, including mappings
âhttp://www.obofoundry.org/
â˘NCBO Bioportal: hundreds of medical ontologies
âhttp://bioportal.bioontology.org/
â˘VoCamps
âhttp://vocamp.org/wiki/Main_Page
31. Selecting relevant ontologies
â˘Key: domain and usage
âThere are many different points of view upon a domain
âUse popular ontologies
â˘You might need to adjust/expand an existing ontology to
âLexicalization
âImplementation language (e.g., RDFS, OWL, frames, SKOS)
âLevel of granularity
âLevel of expressivity
âInstance data
â˘Be aware of/that
âImports: transitive dependency between ontologies
âChanges in imported ontologies can result in inconsistencies and changes of meanings and interpretations, as well as computational aspects
33. Basics
â˘Ontological primitives in this tutorial
â˘Classes
â˘Instances
â˘Attributes
â˘Relationships
â˘Literals
â˘In real applications
âOntology languages with different degrees of formality and support for
â˘Different types of nodes
â˘Different types of edges
â˘Built-in features of nodes and edges
âNodes and edges may come from different ontologies
â(Ideally) provenance metadata attached to nodes and edges
01.09.2014
33
34. Example: OWL
â˘Classes
â˘Instances
âSet of classes is not always disjunct from set of instances
â˘Datatype properties
â˘Object properties
â˘Constraints
âCardinality
âRange constraints (all values, some values etc.)
â˘Others
âImports
âAnnotations
ââŚ
02.09.2014
34
35. Classes
â˘A class represents a set of instances
â˘A class should be cohesive, meaninfully named, and relevant
â˘Classes represent domain concepts and not the words that denote these concepts
âSynonyms for the same concept do not represent different classes
MusicArtist
MusicalWork
performs
36. Classes (2)
â˘Typically nouns and nominal phrases, but not restricted to them
âVerbs can be modeled as classes, if the emphasis is on the process as a whole rather than the actual execution
âNo pronouns
isIll
0/1
Person
Person
IllnessEpisode
isAffectedBy
37. Cohesiveness
â˘A class should represent one thing, all of that thing and nothing but that thing
âWhy: Reusability, maintenance, see also OO design
â˘You can prove cohesion by giving the class a representative name, typically nouns
â˘No plural form, e.g, Albums
â˘No others, utilities etc.
â˘On a related note: avoid ambiguous terms
âManager, handler, processor, list, information, item, data etc.
37
38. Instances
â˘Entities of a certain type
âAbstract entities (e.g., Jazz music) are allowed
â˘Issues
âDistinction between classes and instances
â˘Example: Stradivarius
âChoice of the most appropriate class
â˘Example: Violetta Valery
â˘Identity vs individuality: entities may change values, but remain members of the same class
âExample: Age of child vs person
01.09.2014
38
39. Characterizing classes
â˘Two types of principal characteristics
ââMeasurableâ properties of a class: attributes
âInter-entity connections: relationships associations
Image
Color
hasColor
Image
hasColor
{red, blue, green,âŚ}
40. Attributes
â˘An attribute is a measurable property of a class
âScalar values: choice from a range of possibilities
âAttributes do NOT exhibit identity
40
Temperature
Measurement
hasValue
Temperature
hasValue
SomeValue (e.g., 42C, âlowâ)
Unit
SomeValue
41. Relationships
41
MusicArtist
MusicalWork
MusicalWork
similar_to
*
1
Performance
MusicalWork
0..1
0..*
MusicArtist
Composition
*
*
composes
Some instances of a class hold a relationship with some instances of another class
42. Class hierarchy
â˘A subclass of a class represents a concept that is a âkind ofâ the concept that the superclass represents
â˘A subclass has
âAdditional properties
âRestrictions different from those of the superclass, or
âParticipates in different relationships than the superclasses
â˘Multiple inheritance may be possible
43. Class hierarchy (2)
â˘All the siblings in the hierarchy (except for the ones at the root) must be at the same level of generality
â˘If a class has only one direct subclass there may be a modeling problem or the ontology is not complete
â˘If there are more than a dozen subclasses for a given class then additional intermediate categories might be necessary
â˘Roles are not subclasses
â˘Application dependent or subjective
âExample: Artist and person
âExample: Rectangle and square
02.09.2014
43
44. Formal properties of ontologies
â˘Identity
âExample: triangle as three edges of the same length vs edge length and angle
âExample: the same clay vs the same statue
âSee also primary keys in ER modeling
â˘Types and roles
âRoles hold because an instance happens to participate in some relationship with another instance (at some point in time), and not because they care essential to identify these instances
âExample: Person vs student vs employee
â˘Dependence
âExistence depends on other instance
âExample: Student and university
â˘Concreteness
âHas physical location (not necessarily real)
âExample: Violetta Valery
â˘Unity
âIs identified by the sum of its parts
âExample: Piece of stone vs person vs pile of stones
â˘These properties are inherited along by subclasses and instances
â˘Used to
âTest ontological consistency
âAvoid unintended inferences
âImprove extendibility
âImprove reusability
â˘See also
âOntoClean (http://en.wikipedia.org/wiki/OntoClean)
01.09.2014
44
47. Modeling: Unstructured to structured
The current configuration of the âRed Hot Chili Peppersâ are: Anthony Kiedis (vocals), Flea (bass, trumpet, keyboards, and vocals), John Frusciante (guitar), and Chad Smith (drums). The line-up has changed a few times during they years, Frusciante replaced Hillel Slovak in 1988, and when Jack Irons left the band he was briefly replaced by D.H. Peligo until the band found Chad Smith. In addition to playing guitars for Red hot Chili Peppers Frusciante also contributed to the band âThe Mars Voltaâ as a vocalist for some time.
From September 2004, the Red Hot Chili Peppers started recording the album âStadium Arcadiumâ. The album contains 28 tracks and was released on May 5 2006. It includes a track of the song âHump de Bumpâ, which was composed in January 26, 2004. The critic Crian Hiatt defined the album as "the most ambitious work in his twenty- three-year career". On August 11 (2006) the band gave a live performance in Portland, Oregon (US), featuring songs from Stadium Arcadium and other albums.
48. Modeling: different encodings
â˘Encode using the notation introduced in the tutorial
01.09.2014
48
Image from http://www.jfsowa.com/ontology/
49. EUCLID - Providing Linked Data
49
@euclid_project
euclidproject
euclidproject
http://www.euclid-project.eu
Other channels
eBook
Course