13. So
what
is
the
problem?
• The
Web
has
problems
– People
aren’t
interested
in
documents
• They
are
interested
in
things
(that
are
in
documents)
– People
can
parse
documents
and
extract
meaning
• Web
pages
are
wriXen
in
HTML
• HTML
describes
visualiza)on
of
informa)on
• Computers
can’t!
14. What
do
we
need
to
do?
• We
need
to
help
machines
to
understand
the
web
so
machines
can
help
us
understand
things
– They
can
learn
what
we
are
interested
in
– They
can
help
us
beXer
find
what
we
want
15. How
can
we
do
that?
• Besides
publishing
documents
on
the
web
– which
computers
can’t
understand
easily
• Let’s
publish
something
that
computers
can
understand
28. Resource
Descrip)on
Framework
(RDF)
• A
data
model
– A
way
to
model
data
– i.e.
Rela)onal
databases
use
rela)onal
data
model
• RDF
is
a
triple
data
model
• Labeled
Graph
• Subject,
Predicate,
Object
• <Juan>
<was
born
in>
<California>
• <California>
<is
part
of>
<the
USA>
• <Juan>
<likes>
<the
Seman)c
Web>
29. RDF
can
be
serialized
in
different
ways
• RDF/XML
• RDFa
(RDF
in
HTML)
• N3
• Turtle
• JSON
30. So
does
that
mean
that
I
have
to
publish
my
data
in
RDF
now?
34. Databases
back
up
documents
THINGS
have
PROPERTIES:
A
Book
as
a
Title,
an
author,
…
Isbn
Title
Author
PublisherID
ReleasedData
978-‐0-‐596-‐153 Programming
Toby
Segaran
1
July
209
81-‐6
the
Seman.c
Web
…
…
…
…
…
PublisherID
PublisherName
This
is
a
THING:
A
book
)tle
“Programming
the
1
O’Reilly
Media
Seman)c
Web”
by
Toby
Segaran,
…
…
…
35. Lets
represent
the
data
in
RDF
Programming
the
)tle
Seman)c
Web
author
book
Toby
Segaran
isbn
978-‐0-‐596-‐15381-‐6
publisher
name
Publisher
O’Reilly
36. Remember
that
we
are
on
the
web
Everything
on
the
web
is
iden)fied
by
a
URI
37. And
now
let’s
link
the
data
to
other
data
Programming
the
)tle
Seman)c
Web
hXp://…/ author
Toby
Segaran
isbn978
isbn
978-‐0-‐596-‐15381-‐6
publisher
hXp://…/ name
publisher1
O’Reilly
38. And
now
consider
the
data
from
Revyu.com
hXp://…/ hasReview
hXp://…/
review1
isbn978
descrip)on
reviewer
Awesome
Book
hXp://…/
name
reviewer
Juan
Sequeda
39. Let’s
start
to
link
data
hXp://…/ hasReview
hXp://…/
review1
isbn978
Programming
the
descrip)on
)tle
Seman)c
Web
hasReviewer
sameAs
Awesome
author
hXp://…/
Book
Toby
Segaran
isbn978
hXp://…/
name
reviewer
isbn
978-‐0-‐596-‐15381-‐6
Juan
publisher
Sequeda
hXp://…/ name
publisher1
O’Reilly
40. Juan
Sequeda
publishes
data
too
hXp:// livesIn
hXp://dbpedia.org/Aus)n
juansequeda.
com/id
name
Juan
Sequeda
41. Let’s
link
more
data
hXp://…/ hasReview
hXp://…/
review1
isbn978
descrip)on
hasReviewer
Awesome
Book
hXp://…/
name
reviewer
sameAs
Juan
Sequeda
hXp:// livesIn
hXp://dbpedia.org/Aus)n
juansequeda.
com/id
name
Juan
Sequeda
42. And
more
hXp://…/ hasReview
hXp://…/
review1
isbn978
Programming
the
descrip)on
)tle
Seman)c
Web
hasReviewer
sameAs
Awesome
author
hXp://…/
Book
Toby
Segaran
isbn978
hXp://…/
name
reviewer
isbn
978-‐0-‐596-‐15381-‐6
sameAs
Juan
publisher
hXp://…/
Sequeda
name
publisher1
O’Reilly
hXp:// livesIn
hXp://dbpedia.org/Aus)n
juansequeda.
com/id
name
Juan
Sequeda
43. Data
on
the
Web
that
is
in
RDF
and
is
linked
to
other
RDF
data
is
LINKED
DATA
44. Linked
Data
Principles
1. Use
URIs
as
names
for
things
2. Use
HTTP
URIs
so
that
people
can
look
up
(dereference)
those
names.
3. When
someone
looks
up
a
URI,
provide
useful
informa)on.
4. Include
links
to
other
URIs
so
that
they
can
discover
more
things.
46. I
can
query
a
database
with
SQL.
Is
there
a
way
to
query
Linked
Data
with
a
query
language?
47. Yes!
There
is
actually
a
standardize
language
for
that
SPARQL
48. FIND
all
the
reviews
on
the
book
“Programming
the
Seman)c
Web”
by
people
who
live
in
Aus)n
49. hXp://…/ hasReview
hXp://…/
review1
isbn978
Programming
the
descrip)on
)tle
Seman)c
Web
hasReviewer
sameAs
Awesome
author
hXp://…/
Book
Toby
Segaran
isbn978
hXp://…/
name
reviewer
isbn
978-‐0-‐596-‐15381-‐6
sameAs
Juan
publisher
Sequeda
hXp://…/ name
publisher1
O’Reilly
hXp://
juansequeda. livesIn
hXp://dbpedia.org/Aus)n
com
name
Juan
Sequeda
50. This
looks
cool,
but
let’s
be
realis)c.
What
is
the
incen)ve
to
publish
Linked
Data?
51. What
was
your
incen)ve
to
publish
an
HTML
page
in
1990?
52. 1)
Share
data
in
documents
2)
Because
you
neighbor
was
doing
it
54. 1)
Share
data
as
data
2)
Because
you
neighbor
is
doing
it
55. And
guess
who
is
star)ng
to
publish
Linked
Data
now?
56. Linked
Data
Publishers
• UK
Government
• US
Government
• BBC
• Open
Calais
–
Thomson
Reuters
• Freebase
• NY
Times
• Best
Buy
• CNET
• Dbpedia
• Are
you?
59. Publishing
Linked
Data
• Legacy
Data
in
Rela)onal
Databases
– D2R
Server
– Virtuoso
– Triplify
– Ultrawrap
• CMS
– Drupal
7
• Na)ve
RDF
Stores
– Databases
for
RDF
(Triple
Stores)
• AllegroGraph,
Jena,
Sesame,
Virtuoso
– Talis
Plauorm
(Linked
Data
in
the
Cloud)
• In
HTML
with
RDFa