Professional Documents
Culture Documents
Search engines
g on the Semantic Web
5
LOOKING BACK ON XML!
Semantic Web Technologies
HTML:
<H1>Introduction to AI</H1>
<UL> <LI>Teacher: Frank van Harmelen
<LI>Students: 1AI, 1I
<LI>Requirements:
LI R i t none
</UL>
XML:
<course>
<title>Introduction to AI</title>
<teacher>Frank van Harmelen</teacher>
<students>1AI, 1I</students>
<req>none</req>
</course>
/
Semantic Web Technologies
Drawbacks of XML
• XML is a universal metalanguage for defining markup
<lecturer name=
name="David
David Billington
Billington">
>
<teaches>Discrete Maths</teaches>
</lecturer>
RDF basics…
• RDF:
▫ is a W3C standard
standard, which provides tool to describe
Web resources
▫ provides interoperability between applications that
exchange machine-understandable information
• RDF Schema:
▫ is a W3C standard which defines vocabulary for
RDF
▫ organizes this vocabulary in a typed hierarchy
▫ capable to explicitly declare semantic relations
between vocabulary terms
Semantic Web Technologies
What is RDF ?
• RDF is a data model
x the model is domain-neutral,
domain neutral application
application-neutral
neutral
and ready for internationalization (i18n)
x the model can be viewed as directed, labeled
graphs or as an object-oriented model
(object/attribute/value)
RDF model
RDF “statements” consist of
resources ((= nodes)) = subject
j
which have properties = predicate
which have values (= nodes,strings) = object
resource value
property
http://www.w3.org/TR/REC-rdf-syntax/
author
“Ora Lassila”
Semantic Web Technologies
dc:Publisher
h
http://www.w3.org/TR/REC-rdf-syntax/
// 3 /TR/REC df /
dc:Creator
dc:Date
“Ora Lassila”
“
“1999-02-22”
Semantic Web Technologies
has homepage
has_homepage
Director
has_job
Ontology to_be_friends
_with
has_job has_homepage
Secretary
Mary
BASIC IDEAS OF RDF
Detailed!
Semantic Web Technologies
Resources
• We can think of a resource as an object, a
“thing”
thing we want to talk about
▫ E.g. authors, books, publishers, places, people,
hotels
• A URI can be
b
▫ a URL (Web address) or
▫ some other kind of unique identifier
Semantic Web Technologies
Resources
• All things being described by RDF expressions
are called resources:
▫ entire Web page;
▫ a specific XML element;
▫ whole collection of pages;
▫ an object that is not directly accessible via the
Web.
Semantic Web Technologies
URI
Properties
• Properties are a special kind of resources
Statements
• Statements assert the properties of resources
• A statement is an object-attribute-value
triple
▫ It consists of a resource, a property, and a
value
RDF Statement
• Subject of an RDF statement is a resource
<rdf:RDF>
<rdf:Description about=
"http://www.w3.org/Home/Lassila">
<s:Creator>Ora Lassila</s:Creator>
</rdf:Description>
</rdf:RDF> 's' is a specific namespace prefix, e.g.
xmlns:s="http://description.org/schema/"
Semantic Web Technologies
<rdf:RDF>
< df D
<rdf:Description
i ti
about="http://www.w3.org/Home/Lassila"
s:Creator="Ora
s:Creator Ora Lassila
Lassila" />
</rdf:RDF>