introduction to linked data 1/5

79
Introduction to Linked Data Juan F. Sequeda Semantic Technology Conference June 2011

Upload: juan-sequeda

Post on 28-Nov-2014

1.652 views

Category:

Education


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Introduction to Linked Data 1/5

Introduction to Linked Data

Juan F. SequedaSemantic Technology Conference

June 2011

Page 2: Introduction to Linked Data 1/5

What is the Semantic Web?

Page 3: Introduction to Linked Data 1/5

What is the Semantic Web?

Page 4: Introduction to Linked Data 1/5

Internet != Web

Page 5: Introduction to Linked Data 1/5
Page 6: Introduction to Linked Data 1/5

What is the Web?

“… the Web, is a system of interlinked hypertext documents accessed via the Internet. With a web browser, one can view web pages that may contain text, images […] and navigate between them via hyperlinks”

http://en.wikipedia.org/wiki/World_Wide_Web

Page 7: Introduction to Linked Data 1/5

Current Web = internet + links + docs

Page 8: Introduction to Linked Data 1/5

History of the Web

• Created by Tim Berners-Lee at CERN in 1989• Mosaic browser in 1993• W3C created in 1994• Exponential growth mid 90s• Amazon, Ebay – 1995• Search engines – Google 1998• Dot-com boom 1997 – 2001• Web 2.0 – blogs, Facebook, Twitter, etc

Page 9: Introduction to Linked Data 1/5

What is the problem?

Page 10: Introduction to Linked Data 1/5

WHAT’S THE WEATHER IN SAN

FRANCISCO TODAY?

Page 11: Introduction to Linked Data 1/5
Page 12: Introduction to Linked Data 1/5
Page 13: Introduction to Linked Data 1/5
Page 14: Introduction to Linked Data 1/5

What is the problem?

• The web is full of documents• We aren’t always interested in documents– We are interested in THINGS– These THINGS might be in documents

• We can read a HTML document rendered in a browser and find what we are searching for– This is hard for computers. – Computers have to guess (even though they are

pretty good at it)

Page 15: Introduction to Linked Data 1/5

The Web is a Data Shredder

Structured Data

Unstructured Data

Thanks Martin Hepp

Page 16: Introduction to Linked Data 1/5

What would we like?

• Make it easy for computers/software to find THINGS

Do you SEARCH or do you FIND?

Page 17: Introduction to Linked Data 1/5

Search for

Football Players who went to the University of Texas at Austin, played for

the Dallas Cowboys as Cornerback

Page 18: Introduction to Linked Data 1/5
Page 19: Introduction to Linked Data 1/5
Page 20: Introduction to Linked Data 1/5
Page 21: Introduction to Linked Data 1/5

Why can’t we just FIND it…

Page 22: Introduction to Linked Data 1/5
Page 23: Introduction to Linked Data 1/5
Page 24: Introduction to Linked Data 1/5

Guess how I FOUND out?

Page 25: Introduction to Linked Data 1/5

On a Semantic Web

• Besides publishing documents on the web– which computers can’t understand easily

• Let’s publish on the web something that computers can understand

DATA

Page 26: Introduction to Linked Data 1/5

The Semantic Web is a web of linked data

The current web is a web of linked documents

Page 27: Introduction to Linked Data 1/5

But wait… doesn’t the web already have data?

Page 28: Introduction to Linked Data 1/5

Current Data on the Web

• Relational Databases• APIs• XML• CSV• XLS• …• Can’t computers and applications already

consume that data on the web?

Page 29: Introduction to Linked Data 1/5

Yes! But it is all in different formats and data models!

Page 30: Introduction to Linked Data 1/5

This makes it hard to integrate data

Page 31: Introduction to Linked Data 1/5

The data in different data sources aren’t linked

Page 32: Introduction to Linked Data 1/5

For example, how do I know that the Juan Sequeda in Facebook is the same as Juan

