SlideShare a Scribd company logo
1 of 62
Introduction to the
Semantic Web
Payam Barnaghi
2
The Semantic Web
“The Semantic Web is an extension of the
current web in which information is
given well-defined meaning, better
enabling computers and people to
work in co-operation.“
[Berners-Lee et al, 2001]
3
Today’s Web
 Currently most of the Web content is suitable
for human use.
 Typical uses of the Web today are information
seeking, publishing, and using, searching for
people and products, shopping, reviewing
catalogues, etc.
 Dynamic pages generated based on information
from databases but without original information
structure found in databases.
4
Limitations of the Web Search today
 The Web search results are high recall,
low precision.
 Results are highly sensitive to vocabulary.
 Results are single Web pages.
 Most of the publishing contents are not
structured to allow logical reasoning and
query answering.
5
Today’s Web
6
What is a Web of Data?
Thinking back a bit... 1994
HTML and URIs
Markup language and means
for connecting resources
Below the file level
Stopped at the text level
[Miller 04]
7
What is a Web of Data?
(continued)
Now
XML, RDF, OWL and URIs
Markup language and means for
connecting resources
Below the file level
Below the text level
At the data level
[Miller 04]
8
The Syntactic Web
[Hendler & Miller 02]
9
What is the Problem?
 Consider a typical web page:
 Markup consists of:
 rendering information
(e.g., font size and
colour)
 Hyper-links to related
content
 Semantic content is
accessible to humans but
not (easily) to
computers…
[Davies, 03]
10
i.e. the Syntactic Web is…
 A place where
 computers do the presentation (easy) and
 people do the linking and interpreting (hard).
 Why not get computers to do more of the
hard work?
[Goble, 03]
11
Web 2
 It is all about people, collaboration,
media, ...
[The mind-map pictured above constructed by Markus Angermeier, source Wikipedia]
12
Web 2.0 and Folksonomies
[http://flickr.com/photos/tags/]
13
Machine-accessible Content
 The main obstacle to provide better
support to Web users is that, at present ,
the meaning of Web content is not
machine accessible.
 Although there are tools to retrieve
texts, but when it comes to interpreting
sentence and extracting useful
information for the user, the capabilities
of current software are still very limited.
14
Distinguishing the meaning
 It is simply difficult for machines to
distinguish the meaning of:
I am a philosopher.
from
I am a philosopher, you may think.
Well,…
15
…Limitations of the Web today
The Web activities are mostly focus on Machine-to-Human,
and Machine-to-Machine activities are not particularly well
supported by software tools.
[Davies, 03]
16
How Can the Current Situation be
Improved?
 An alternative approach is to represent
Web content in a form that is more easily
machine-accessible and to use intelligent
techniques to take advantage of these
presentations.
17
Machine Accessible Meaning
CV
name
education
work
private
[Davies, 03]
18
XML
<H1>Internet and World Wide Web</H1>
<UL>
<LI>Code: G52IWW
<LI>Students: Undergraduate
</UL>
<H1>Internet and World Wide Web</H1>
<UL>
<LI>Code: G52IWW
<LI>Students: Undergraduate
</UL>
HTML:
<module>
<title>Internet and World Wide Web</title>
<code>G52IWW</code>
<students>Undergraduate</students>
</module>
<module>
<title>Internet and World Wide Web</title>
<code>G52IWW</code>
<students>Undergraduate</students>
</module>
XML:
User definable and domain specific markup
19
XML: Document = labeled tree
module
lecturertitle students
name weblink
<module date=“...”>
<title>...</title>
<lecturer>
<name>...</name>
<weblink>...</weblink>
</lecturer>
<students>...</students>
</module>
=
 DTD: describe the grammar and structure of
permissible XML trees
 node = label + contents
20
But What about this?
CV
name
education
work
private
< >
< >
< >
< >
< >
< Χς >
< ναµε >
<εδυχατιον>
<ωορκ>
<πριϖατε>
[Davies, 03]
21
XML
 Meaning of XML-Documents is intuitively clear
 due to "semantic" Mark-Up
 tags are domain-terms
 But, computers do not have intuition
 tag-names do not provide semantics for machines.
 DTDs or XML Schema specify the structure of
documents, not the meaning of the document contents
 XML lacks a semantic model
 has only a "surface model”, i.e. tree
22
XML:
limitations for semantic markup
 XML representation makes no commitment on:
 Domain specific ontological vocabulary
 Which words shall we use to describe a given set of concepts?
 Ontological modelling primitives
 How can we combine these concepts, e.g. “car is a-kind-of (subclass-
of) vehicle”
 requires pre-arranged agreement on vocabulary and
primitives
 Only feasible for closed collaboration
 agents in a small & stable community
 pages on a small & stable intranet
.. not for sharable Web-resources
[Davies, 03]
23
XML is a first step
 Semantic markup
 HTML  layout
 XML  content
 Metadata
 within documents, not across documents
 prescriptive, not descriptive
 No commitment on vocabulary and modelling
primitives
 RDF is the next step
[Davies, 03]
24
Resource Description
Framework (RDF)
 A standard of W3C
 Relationships between documents
 Consisting of triples or sentences:
 <subject, property, object>
 <“Mozart”, composed, “The Magic Flute” >
 RDFS extends RDF with standard “ontology
vocabulary”:
 Class, Property
 Type, subClassOf
 domain, range
25
RDF for semantic annotation
 RDF provides metadata about Web resources
 Object -> Attribute-> Value triples
 It has an XML syntax
 Chained triples form a graph
http://sepang.nottingham.edu.my/~bpayam/images/payam-barnaghi.png
has_image
#Payam payam@notting
ham
has_emailUNiM
has_teaching
http://www.nottingham.edu.my/CSIT/G53ELC
has_owner
<rdf:Description rdf:about=“#Payam”>
<has_email>payam@nottingham</has_email>
</rdf:Description>
http://sepang.nottingham.edu.my/~bpayam/#Payam
26
RDF: Basic Ideas
 Resources
 Every resource has a URI (Universal Resource
Identifier)
 A URI can be a URL (a web address) or a some other
kind of identifier;
 An identifier does not necessarily enable access to a
resources
 We can think of a resources as an object that we
want to describe it.
 Books
 Person
 Places, etc.
27
RDF: Basic Ideas
 Properties
 Properties are special kind of resources;
 Properties describe relations between
resources.
 For example: “written by”, “composed by”,
“title”, “topic”, etc.
 Properties in RDF are also identified by URIs.
 This provides a global, unique naming
scheme.
28
RDF: Basic Ideas
 Statements
 A statement is an object-attribute-value
triple.
 It consists of a resources, a property, and a
value.
http://mitpress.mit.edu/catalog/item/default.asp?ttype=2&tid=10140
publishedBy
#MIT Press
29
RDF: Example
30
RDF Example
Source: http://www.w3.org/TR/swbp-skos-core-guide/
31
RDF Schema: Basic Ideas
 RDF is a universal language that enables
users to describe their own vocabularies.
 But, RDF does not make assumption about
any particular domain.
 It is up to user to define this in RDF
schema.
32
What does RDF Schema add?
• Defines vocabulary for RDF
• Organizes this vocabulary in a typed hierarchy
• Class, subClassOf, type
• Property, subPropertyOf
• domain, range
AlanTom
Staff
Lecturer Research Assistant
subClassOf
subClassOf
type
supervisedBy
domain range
type
supervisedBy
[adapted from: Studer et al, 04]
Schema(RDFS)
Data(RDF)
33
Querying RDF data
 Query Languages such as SPARQL, RQL.
 RDF is a directed, labeled graph data format for
representing information in the Web.
 Most forms of the query languages contain a set
of triple patterns.
 Triple patterns are like RDF triples except that
each of the subject, predicate and object may
be a variable.
34
Basic Queries
 The example provided in RQL.
 Using select-from-where
 select specifies the number and order of
retrieved data.
 from is used to navigate through the data
model.
 where imposes constraints on possible
solutions
35
Basic Queries: Example
select X,Y
From {X} writtenBy {Y}
X, Y are variables, {X} writtenBy {Y}
represents a resource-property-value
triple
36
Conclusions about RDF(S)
 Next step up from plain XML:
 (small) ontological commitment to modeling
primitives
 possible to define vocabulary
 However:
 no precisely described meaning
 no inference model
[Davies, 03]
37
Ontologies
 The term ontology is originated from
philosophy. In that context it is used as
the name of a subfield of philosophy,
namely, the study of the nature of
existence.
 For the Semantic Web purpose:
 “An ontology is an explicit and formal
specification of a conceptualisation”.
(R. Studer)
38
Ontologies and Semantic Web
 In general, an ontology describes formally a
domain of discourse.
 An ontology consists of a finite list of terms and
the relationships between the terms.
 The terms denote important concepts classes of
objects) of the domain.
 For example, in a university setting, staff
