wtf is the semantic web

87
WTF is the Semantic Web Juan F. Sequeda Semantic Web Austin Oct 1, 2011

Upload: juan-sequeda

Post on 28-Nov-2014

1.178 views

Category:

Technology


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: WTF is the Semantic Web

WTF is the Semantic Web

Juan F. SequedaSemantic Web Austin

Oct 1, 2011

Page 2: WTF is the Semantic Web

WTF is the Semantic Web?

Page 3: WTF is the Semantic Web

Internet != Web

Page 4: WTF is the Semantic Web
Page 5: WTF is the Semantic Web

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 6: WTF is the Semantic Web

Current Web = internet + links + docs

Page 7: WTF is the Semantic Web

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 8: WTF is the Semantic Web

What is the problem?

Page 9: WTF is the Semantic Web

WHAT’S THE WEATHER IN

AUSTIN TODAY?

http://www.flickr.com/photos/jamieca/31631256/

Page 10: WTF is the Semantic Web
Page 11: WTF is the Semantic Web
Page 12: WTF is the Semantic Web
Page 13: WTF is the Semantic Web

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 14: WTF is the Semantic Web

The Web is a Data Shredder

Structured Data

Unstructured Data

Thanks Martin Hepp

Page 15: WTF is the Semantic Web

What would we like?

• Make it easy for computers/software to find THINGS

Do you SEARCH or do you FIND?

Page 16: WTF is the Semantic Web

Search for

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

the Dallas Cowboys as Cornerback

Page 17: WTF is the Semantic Web
Page 18: WTF is the Semantic Web
Page 19: WTF is the Semantic Web
Page 20: WTF is the Semantic Web

Why can’t we just FIND it…

Page 21: WTF is the Semantic Web
Page 22: WTF is the Semantic Web
Page 23: WTF is the Semantic Web

Guess how I FOUND out?

Page 24: WTF is the Semantic Web

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 25: WTF is the Semantic Web

The Semantic Web is a web of data

The current web is a web of documents

Page 26: WTF is the Semantic Web

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

Page 27: WTF is the Semantic Web

Current Data on the Web

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

consume that data on the web?

Page 28: WTF is the Semantic Web

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

Page 29: WTF is the Semantic Web

This makes it hard to integrate data

Page 30: WTF is the Semantic Web

The data in different data sources aren’t linked

Page 31: WTF is the Semantic Web

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

Sequeda in Twitter

Page 32: WTF is the Semantic Web

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

formats of data back

Page 33: WTF is the Semantic Web

Data is Siloed

Page 34: WTF is the Semantic Web

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

Page 35: WTF is the Semantic Web

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

HTML

Page 36: WTF is the Semantic Web

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

Page 37: WTF is the Semantic Web

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

RDF

Page 38: WTF is the Semantic Web

Resource Description Framework (RDF)

• Data Model = a way to model data– i.e. Relational databases use relational data model

• RDF is a graph data model

Page 39: WTF is the Semantic Web

Key Value vs Graph

• Key Values– firstName Juan– lastName Sequeda– livesIn Austin– knows Stephane Corlosquet

• But what are these key/values describing?– ME!

Page 40: WTF is the Semantic Web

RDF is a Graph

• Let’s group the Key/Values together– <JuanSequeda> <firstName> “Juan”– <JuanSequeda> <lastName> “Sequeda”– <JuanSequeda> <livesIn> “Austin”– <JuanSequeda> <knows> <StephaneCorlosquet>– ..– <StephaneCorlosquet> <firstName> “Stephane”– <StephaneCorlosquet> <lastName> “Corlosquet”– <StephaneCorlosquet> <livesIn> “Boston”

Page 41: WTF is the Semantic Web

RDF is a Graph

• Let’s group the Key/Values together– <JuanSequeda> <firstName> “Juan”– <JuanSequeda> <lastName> “Sequeda”– <JuanSequeda> <livesIn> “Austin”– <JuanSequeda> <knows> <StephaneCorlosquet>– ..– <StephaneCorlosquet> <firstName> “Stephane”– <StephaneCorlosquet> <lastName> “Corlosquet”– <StephaneCorlosquet> <livesIn> “Boston”

Key/ValueIdentifier for the “group”

Page 42: WTF is the Semantic Web

RDF can be serialized in different ways

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

Page 43: WTF is the Semantic Web
Page 44: WTF is the Semantic Web

RDFa

Page 45: WTF is the Semantic Web

RDF/XML

Page 46: WTF is the Semantic Web

RDF/N-triples

Page 47: WTF is the Semantic Web

RDF/Turtle

Page 48: WTF is the Semantic Web

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

Page 49: WTF is the Semantic Web

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

Schema.orgRich Snippets

Page 50: WTF is the Semantic Web

An example

Page 51: WTF is the Semantic Web

Document on the Web

Page 52: WTF is the Semantic Web

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 53: WTF is the Semantic Web

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 54: WTF is the Semantic Web

Remember that we are on the web

Everything on the web is identified by a URI

Page 55: WTF is the Semantic Web

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 56: WTF is the Semantic Web

And now consider the data from Revyu.com

http://…/isbn978

http://…/

review1

Awesome Book

http://…/

reviewer

Juan Sequeda

hasReview

reviewer

description

name

Page 57: WTF is the Semantic Web

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 58: WTF is the Semantic Web

Juan Sequeda publishes data too

http://juansequeda.

com/id

livesIn

Juan Sequedaname

http://dbpedia.org/Austin

Page 59: WTF is the Semantic Web

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 60: WTF is the Semantic Web

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 61: WTF is the Semantic Web

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

LINKED DATA

Page 62: WTF is the Semantic Web

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 63: WTF is the Semantic Web

Linked Data makes the web appear as ONE

GIANTHUGE

GLOBAL

DATABASE!

Page 64: WTF is the Semantic Web

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

Page 65: WTF is the Semantic Web

Yes! There is actually a standardize language for that

SPARQL

Page 66: WTF is the Semantic Web

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

Austin

Page 67: WTF is the Semantic Web

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

SPARQL

Page 68: WTF is the Semantic Web

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 69: WTF is the Semantic Web

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

Page 70: WTF is the Semantic Web

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

Page 71: WTF is the Semantic Web

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

… later on …3) Marketing, Advertising, …, SEO

Page 72: WTF is the Semantic Web

So why should we publish Linked Data in 2011?

Page 73: WTF is the Semantic Web

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

…3) Marketing, Advertising, SEO ++

Page 74: WTF is the Semantic Web

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

Page 75: WTF is the Semantic Web

May 2007

Page 76: WTF is the Semantic Web

Oct 2007

Page 77: WTF is the Semantic Web

Nov 2007

Page 78: WTF is the Semantic Web

Feb 2008

Page 79: WTF is the Semantic Web

Mar 2008

Page 80: WTF is the Semantic Web

Sept 2008

Page 81: WTF is the Semantic Web

Mar 2009 (1)

Page 82: WTF is the Semantic Web

Mar 2009 (2)

Page 83: WTF is the Semantic Web

July 2009

Page 84: WTF is the Semantic Web

September 2010

Page 85: WTF is the Semantic Web

September 2011

Linking Open Data cloud diagram, by Richard Cyganiak and Anja Jentzsch. http://lod-cloud.net/

Page 86: WTF is the Semantic Web

YOU GET THE PICTURE

ITS BIG and getting

BIGGER and

BIGGER

Page 87: WTF is the Semantic Web

QUESTIONS?