Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Outline
Introduction
Ontologies
Description Logics
Semantic Web
Conclusion
Outline
Introduction
Ontologies
Description Logics
Semantic Web
Conclusion
Importance of Knowledge
Importance of Knowledge
Importance of Knowledge
Outline
Introduction
Ontologies
Description Logics
Semantic Web
Conclusion
Philosophical Roots
I
I
I
... conceptualization
I
I
I
... conceptualization
I
I
I
description
explicit, using a (formal) language (like a formal specification
of a program)
... conceptualization
I
I
I
engineering artifact
I
I
Conveyor-belt
Diverter
is-connected-to
is-connected-to is symmetric
Conveyor-belt
Diverter
is-connected-to
is-connected-to is symmetric
Ontological Commitment
Shared ontology
Formality
Outline
Introduction
Ontologies
Description Logics
Semantic Web
Conclusion
Description Logics
I
I
Attributive Language AL
Syntax
A
R
>
Semantics
AI I
R I I I
I
Comment
atomic concept
atomic role
top (most general) concept
bottom (most specific)
concept
A
I \ AI
atomic negation
C u D C I DI
intersection
R.C
{a I |b.(a, b) R I b C I } value restriction
R.> {a I |b.(a, b) R I }
limited existential
quantification
Person u Female
Person u Female
Person u hasChild.>
Person u hasChild.Female
AL Extensions
Name
U
Syntax
C tD
Semantics
C I DI
E
N
R.C
1 nR
6 nR
C
{a I |b.(a, b) R I b C I }
{a I | |{b|(a, b) R I }| n}
{a I | |{b|(a, b) R I }| n}
I \ C I
Comment
union of two
concepts
full quantification
number restriction
negation of
arbitrary concept
Reasoning
I
I
I
Class = concept
Property = role
http://protege.stanford.edu/download/download.html
Open pizzas.owl
...http://labe.felk.cvut.cz/~obitko/spr/pizza-spr.owl
Open pizzas.owl
...http://labe.felk.cvut.cz/~obitko/spr/pizza-spr.owl
Open pizzas.owl
...http://labe.felk.cvut.cz/~obitko/spr/pizza-spr.owl
Open pizzas.owl
...http://labe.felk.cvut.cz/~obitko/spr/pizza-spr.owl
Define CheesePizza
Open pizzas.owl
...http://labe.felk.cvut.cz/~obitko/spr/pizza-spr.owl
Define CheesePizza
Open pizzas.owl
...http://labe.felk.cvut.cz/~obitko/spr/pizza-spr.owl
Define CheesePizza
...http://labe.felk.cvut.cz/~obitko/spr/owl.html
Open pizzas.owl
...http://labe.felk.cvut.cz/~obitko/spr/pizza-spr.owl
Define CheesePizza
...http://labe.felk.cvut.cz/~obitko/spr/owl.html
Outline
Introduction
Ontologies
Description Logics
Semantic Web
Conclusion
Semantic Web
triples subject-predicate-object
RDF Graph
@prefix :
<http://www.example.org/~joe/contact.rdf#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
:joesmith a foaf:Person ;
foaf:givenname "Joe" ;
foaf:family_name "Smith" ;
foaf:homepage <http://www.example.org/~joe/> ;
foaf:mbox <mailto:joe.smith@example.org> .
@prefix :
<http://www.example.org/sample.rdfs#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
:Dog
rdfs:subClassOf :Animal.
:Person
rdfs:subClassOf :Animal.
:hasChild rdfs:range :Animal; rdfs:domain :Animal.
:hasSon
rdfs:subPropertyOf :hasChild.
:Max
a :Dog.
:Abel
a :Person.
:Adam
a :Person; :hasSon :Abel.
I
I
I
I
Pizza v hasBase.PizzaBase
Pizza u PizzaBase
NonVegetarianPizza Pizza u VegetarianPizza
Tr (isIngredientOf)
isIngredientOf hasIngredient
Namespace(p = <http://example.com/pizzas.owl#>)
Ontology( <http://example.com/pizzas.owl#>
Class(p:Pizza partial
restriction(p:hasBase someValuesFrom(p:PizzaBase)))
DisjointClasses(p:Pizza p:PizzaBase)
Class(p:NonVegetarianPizza complete
intersectionOf(p:Pizza complementOf(p:VegetarianPizza)))
ObjectProperty(p:isIngredientOf Transitive
inverseOf(p:hasIngredient))
)
:connectedTo a owl:SymmetricProperty.
I
:targetNode a owl:FunctionalProperty.
I
:contains a owl:TransitiveProperty.
I
PREFIX foaf:
<http://xmlns.com/foaf/0.1/>
SELECT ?name ?mbox
WHERE { ?x foaf:name ?name .
?x foaf:mbox ?mbox . }
I
Download: http://code.google.com/p/swoop/
I
I
I
I
Outline
Introduction
Ontologies
Description Logics
Semantic Web
Conclusion
Summary
I
I
I
?
(if time left, return to Protege or SWOOP)