members, students, courses, modules, lecture
theatres, and schools are some important
concepts.
39
Ontologies and Semantic Web
(cont’d)
 In the context of the Web, ontologies provide a
shared understanding of a domain.
 Such a shared understanding is necessary to
overcome the difference in terminology.
 Ontologies are useful for improving accuracy of
Web searches.
 Web searches can exploit
generalization/specialization information.
40
OntologyF-Logic
similar
OntologyF-Logic
similar
PhD StudentDoktoral Student
Object
Person Topic Document
Tel
PhD StudentPhD Student
Semantics
knows described_in
writes
Affiliation
described_in is_about
knowsP writes D is_about T P T
DT T D
Rules
subTopicOf
• Major Paradigms: Logic Programming, Description Logic
• Standards: RDF(S); OWL
ResearcherStudent
instance_of
is_a
is_a
is_a
Affiliation
Affiliation
Siggi
AIFB+49 721 608 6554
A Sample Ontology
[Studer et al, 04]
41
PhD StudentPhD Student AssProfAssProf
AcademicStaffAcademicStaff
rdfs:subClassOfrdfs:subClassOf
cooperate_withcooperate_with
rdfs:range
rdfs:domain
Ontology
<swrc:AssProf rdf:ID="sst">
<swrc:name>Steffen Staab
</swrc:name>
...
</swrc:AssProf>
http://www.aifb.uni-karlsruhe.de/WBS/sst
Anno-
tation
<swrc:PhD_Student rdf:ID="sha">
<swrc:name>Siegfried
Handschuh</swrc:name>
...
</swrc:PhD_Student>
Web
Page
http://www.aifb.uni-karlsruhe.de/WBS/shaURL
<swrc:cooperate_with rdf:resource =
"http://www.aifb.uni-
karlsruhe.de/WBS/sst#sst"/>
instance of
instance
of
Cooperate_with
Ontology & Annotation
Links have explicit meanings!
[Studer et al, 04]
42
Ontologies (OWL)
 RDFS is useful, but does not solve all possible
requirements
 Complex applications may want more possibilities:
 similarity and/or differences of terms (properties or classes)
 construct classes, not just name them
 can a program reason about some terms? E.g.:
 “if «Person» resources «A» and «B» have the same «foaf:email»
property, then «A» and «B» are identical”
 etc.
 This lead to the development of OWL (Web Ontology
Language)
source: Introduction to the Semantic Web, Ivan Herman, W3C
43
Ontology Languages for the Web
 RDF Schema is a vocabulary description
language for describing properties and
classes of RDF resources, with a
semantics for generalization hierarchies
of such properties and classes.
 OWL is a richer vocabulary description
language for describing properties and
classes.
44
OWL Language
 OWL is based on Description Logics knowledge representation
formalism
 OWL (DL) benefits from many years of DL research:
 Well defined semantics
 Formal properties well understood (complexity, decidability)
 Known reasoning algorithms
 Implemented systems (highly optimised)
 Three species of OWL
 OWL full is union of OWL syntax and RDF
 OWL DL restricted to FOL fragment
 OWL Lite is “easier to implement” subset of OWL DL
 OWL DL based on SHIQ Description Logic
[Davies, 03]
45
Classes in OWL
 In RDFS, you can subclass existing
classes… that’s all.
 In OWL, you can construct classes from
existing ones:
 enumerate its content
 through intersection, union, complement
 through property restrictions
source: Introduction to the Semantic Web, Ivan Herman, W3C
46
OWL classes can be “enumerated”
The OWL solution, where possible content is
explicitly listed:
source: Introduction to the Semantic Web, Ivan Herman, W3C
47
Why develop an ontology?
 To make define web resources more precisely and
make them more amenable to machine processing
 To make domain assumptions explicit
 Easier to change domain assumptions
 Easier to understand and update legacy data
 To separate domain knowledge from operational
knowledge
 Re-use domain and operational knowledge separately
 A community reference for applications
 To share a consistent understanding of what information