Sequeda in Twitter

Page 33: Introduction to Linked Data 1/5

Or if I create a mashup from different services, I have to learn different APIs and I get different

formats of data back

Page 34: Introduction to Linked Data 1/5

Data is Siloed

Page 35: Introduction to Linked Data 1/5

Wouldn’t it be great if we had a standard way of publishing data on the Web?

Page 36: Introduction to Linked Data 1/5

We have a standardized way of publishing documents on the web, right?

HTML

Page 37: Introduction to Linked Data 1/5

Then why can’t we have a standard way of publishing data on the Web?

Page 38: Introduction to Linked Data 1/5

Good question! And the answer is YES. There is!

RDF

Page 39: Introduction to Linked Data 1/5

Resource Description Framework (RDF)

• A data model – A way to model data– i.e. Relational databases use relational 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> <has hobby> <Salsa dancing>

Page 40: Introduction to Linked Data 1/5

RDF can be serialized in different ways

• RDF/XML• RDFa (RDF in HTML)• N3• Turtle• JSON

Page 41: Introduction to Linked Data 1/5

So does that mean that I have to publish my data in RDF now?

Page 42: Introduction to Linked Data 1/5

You don’t have to… but we would like you to

Page 43: Introduction to Linked Data 1/5

An example

Page 44: Introduction to Linked Data 1/5

Document on the Web

Page 45: Introduction to Linked Data 1/5

Databases back up documents

Isbn Title Author PublisherID ReleasedData

978-0-596-15381-6

Programming the Semantic Web

Toby Segaran 1 July 2009

… … … … …

PublisherID PublisherName

1 O’Reilly Media

… …

This is a THING:A book title “Programming the Semantic Web” by Toby Segaran, …

THINGS have PROPERTIES:A Book as a Title, an author, …

Page 46: Introduction to Linked Data 1/5

Lets represent the data in RDF

book

Programming the Semantic Web

978-0-596-15381-6

Toby Segaran

Publisher O’Reilly

title

name

author

publisher

isbn

Isbn Title Author PublisherID ReleasedData

978-0-596-15381-6

Programming the Semantic Web

Toby Segaran

1 July 2009

PublisherID PublisherName

1 O’Reilly Media

Page 47: Introduction to Linked Data 1/5

Remember that we are on the web

Everything on the web is identified by a URI

Page 48: Introduction to Linked Data 1/5

And now let’s link the data to other data

http://…/isbn978

Programming the Semantic Web

978-0-596-15381-6

Toby Segaran

http://…/publisher1 O’Reilly

title

name

author

publisher

isbn

Page 49: Introduction to Linked Data 1/5

And now consider the data from Revyu.com

http://…/isbn978

http://…/

review1

Awesome Book

http://…/

reviewer

Juan Sequeda

hasReview

reviewer

description

name

Page 50: Introduction to Linked Data 1/5

Let’s start to link data

http://…/isbn978

Programming the Semantic Web

978-0-596-15381-6

Toby Segaran

http://…/publisher1 O’Reilly

title

name

author

publisher

isbn

http://…/isbn978

sameAs

http://…/

review1

Awesome Book

http://…/

reviewer

Juan Sequeda

hasReview

hasReviewer

description

name

Page 51: Introduction to Linked Data 1/5

Juan Sequeda publishes data too

http://juansequeda.

com/id

livesIn

Juan Sequedaname

http://dbpedia.org/Austin

Page 52: Introduction to Linked Data 1/5

Let’s link more datahttp://…/isbn978

http://…/

review1

Awesome Book

http://…/

reviewer

Juan Sequeda

http://juansequeda.

com/id

hasReview

hasReviewer

description

name

sameAs

livesIn

Juan Sequedaname

http://dbpedia.org/Austin

Page 53: Introduction to Linked Data 1/5

And more

http://…/isbn978

Programming the Semantic Web

978-0-596-15381-6

