Semantic Web and Ontologies
Semantic Web and Ontologies
http://stp.lingfil.uu.se/~santinim/sais/2016/sais_2016.htm
Marina Santini
[email protected]fil.uu.se
Spring 2016
Acknowledgements
• Most slides based on Harrocks (2008).
• Ontologies
• Beginning in 2002, new ideas for sharing and exchanging content ad hoc,
such as Weblogs and RSS, rapidly gained acceptance on the Web. This new
model for information exchange, primarily featuring user-‐generated and
user-‐edited websites, was dubbed Web 2.0.
– Tagging ‐- allows users to collectively classify and find information (e.g.
Tagging)
– Rich User Experience-‐ dynamic content; responsive to user input
– User Participation ‐- information flows two ways between site owner and
site user by means of evaluation, review, and commenting.
– Site users add content for others to see
– Mass Participation ‐- Universal web access leads to differentiation of
concerns from the traditional internet userbase.
– etc.
• Web 3.0 will be more connected, open, and intelligent, with semantic Web
technologies, distributed databases, natural language processing, machine
learning, machine reasoning, and autonomous agents.
– http://lifeboat.com/ex/web.3.0
• One of the major obstacles to this has been the fact that
most information on the Web is designed for human
consumption, and even if it was derived from a database
with well defined meanings (in at least some terms) for its
columns, that the structure of the data is not evident to a
robot browsing the Web.
• A key idea behind the semantic web is to address this problem by giving
machine-‐accessible semantics via annotation.
New ones:
• integrating different ontologies may prove to be at least as
hard as integrating the resources that they describe
• Creation of suitable annotations
• …
(Metaphysics)
• Ontology, in its original philosophical
sense, is a fundamental branch of
metaphysics focusing on the study of
existence.
Consensual
Knowledge
Machine-readable
Concepts, properties
relations, functions, Abstract model and
constraints, axioms, simplified view of some
are explicitly defined phenomenon in the world
that we want to represent
Studer, Benjamins, Fensel. Knowledge Engineering: Principles and Methods. Data and Knowledge Engineering. 25 (1998) 161-‐197
RDF/XML
• Exemple:
– given the axiom C equivalentClass D, then an individual is an instance of C if and
only if it is an instance of D.
– i.e. Combining axioms with class descriptions allows for easy extension of the
vocabulary by introducing new names as abbreviations for descriptions.
introduces the class name HogwartsStudent, and asserts that its instances are
just those Students who attend Hogwarts.
Class: Phoenix
SubClassOf: isPetOf only Wizard
Individual: Fawkes
Types: Phoenix
Facts: isPetOf Dumbledore
• Fawkes is said to be a Phoenix and to be the pet of Dumbledore, and it is also stated that only a
Wizard can have a pet Phoenix.
• In OWL, this leads to the implication that Dumbledore is a Wizard. That is, if we were to query the
ontology for instances of Wizard, then Dumbledore would be part of the answer.
• In a database setting the schema could include a similar statement about the Phoenix class, but in
this case it would be interpreted as a constraint on the data: adding the fact that Fawkes isPetOf
Dumbledore without Dumbledore being already known to be a Wizard would lead to an invalid
database state, and such an update would therefore be rejected by a database management
system as a constraint violation.