means
[Davies, 03]
48
Ontology and Logic
 Reasoning over ontologies
 Inferencing capabilities
X is author of Y  Y is written by X
X is supplier to Y; Y is supplier to Z 
X and Z are part of the same supply chain
Cars are a kind of vehicle;
Vehicles have 2 or more wheels 
Cars have 2 or more wheels
[Davies, 03]
49
Logic and Inference
 Logic is the discipline that studies the principles
of reasoning
 Formal languages for expressing knowledge
 Well-understood formal semantics
 Declarative knowledge: we describe what holds
without caring about how it can be deduced
 Automated reasoners can deduce (infer)
conclusions from the given knowledge
source: A Semantic Web Primer, Grigoris Antoniou and Frank van Harmelen, MIT Press
50
An Inference Example
prof(X) → faculty(X)
faculty(X) → staff(X)
prof(michael)
We can deduce the following conclusions:
faculty(michael)
staff(michael)
prof(X) → staff(X)
source: A Semantic Web Primer, Grigoris Antoniou and Frank van Harmelen, MIT Press
51
Semantic Web Vision
Machine-processable, global
Web standards:
 Assigning unambiguous
names (URI)
 Expressing data, including
metadata (RDF)
 Capturing ontologies (OWL)
 Query, rules,
transformations,
deployment, application
spaces, logic, proofs, trust
(in progress)
[Source: Emerging Web Technologies to
Watch, Steve Bratt, W3C]
52
Semantic Web and AI?
 No human-level intelligence claims
 As with today’s WWW
 large, inconsistent, distributed
 Requirements
 scalable, robust, decentralised
 tolerant, mediated
 Semantic Web will make extensive use of current AI,
 any advancement in AI will lead to a better Semantic Web
 Current AI is already sufficient to go towards realizing the
semantic web vision
 As with WWW, Semantic Web will (need to) adapt fast
[Davies, 03]
53
Semantic Web & Knowledge
Management
 Organising knowledge in conceptual
spaces according to its meaning.
 Enabling automated tools to check for
inconsistencies and extracting new
knowledge.
 Replacing query-based search with query
answering.
 Defining who may view certain parts of
information
Semantic Web Services
55
Web Services
 Web Services provide data and services to other
applications.
 Thee applications access Web Services via
standard Web Formats (HTTP, HTML, XML, and
SOAP), with no need to know how the Web
Service itself is implemented.
 You can imagine a web service like a remote
procedure call (RPC) which it returns a
message in an XML format.
56
Web Services
 loosely coupled, reusable components
 encapsulate discrete functionality
 distributed
 programmatically accessible over
standard internet protocols
 add new level of functionality on top of
the current web
[Stollberg et al., 05]
57
The Promise of Web Services
[Stollberg et al., 05]
58
Deficiencies of WS Technology
 Current technologies allow usage of Web Services
 but:
 only syntactical information descriptions
 syntactic support for discovery, composition and execution
=> Web Service usability, usage, and integration needs to be
inspected manually
 no semantically marked up content / services
 no support for the Semantic Web
=> current Web Service Technology Stack failed to
realize the promise of Web Services
[Stollberg et al., 05]
59
Semantic Web Technology
+
Web Service Technology
Semantic Web Services
=> Semantic Web Services as integrated solution for
realizing the vision of the next generation of the Web
• allow machine supported data interpretation
• ontologies as data model
automated discovery, selection, composition,
and web-based execution of services
[Stollberg et al., 05]
60
Semantic Web Services
 define exhaustive description frameworks for
describing Web Services and related aspects
(Web Service Description Ontologies)
 support ontologies as underlying data model to
allow machine supported data interpretation
(Semantic Web aspect)
 define semantically driven technologies for
automation of the Web Service usage process
(Web Service aspect)
61
Acknowledgements
 Some of the slides are adapted from the following resources:
 Semantic Web, John Davies, Next Generation Web Research, BT.
 A Short Semantic Web Tutorial, Andreas Hotho & York Sure,
Knowledge Management Group, Institute AIFB, University of Karlsruhe.
 Semantic Web and Ontology Management, Rudi Studer, York Sure,
Christoph Tempich, Peter Haase,Institute AIFB, University of
Karlsruhe.
 A Semantic Web Primer, Grigoris Antoniou and Frank van Harmelen,
ISBN 0-262-01210-3, 2004, the MIT press.
 The Semantic Web: A Web of Machine Processible Data, Eric Miller,
W3C Semantic Web Activity Lead, 2004.
 Stollberg et al, Semantic Web Services Tutorial, 5th International
Conference on Web Engineering (ICWE 2005), Sydney, Australia.
 Introduction to the Semantic Web, Ivan Herman, W3C, 2007.
62
Suggested Readings
 A Semantic Web Primer, Grigoris Antoniou and Frank
van Harmelen, ISBN 0-262-01210-3, 2004, the MIT press.
 W3C Semantic Web
http://www.w3.org/2001/sw/
 The Semantic Web Community Portal,
http://www.semanticweb.org

More Related Content

What's hot

Metadata and ontologies
Metadata and ontologiesMetadata and ontologies
Metadata and ontologiesDavid Lamas
 
Improve information retrieval and e learning using
Improve information retrieval and e learning usingImprove information retrieval and e learning using
Improve information retrieval and e learning usingIJwest
 
Using Text Comprehension Model for Learning Concepts, Context, and Topic of...
Using Text Comprehension Model for  Learning Concepts, Context, and Topic  of...Using Text Comprehension Model for  Learning Concepts, Context, and Topic  of...
Using Text Comprehension Model for Learning Concepts, Context, and Topic of...Kent State University
 
Semantic Web and Web 3.0 - Web Technologies (1019888BNR)
Semantic Web and Web 3.0 - Web Technologies (1019888BNR)Semantic Web and Web 3.0 - Web Technologies (1019888BNR)
Semantic Web and Web 3.0 - Web Technologies (1019888BNR)Beat Signer
 
Swoogle: Showcasing the Significance of Semantic Search
Swoogle: Showcasing the Significance of Semantic SearchSwoogle: Showcasing the Significance of Semantic Search
Swoogle: Showcasing the Significance of Semantic SearchIDES Editor
 
Automatically converting tabular data to
Automatically converting tabular data toAutomatically converting tabular data to
Automatically converting tabular data toIJwest
 
interoperability: the value of recombinant potential
interoperability: the value of recombinant potentialinteroperability: the value of recombinant potential
interoperability: the value of recombinant potentiallisld
 