Toby Segaran

http://…/publisher1

O’Reilly

title

name

author

publisher

isbn

http://…/isbn978

sameAs

http://…/

review1

Awesome Book

http://…/

reviewer

Juan Sequeda

http://juansequeda.

com/id

hasReview

hasReviewer

description

name

sameAs

livesIn

Juan Sequedaname

http://dbpedia.org/Austin

Page 54: Introduction to Linked Data 1/5

Data on the Web that is in RDF and is linked to other RDF data is LINKED DATA

Page 55: Introduction to Linked Data 1/5

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 information.

4. Include links to other URIs so that they can discover more things.

Page 56: Introduction to Linked Data 1/5

Linked Data makes the web appear as ONE

GIANTHUGE

GLOBAL

DATABASE!

Page 57: Introduction to Linked Data 1/5

I can query a database with SQL. Is there a way to query Linked Data with a query language?

Page 58: Introduction to Linked Data 1/5

Yes! There is actually a standardize language for that

SPARQL

Page 59: Introduction to Linked Data 1/5

FIND all the reviews on the book “Programming the Semantic Web” by people who live in

Austin

Page 60: Introduction to Linked Data 1/5

SELECT ?review ?commentWHERE { isbn:978 ex:hasReview ?review . ?review ex:description ?comment . ?review ex:hasReviewer ?person . ?person ex:lives dbpedia:Austin .}

Page 61: Introduction to Linked Data 1/5

http://…/isbn978

Programming the Semantic Web

978-0-596-15381-6

Toby Segaran

http://…/publisher1 O’Reilly

title

name

author

publisher

isbn

http://…/isbn978

sameAs

http://…/

review1

Awesome Book

http://…/

reviewer

Juan Sequeda

http://juansequeda.

com

hasReview

hasReviewer

description

name

sameAs

livesIn

Juan Sequedaname

http://dbpedia.org/Austin

SELECT ?review ?commentWHERE {isbn:978 ex:hasReview ?review .?review ex:description ?comment .?review ex:hasReviewer ?person .?person ex:lives dbpedia:Austin .}

Page 62: Introduction to Linked Data 1/5

This looks cool, but let’s be realistic. What is the incentive to publish Linked Data?

Page 63: Introduction to Linked Data 1/5

What was your incentive to publish an HTML page in 1990?

Page 64: Introduction to Linked Data 1/5

1) Share data in documents2) Because you neighbor was doing it

… later on …3) Marketing, Advertising, SEO

Page 65: Introduction to Linked Data 1/5

So why should we publish Linked Data in 2011?

Page 66: Introduction to Linked Data 1/5

1) Share data as data2) Because you neighbor is doing it

…3) (Semantic) SEO ++

Page 67: Introduction to Linked Data 1/5

Linked Data Publishers• UK Government• US Government• BBC• Open Calais – Thomson Reuters• Freebase/Google• NY Times• Best Buy• CNET• Dbpedia• Overstock.com• O’Reilly Media• …

Page 68: Introduction to Linked Data 1/5

May 2007

Page 69: Introduction to Linked Data 1/5

Oct 2007

Page 70: Introduction to Linked Data 1/5

Nov 2007

Page 71: Introduction to Linked Data 1/5

Feb 2008

Page 72: Introduction to Linked Data 1/5

Mar 2008

Page 73: Introduction to Linked Data 1/5

Sept 2008

Page 74: Introduction to Linked Data 1/5

Mar 2009 (1)

Page 75: Introduction to Linked Data 1/5

Mar 2009 (2)

Page 76: Introduction to Linked Data 1/5

July 2009

Page 77: Introduction to Linked Data 1/5

September 2010

Page 78: Introduction to Linked Data 1/5

June 2011

YOU GET THE PICTURE

ITS BIG and getting

BIGGER and

BIGGER

Page 79: Introduction to Linked Data 1/5

QUESTIONS?