Standardizing for Open Data
Standardizing for Open DataStandardizing for Open Data
Standardizing for Open DataIvan Herman
 
from local/regional OER Silos towards an OER Global Dataspace
from local/regional OER Silos towards an OER Global Dataspacefrom local/regional OER Silos towards an OER Global Dataspace
from local/regional OER Silos towards an OER Global DataspaceOpen Education Consortium
 
What can linked data do for digital libraries
What can linked data do for digital librariesWhat can linked data do for digital libraries
What can linked data do for digital librariesSören Auer
 
Linked data for Enterprise Data Integration
Linked data for Enterprise Data IntegrationLinked data for Enterprise Data Integration
Linked data for Enterprise Data IntegrationSören Auer
 
Toward universal information access on the digital object cloud
Toward universal information access on the digital object cloudToward universal information access on the digital object cloud
Toward universal information access on the digital object cloudNational Institute of Informatics
 
Semantics in Financial Services -David Newman
Semantics in Financial Services -David NewmanSemantics in Financial Services -David Newman
Semantics in Financial Services -David NewmanPeter Berger
 
#opentourism - Linked Open Data Publishing and Discovery Workshop
#opentourism - Linked Open Data Publishing and Discovery Workshop#opentourism - Linked Open Data Publishing and Discovery Workshop
#opentourism - Linked Open Data Publishing and Discovery WorkshopRaf Buyle
 
Towards digitizing scholarly communication
Towards digitizing scholarly communicationTowards digitizing scholarly communication
Towards digitizing scholarly communicationSören Auer
 
Microformats Workshop (2009)
Microformats Workshop  (2009)Microformats Workshop  (2009)
Microformats Workshop (2009)Kelley Howell
 
Semantic Web Technology and Ontology designing for e-Learning Environments
Semantic Web Technology and Ontology designing for e-Learning EnvironmentsSemantic Web Technology and Ontology designing for e-Learning Environments
Semantic Web Technology and Ontology designing for e-Learning EnvironmentsRobin Khanna
 
Brief State of the Art - Semantic Web technologies for geospatial data - Mode...
Brief State of the Art - Semantic Web technologies for geospatial data - Mode...Brief State of the Art - Semantic Web technologies for geospatial data - Mode...
Brief State of the Art - Semantic Web technologies for geospatial data - Mode...Ana Roxin
 

What's hot (20)

Metadata and ontologies
Metadata and ontologiesMetadata and ontologies
Metadata and ontologies
 
Improve information retrieval and e learning using
Improve information retrieval and e learning usingImprove information retrieval and e learning using
Improve information retrieval and e learning using
 
Using Text Comprehension Model for Learning Concepts, Context, and Topic of...
Using Text Comprehension Model for  Learning Concepts, Context, and Topic  of...Using Text Comprehension Model for  Learning Concepts, Context, and Topic  of...
Using Text Comprehension Model for Learning Concepts, Context, and Topic of...
 
Semantic Web and Web 3.0 - Web Technologies (1019888BNR)
Semantic Web and Web 3.0 - Web Technologies (1019888BNR)Semantic Web and Web 3.0 - Web Technologies (1019888BNR)
Semantic Web and Web 3.0 - Web Technologies (1019888BNR)
 
Swoogle: Showcasing the Significance of Semantic Search
Swoogle: Showcasing the Significance of Semantic SearchSwoogle: Showcasing the Significance of Semantic Search
Swoogle: Showcasing the Significance of Semantic Search
 
Automatically converting tabular data to
Automatically converting tabular data toAutomatically converting tabular data to
Automatically converting tabular data to
 
Quick Introduction to the Semantic Web, RDFa & Microformats
Quick Introduction to the Semantic Web, RDFa & MicroformatsQuick Introduction to the Semantic Web, RDFa & Microformats
Quick Introduction to the Semantic Web, RDFa & Microformats
 
interoperability: the value of recombinant potential
interoperability: the value of recombinant potentialinteroperability: the value of recombinant potential
interoperability: the value of recombinant potential
 
Standardizing for Open Data
Standardizing for Open DataStandardizing for Open Data
Standardizing for Open Data
 
Semantics and Web 3.0
Semantics and Web 3.0Semantics and Web 3.0
Semantics and Web 3.0
 
from local/regional OER Silos towards an OER Global Dataspace
from local/regional OER Silos towards an OER Global Dataspacefrom local/regional OER Silos towards an OER Global Dataspace
from local/regional OER Silos towards an OER Global Dataspace
 
What can linked data do for digital libraries
What can linked data do for digital librariesWhat can linked data do for digital libraries
What can linked data do for digital libraries
 
Linked data for Enterprise Data Integration
Linked data for Enterprise Data IntegrationLinked data for Enterprise Data Integration
Linked data for Enterprise Data Integration
 
Toward universal information access on the digital object cloud
Toward universal information access on the digital object cloudToward universal information access on the digital object cloud
Toward universal information access on the digital object cloud
 
Semantics in Financial Services -David Newman
Semantics in Financial Services -David NewmanSemantics in Financial Services -David Newman
Semantics in Financial Services -David Newman
 
#opentourism - Linked Open Data Publishing and Discovery Workshop
#opentourism - Linked Open Data Publishing and Discovery Workshop#opentourism - Linked Open Data Publishing and Discovery Workshop
#opentourism - Linked Open Data Publishing and Discovery Workshop
 
Towards digitizing scholarly communication
Towards digitizing scholarly communicationTowards digitizing scholarly communication
Towards digitizing scholarly communication
 
Microformats Workshop (2009)
Microformats Workshop  (2009)Microformats Workshop  (2009)
Microformats Workshop (2009)
 
Semantic Web Technology and Ontology designing for e-Learning Environments
Semantic Web Technology and Ontology designing for e-Learning EnvironmentsSemantic Web Technology and Ontology designing for e-Learning Environments
Semantic Web Technology and Ontology designing for e-Learning Environments
 
Brief State of the Art - Semantic Web technologies for geospatial data - Mode...
Brief State of the Art - Semantic Web technologies for geospatial data - Mode...Brief State of the Art - Semantic Web technologies for geospatial data - Mode...
Brief State of the Art - Semantic Web technologies for geospatial data - Mode...
 

Similar to Intro semanticweb

Corrib.org - OpenSource and Research
Corrib.org - OpenSource and ResearchCorrib.org - OpenSource and Research
Corrib.org - OpenSource and Researchadameq
 
Web of Data as a Solution for Interoperability. Case Studies
Web of Data as a Solution for Interoperability. Case StudiesWeb of Data as a Solution for Interoperability. Case Studies
Web of Data as a Solution for Interoperability. Case StudiesSabin Buraga
 
DM110 - Week 10 - Semantic Web / Web 3.0
DM110 - Week 10 - Semantic Web / Web 3.0DM110 - Week 10 - Semantic Web / Web 3.0
DM110 - Week 10 - Semantic Web / Web 3.0John Breslin
 
Semantic - Based Querying Using Ontology in Relational Database of Library Ma...
Semantic - Based Querying Using Ontology in Relational Database of Library Ma...Semantic - Based Querying Using Ontology in Relational Database of Library Ma...
Semantic - Based Querying Using Ontology in Relational Database of Library Ma...dannyijwest
 
Repositories thru the looking glass
Repositories thru the looking glassRepositories thru the looking glass
Repositories thru the looking glassEduserv Foundation
 
Future of Web 2.0 & The Semantic Web
Future of Web 2.0 & The Semantic WebFuture of Web 2.0 & The Semantic Web
Future of Web 2.0 & The Semantic Webis20090
 
MR^3: Meta-Model Management based on RDFs Revision Reflection
MR^3: Meta-Model Management based on RDFs Revision ReflectionMR^3: Meta-Model Management based on RDFs Revision Reflection
MR^3: Meta-Model Management based on RDFs Revision ReflectionTakeshi Morita
 
The Semantic Web in Digital Libraries: A Literature Review
The Semantic Web in Digital Libraries: A Literature ReviewThe Semantic Web in Digital Libraries: A Literature Review
The Semantic Web in Digital Libraries: A Literature Reviewsstose
 
Web 3.0 The Semantic Web
Web 3.0 The Semantic WebWeb 3.0 The Semantic Web
Web 3.0 The Semantic WebHatem Mahmoud
 
Tutorial on Semantic Digital Libraries (ESWC'2007)
Tutorial on Semantic Digital Libraries (ESWC'2007)Tutorial on Semantic Digital Libraries (ESWC'2007)
Tutorial on Semantic Digital Libraries (ESWC'2007)Sebastian Ryszard Kruk
 
Semantic Technolgy
Semantic TechnolgySemantic Technolgy
Semantic TechnolgyTalat Fakhri
 
RDFa Semantic Web
RDFa Semantic WebRDFa Semantic Web
RDFa Semantic WebRob Paok
 
Tutorial on Semantic Digital Libraries (WWW'2007)
Tutorial on Semantic Digital Libraries (WWW'2007)Tutorial on Semantic Digital Libraries (WWW'2007)
Tutorial on Semantic Digital Libraries (WWW'2007)Sebastian Ryszard Kruk
 
Web 3 Mark Greaves
Web 3 Mark GreavesWeb 3 Mark Greaves
Web 3 Mark GreavesMediabistro
 
The Social Semantic Web
The Social Semantic WebThe Social Semantic Web
The Social Semantic WebJohn Breslin
 
Semantic Annotation: The Mainstay of Semantic Web
Semantic Annotation: The Mainstay of Semantic WebSemantic Annotation: The Mainstay of Semantic Web
Semantic Annotation: The Mainstay of Semantic WebEditor IJCATR
 

Similar to Intro semanticweb (20)

Corrib.org - OpenSource and Research
Corrib.org - OpenSource and ResearchCorrib.org - OpenSource and Research
Corrib.org - OpenSource and Research
 
Web of Data as a Solution for Interoperability. Case Studies
Web of Data as a Solution for Interoperability. Case StudiesWeb of Data as a Solution for Interoperability. Case Studies
Web of Data as a Solution for Interoperability. Case Studies
 
Digital Libraries of the Future
Digital Libraries of the Future
Digital Libraries of the Future
Digital Libraries of the Future
 
DM110 - Week 10 - Semantic Web / Web 3.0
DM110 - Week 10 - Semantic Web / Web 3.0DM110 - Week 10 - Semantic Web / Web 3.0
DM110 - Week 10 - Semantic Web / Web 3.0
 
Semantic - Based Querying Using Ontology in Relational Database of Library Ma...
Semantic - Based Querying Using Ontology in Relational Database of Library Ma...Semantic - Based Querying Using Ontology in Relational Database of Library Ma...
Semantic - Based Querying Using Ontology in Relational Database of Library Ma...
 
SNSW CO3.pptx
SNSW CO3.pptxSNSW CO3.pptx
SNSW CO3.pptx
 
Repositories thru the looking glass
Repositories thru the looking glassRepositories thru the looking glass
Repositories thru the looking glass
 
It's all semantics! -The premises and promises of the semantic web
It's all semantics! -The premises and promises of the semantic webIt's all semantics! -The premises and promises of the semantic web
It's all semantics! -The premises and promises of the semantic web
 
Future of Web 2.0 & The Semantic Web
Future of Web 2.0 & The Semantic WebFuture of Web 2.0 & The Semantic Web
Future of Web 2.0 & The Semantic Web
 
MR^3: Meta-Model Management based on RDFs Revision Reflection
MR^3: Meta-Model Management based on RDFs Revision ReflectionMR^3: Meta-Model Management based on RDFs Revision Reflection
MR^3: Meta-Model Management based on RDFs Revision Reflection
 
The Semantic Web in Digital Libraries: A Literature Review
The Semantic Web in Digital Libraries: A Literature ReviewThe Semantic Web in Digital Libraries: A Literature Review
The Semantic Web in Digital Libraries: A Literature Review
 
Web 3.0 The Semantic Web
Web 3.0 The Semantic WebWeb 3.0 The Semantic Web
Web 3.0 The Semantic Web
 
Irish Digital Libraries Summit
Irish Digital Libraries SummitIrish Digital Libraries Summit
Irish Digital Libraries Summit
 
Tutorial on Semantic Digital Libraries (ESWC'2007)
Tutorial on Semantic Digital Libraries (ESWC'2007)Tutorial on Semantic Digital Libraries (ESWC'2007)
Tutorial on Semantic Digital Libraries (ESWC'2007)
 
Semantic Technolgy
Semantic TechnolgySemantic Technolgy
Semantic Technolgy
 
RDFa Semantic Web
RDFa Semantic WebRDFa Semantic Web
RDFa Semantic Web
 
Tutorial on Semantic Digital Libraries (WWW'2007)
Tutorial on Semantic Digital Libraries (WWW'2007)Tutorial on Semantic Digital Libraries (WWW'2007)
Tutorial on Semantic Digital Libraries (WWW'2007)
 
Web 3 Mark Greaves
Web 3 Mark GreavesWeb 3 Mark Greaves
Web 3 Mark Greaves
 
The Social Semantic Web
The Social Semantic WebThe Social Semantic Web
The Social Semantic Web
 
Semantic Annotation: The Mainstay of Semantic Web
Semantic Annotation: The Mainstay of Semantic WebSemantic Annotation: The Mainstay of Semantic Web
Semantic Annotation: The Mainstay of Semantic Web
 

Recently uploaded

Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 

Recently uploaded (20)

Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 

Intro semanticweb

  • 1. Introduction to the Semantic Web Payam Barnaghi
  • 2. 2 The Semantic Web “The Semantic Web is an extension of the current web in which information is given well-defined meaning, better enabling computers and people to work in co-operation.“ [Berners-Lee et al, 2001]
  • 3. 3 Today’s Web  Currently most of the Web content is suitable for human use.  Typical uses of the Web today are information seeking, publishing, and using, searching for people and products, shopping, reviewing catalogues, etc.  Dynamic pages generated based on information from databases but without original information structure found in databases.
  • 4. 4 Limitations of the Web Search today  The Web search results are high recall, low precision.  Results are highly sensitive to vocabulary.  Results are single Web pages.  Most of the publishing contents are not structured to allow logical reasoning and query answering.
  • 6. 6 What is a Web of Data? Thinking back a bit... 1994 HTML and URIs Markup language and means for connecting resources Below the file level Stopped at the text level [Miller 04]
  • 7. 7 What is a Web of Data? (continued) Now XML, RDF, OWL and URIs Markup language and means for connecting resources Below the file level Below the text level At the data level [Miller 04]
  • 9. 9 What is the Problem?  Consider a typical web page:  Markup consists of:  rendering information (e.g., font size and colour)  Hyper-links to related content  Semantic content is accessible to humans but not (easily) to computers… [Davies, 03]
  • 10. 10 i.e. the Syntactic Web is…  A place where  computers do the presentation (easy) and  people do the linking and interpreting (hard).  Why not get computers to do more of the hard work? [Goble, 03]
  • 11. 11 Web 2  It is all about people, collaboration, media, ... [The mind-map pictured above constructed by Markus Angermeier, source Wikipedia]
  • 12. 12 Web 2.0 and Folksonomies [http://flickr.com/photos/tags/]
  • 13. 13 Machine-accessible Content  The main obstacle to provide better support to Web users is that, at present , the meaning of Web content is not machine accessible.  Although there are tools to retrieve texts, but when it comes to interpreting sentence and extracting useful information for the user, the capabilities of current software are still very limited.
  • 14. 14 Distinguishing the meaning  It is simply difficult for machines to distinguish the meaning of: I am a philosopher. from I am a philosopher, you may think. Well,…
  • 15. 15 …Limitations of the Web today The Web activities are mostly focus on Machine-to-Human, and Machine-to-Machine activities are not particularly well supported by software tools. [Davies, 03]
  • 16. 16 How Can the Current Situation be Improved?  An alternative approach is to represent Web content in a form that is more easily machine-accessible and to use intelligent techniques to take advantage of these presentations.
  • 18. 18 XML <H1>Internet and World Wide Web</H1> <UL> <LI>Code: G52IWW <LI>Students: Undergraduate </UL> <H1>Internet and World Wide Web</H1> <UL> <LI>Code: G52IWW <LI>Students: Undergraduate </UL> HTML: <module> <title>Internet and World Wide Web</title> <code>G52IWW</code> <students>Undergraduate</students> </module> <module> <title>Internet and World Wide Web</title> <code>G52IWW</code> <students>Undergraduate</students> </module> XML: User definable and domain specific markup
  • 19. 19 XML: Document = labeled tree module lecturertitle students name weblink <module date=“...”> <title>...</title> <lecturer> <name>...</name> <weblink>...</weblink> </lecturer> <students>...</students> </module> =  DTD: describe the grammar and structure of permissible XML trees  node = label + contents
  • 20. 20 But What about this? CV name education work private < > < > < > < > < > < Χς > < ναµε > <εδυχατιον> <ωορκ> <πριϖατε> [Davies, 03]
  • 21. 21 XML  Meaning of XML-Documents is intuitively clear  due to "semantic" Mark-Up  tags are domain-terms  But, computers do not have intuition  tag-names do not provide semantics for machines.  DTDs or XML Schema specify the structure of documents, not the meaning of the document contents  XML lacks a semantic model  has only a "surface model”, i.e. tree
  • 22. 22 XML: limitations for semantic markup  XML representation makes no commitment on:  Domain specific ontological vocabulary  Which words shall we use to describe a given set of concepts?  Ontological modelling primitives  How can we combine these concepts, e.g. “car is a-kind-of (subclass- of) vehicle”  requires pre-arranged agreement on vocabulary and primitives  Only feasible for closed collaboration  agents in a small & stable community  pages on a small & stable intranet .. not for sharable Web-resources [Davies, 03]
  • 23. 23 XML is a first step  Semantic markup  HTML  layout  XML  content  Metadata  within documents, not across documents  prescriptive, not descriptive  No commitment on vocabulary and modelling primitives  RDF is the next step [Davies, 03]
  • 24. 24 Resource Description Framework (RDF)  A standard of W3C  Relationships between documents  Consisting of triples or sentences:  <subject, property, object>  <“Mozart”, composed, “The Magic Flute” >  RDFS extends RDF with standard “ontology vocabulary”:  Class, Property  Type, subClassOf  domain, range
  • 25. 25 RDF for semantic annotation  RDF provides metadata about Web resources  Object -> Attribute-> Value triples  It has an XML syntax  Chained triples form a graph http://sepang.nottingham.edu.my/~bpayam/images/payam-barnaghi.png has_image #Payam payam@notting ham has_emailUNiM has_teaching http://www.nottingham.edu.my/CSIT/G53ELC has_owner <rdf:Description rdf:about=“#Payam”> <has_email>payam@nottingham</has_email> </rdf:Description> http://sepang.nottingham.edu.my/~bpayam/#Payam
  • 26. 26 RDF: Basic Ideas  Resources  Every resource has a URI (Universal Resource Identifier)  A URI can be a URL (a web address) or a some other kind of identifier;  An identifier does not necessarily enable access to a resources  We can think of a resources as an object that we want to describe it.  Books  Person  Places, etc.
  • 27. 27 RDF: Basic Ideas  Properties  Properties are special kind of resources;  Properties describe relations between resources.  For example: “written by”, “composed by”, “title”, “topic”, etc.  Properties in RDF are also identified by URIs.  This provides a global, unique naming scheme.
  • 28. 28 RDF: Basic Ideas  Statements  A statement is an object-attribute-value triple.  It consists of a resources, a property, and a value. http://mitpress.mit.edu/catalog/item/default.asp?ttype=2&tid=10140 publishedBy #MIT Press
  • 31. 31 RDF Schema: Basic Ideas  RDF is a universal language that enables users to describe their own vocabularies.  But, RDF does not make assumption about any particular domain.  It is up to user to define this in RDF schema.
  • 32. 32 What does RDF Schema add? • Defines vocabulary for RDF • Organizes this vocabulary in a typed hierarchy • Class, subClassOf, type • Property, subPropertyOf • domain, range AlanTom Staff Lecturer Research Assistant subClassOf subClassOf type supervisedBy domain range type supervisedBy [adapted from: Studer et al, 04] Schema(RDFS) Data(RDF)
  • 33. 33 Querying RDF data  Query Languages such as SPARQL, RQL.  RDF is a directed, labeled graph data format for representing information in the Web.  Most forms of the query languages contain a set of triple patterns.  Triple patterns are like RDF triples except that each of the subject, predicate and object may be a variable.
  • 34. 34 Basic Queries  The example provided in RQL.  Using select-from-where  select specifies the number and order of retrieved data.  from is used to navigate through the data model.  where imposes constraints on possible solutions
  • 35. 35 Basic Queries: Example select X,Y From {X} writtenBy {Y} X, Y are variables, {X} writtenBy {Y} represents a resource-property-value triple
  • 36. 36 Conclusions about RDF(S)  Next step up from plain XML:  (small) ontological commitment to modeling primitives  possible to define vocabulary  However:  no precisely described meaning  no inference model [Davies, 03]
  • 37. 37 Ontologies  The term ontology is originated from philosophy. In that context it is used as the name of a subfield of philosophy, namely, the study of the nature of existence.  For the Semantic Web purpose:  “An ontology is an explicit and formal specification of a conceptualisation”. (R. Studer)
  • 38. 38 Ontologies and Semantic Web  In general, an ontology describes formally a domain of discourse.  An ontology consists of a finite list of terms and the relationships between the terms.  The terms denote important concepts classes of objects) of the domain.  For example, in a university setting, staff members, students, courses, modules, lecture theatres, and schools are some important concepts.
  • 39. 39 Ontologies and Semantic Web (cont’d)  In the context of the Web, ontologies provide a shared understanding of a domain.  Such a shared understanding is necessary to overcome the difference in terminology.  Ontologies are useful for improving accuracy of Web searches.  Web searches can exploit generalization/specialization information.
  • 40. 40 OntologyF-Logic similar OntologyF-Logic similar PhD StudentDoktoral Student Object Person Topic Document Tel PhD StudentPhD Student Semantics knows described_in writes Affiliation described_in is_about knowsP writes D is_about T P T DT T D Rules subTopicOf • Major Paradigms: Logic Programming, Description Logic • Standards: RDF(S); OWL ResearcherStudent instance_of is_a is_a is_a Affiliation Affiliation Siggi AIFB+49 721 608 6554 A Sample Ontology [Studer et al, 04]
  • 41. 41 PhD StudentPhD Student AssProfAssProf AcademicStaffAcademicStaff rdfs:subClassOfrdfs:subClassOf cooperate_withcooperate_with rdfs:range rdfs:domain Ontology <swrc:AssProf rdf:ID="sst"> <swrc:name>Steffen Staab </swrc:name> ... </swrc:AssProf> http://www.aifb.uni-karlsruhe.de/WBS/sst Anno- tation <swrc:PhD_Student rdf:ID="sha"> <swrc:name>Siegfried Handschuh</swrc:name> ... </swrc:PhD_Student> Web Page http://www.aifb.uni-karlsruhe.de/WBS/shaURL <swrc:cooperate_with rdf:resource = "http://www.aifb.uni- karlsruhe.de/WBS/sst#sst"/> instance of instance of Cooperate_with Ontology & Annotation Links have explicit meanings! [Studer et al, 04]
  • 42. 42 Ontologies (OWL)  RDFS is useful, but does not solve all possible requirements  Complex applications may want more possibilities:  similarity and/or differences of terms (properties or classes)  construct classes, not just name them  can a program reason about some terms? E.g.:  “if «Person» resources «A» and «B» have the same «foaf:email» property, then «A» and «B» are identical”  etc.  This lead to the development of OWL (Web Ontology Language) source: Introduction to the Semantic Web, Ivan Herman, W3C
  • 43. 43 Ontology Languages for the Web  RDF Schema is a vocabulary description language for describing properties and classes of RDF resources, with a semantics for generalization hierarchies of such properties and classes.  OWL is a richer vocabulary description language for describing properties and classes.
  • 44. 44 OWL Language  OWL is based on Description Logics knowledge representation formalism  OWL (DL) benefits from many years of DL research:  Well defined semantics  Formal properties well understood (complexity, decidability)  Known reasoning algorithms  Implemented systems (highly optimised)  Three species of OWL  OWL full is union of OWL syntax and RDF  OWL DL restricted to FOL fragment  OWL Lite is “easier to implement” subset of OWL DL  OWL DL based on SHIQ Description Logic [Davies, 03]
  • 45. 45 Classes in OWL  In RDFS, you can subclass existing classes… that’s all.  In OWL, you can construct classes from existing ones:  enumerate its content  through intersection, union, complement  through property restrictions source: Introduction to the Semantic Web, Ivan Herman, W3C
  • 46. 46 OWL classes can be “enumerated” The OWL solution, where possible content is explicitly listed: source: Introduction to the Semantic Web, Ivan Herman, W3C
  • 47. 47 Why develop an ontology?  To make define web resources more precisely and make them more amenable to machine processing  To make domain assumptions explicit  Easier to change domain assumptions  Easier to understand and update legacy data  To separate domain knowledge from operational knowledge  Re-use domain and operational knowledge separately  A community reference for applications  To share a consistent understanding of what information means [Davies, 03]
  • 48. 48 Ontology and Logic  Reasoning over ontologies  Inferencing capabilities X is author of Y  Y is written by X X is supplier to Y; Y is supplier to Z  X and Z are part of the same supply chain Cars are a kind of vehicle; Vehicles have 2 or more wheels  Cars have 2 or more wheels [Davies, 03]
  • 49. 49 Logic and Inference  Logic is the discipline that studies the principles of reasoning  Formal languages for expressing knowledge  Well-understood formal semantics  Declarative knowledge: we describe what holds without caring about how it can be deduced  Automated reasoners can deduce (infer) conclusions from the given knowledge source: A Semantic Web Primer, Grigoris Antoniou and Frank van Harmelen, MIT Press
  • 50. 50 An Inference Example prof(X) → faculty(X) faculty(X) → staff(X) prof(michael) We can deduce the following conclusions: faculty(michael) staff(michael) prof(X) → staff(X) source: A Semantic Web Primer, Grigoris Antoniou and Frank van Harmelen, MIT Press
  • 51. 51 Semantic Web Vision Machine-processable, global Web standards:  Assigning unambiguous names (URI)  Expressing data, including metadata (RDF)  Capturing ontologies (OWL)  Query, rules, transformations, deployment, application spaces, logic, proofs, trust (in progress) [Source: Emerging Web Technologies to Watch, Steve Bratt, W3C]
  • 52. 52 Semantic Web and AI?  No human-level intelligence claims  As with today’s WWW  large, inconsistent, distributed  Requirements  scalable, robust, decentralised  tolerant, mediated  Semantic Web will make extensive use of current AI,  any advancement in AI will lead to a better Semantic Web  Current AI is already sufficient to go towards realizing the semantic web vision  As with WWW, Semantic Web will (need to) adapt fast [Davies, 03]
  • 53. 53 Semantic Web & Knowledge Management  Organising knowledge in conceptual spaces according to its meaning.  Enabling automated tools to check for inconsistencies and extracting new knowledge.  Replacing query-based search with query answering.  Defining who may view certain parts of information
  • 55. 55 Web Services  Web Services provide data and services to other applications.  Thee applications access Web Services via standard Web Formats (HTTP, HTML, XML, and SOAP), with no need to know how the Web Service itself is implemented.  You can imagine a web service like a remote procedure call (RPC) which it returns a message in an XML format.
  • 56. 56 Web Services  loosely coupled, reusable components  encapsulate discrete functionality  distributed  programmatically accessible over standard internet protocols  add new level of functionality on top of the current web [Stollberg et al., 05]
  • 57. 57 The Promise of Web Services [Stollberg et al., 05]
  • 58. 58 Deficiencies of WS Technology  Current technologies allow usage of Web Services  but:  only syntactical information descriptions  syntactic support for discovery, composition and execution => Web Service usability, usage, and integration needs to be inspected manually  no semantically marked up content / services  no support for the Semantic Web => current Web Service Technology Stack failed to realize the promise of Web Services [Stollberg et al., 05]
  • 59. 59 Semantic Web Technology + Web Service Technology Semantic Web Services => Semantic Web Services as integrated solution for realizing the vision of the next generation of the Web • allow machine supported data interpretation • ontologies as data model automated discovery, selection, composition, and web-based execution of services [Stollberg et al., 05]
  • 60. 60 Semantic Web Services  define exhaustive description frameworks for describing Web Services and related aspects (Web Service Description Ontologies)  support ontologies as underlying data model to allow machine supported data interpretation (Semantic Web aspect)  define semantically driven technologies for automation of the Web Service usage process (Web Service aspect)
  • 61. 61 Acknowledgements  Some of the slides are adapted from the following resources:  Semantic Web, John Davies, Next Generation Web Research, BT.  A Short Semantic Web Tutorial, Andreas Hotho & York Sure, Knowledge Management Group, Institute AIFB, University of Karlsruhe.  Semantic Web and Ontology Management, Rudi Studer, York Sure, Christoph Tempich, Peter Haase,Institute AIFB, University of Karlsruhe.  A Semantic Web Primer, Grigoris Antoniou and Frank van Harmelen, ISBN 0-262-01210-3, 2004, the MIT press.  The Semantic Web: A Web of Machine Processible Data, Eric Miller, W3C Semantic Web Activity Lead, 2004.  Stollberg et al, Semantic Web Services Tutorial, 5th International Conference on Web Engineering (ICWE 2005), Sydney, Australia.  Introduction to the Semantic Web, Ivan Herman, W3C, 2007.
  • 62. 62 Suggested Readings  A Semantic Web Primer, Grigoris Antoniou and Frank van Harmelen, ISBN 0-262-01210-3, 2004, the MIT press.  W3C Semantic Web http://www.w3.org/2001/sw/  The Semantic Web Community Portal, http://www.semanticweb.org

Editor's Notes

  1. &amp;lt;number&amp;gt; RDF is an XML application defined using a document type definition (DTD). A DTD was used because the design of RDF essentially pre-dates XML schema. RDF is made up of triples which are like simple grammatical sentences with a subject, a verb and an object (in that order). The subject and the verb will be a URI, the object may be a URI or may be a literal. A literal is a character string or other primitive datatype defined by XML. The uniqueness of the URI convention prevents confusion. Frequently the URI will be a URL where information about the data is stored. E.g. if I want to represent myself (Paul Warren) uniquely then I can create a URL somewhere (with a reasonable chance of guaranteeing persistence). The URL may have a descriptive identifier, e.g. …johnDavies.htm - but this is merely incidental. The page pointed at should preferably say something about the fact that the URL represents me. What we do require is that the URL be persistent. Someone else, e.g. the tax office, may construct a URI representing me, and all the intelligent agents in the world will be blissfully ignorant that the two URIs refer to the same person … until a human intervenes and defines an equivalence between them. Besides URLs, other forms of URI include identification of electronic mailboxes.
  2. &amp;lt;number&amp;gt; RDF has reification. Graph data model, property-centric approach.
  3. &amp;lt;number&amp;gt; RDFS provides some KR techniques, but is still not sufficient for applying real KR to semi-structured data on the web. how to apply KR - ontologies - to semi-structured data on the internet? only natural language spec. Only subsumption inference possible, no: transitivity, inverse, etc.
  4. &amp;lt;number&amp;gt;
  5. &amp;lt;number&amp;gt;