20
by Benoît Marchal from psol.com RDF is the worldwide brainstorm Also known as “The 5 minutes tutorial to RDF & Semantic Web”

RDF is the worldwide brainstorm

Embed Size (px)

DESCRIPTION

Also known as
“The 5 minutes tutorial 
to RDF ((Resource Description Framework) & Semantic Web.” With example. This was prepared for an introduction to next-generation SOA (Service-oriented architecture) projects.

Citation preview

Page 1: RDF is the worldwide brainstorm

by Benoît Marchalfrom psol.com

RDFis theworldwidebrainstorm

Also known as“The 5 minutes tutorial

to RDF & Semantic Web”

Page 2: RDF is the worldwide brainstorm

© 2013, psol.com

Say I’m planning my next vacation to Roma.

Page 3: RDF is the worldwide brainstorm

© 2013, psol.com

I search for sights, transport, hotels, and more.

Page 4: RDF is the worldwide brainstorm

© 2013, psol.com

None of the sites has all the information that I need.© 2013, psol.com

Page 5: RDF is the worldwide brainstorm

© 2013, psol.com

• I want an hotel

• in Roma

• with good reviews

• for less than €200/night

• near at least one famous sight.

• Yet the sites only have partial data

• which prevents them from answering the question.

But mine is a simple question…

Page 6: RDF is the worldwide brainstorm

© 2013, psol.com

For example if I read an encyclopedia,

I learn that Roma has many remarkable sights

• Colosseum

• Pantheon

• Trevi Fountain

• Holy See

• Imperial Fora

• …

Page 7: RDF is the worldwide brainstorm

© 2013, psol.com

And if I turn to a travel guide,

it recommends several charming hotels

• one of which, called N°9 Colosseo

• is close to the Colosseum

• seems to please tourists

• average rating: 4.5 / 5

• another one is Vatican View

• …

Page 8: RDF is the worldwide brainstorm

© 2013, psol.com

And from the hotel’s web site,

I find that N°9 Colosseo offers

• double rooms

• costing €195 per night

• for a double bed

• triple rooms

• 4 people suites

• …

Page 9: RDF is the worldwide brainstorm

© 2013, psol.com

I waste so much time sorting through the data.

Page 10: RDF is the worldwide brainstorm

© 2013, psol.com

It’s frustrating. I only want to book a room.

Page 11: RDF is the worldwide brainstorm

© 2013, psol.com

Introducing RDF and the semantic web.

RDF is short forResource Description Framework.

Page 12: RDF is the worldwide brainstorm

© 2013, psol.com

RDF encodes data as triples with distinct identifiers

http://comune.roma.it/the subject

RDF tags concepts withUniform Resource Identifiers (URIs).

http://the-colosseum.net/the object

travel:tourist_attractionsthe predicate

Each triple hasa subject,a predicateand an object.

Page 13: RDF is the worldwide brainstorm

© 2013, psol.com

The encyclopedia data makes 5 triples

http://comune.roma.it/

http://the-colosseum.net/

http://www.vatican.va/

http://trevifountain.net/

http://pantheonroma.com/

travel:tourist_attractions

travel:tourist_attractions

travel:tourist_attractions

travel:tourist_attractions http://capitolium.org/

travel:tourist_attractions

URI for Colosseum data

Page 14: RDF is the worldwide brainstorm

© 2013, psol.com

The travel guide data makes 3 triples (abbreviated)

http://no9colosseo.com/

http://the-colosseum.net/

foaf:based_nearrdf:type

acco:Hotel

rev:rating/rev:maxRating

4.5 / 5

same Colosseum, same URI,different data source

Page 15: RDF is the worldwide brainstorm

© 2013, psol.com

The hotel data makes 4 triples (abbreviated)

http://no9colosseo.com/

n9:doublepricing

n9:doubleroom

acco:Double

gr:hasPriceSpecification/gr:hasCurrencyValue

acco:partOf

acco:includeObject/gr:typeOfGood

acco:bed

€195

Page 16: RDF is the worldwide brainstorm

© 2013, psol.com

3 sites brainstorm to sort through the data…

Thanks to semanticand common identifiers,the 3 sites inferthe answer from the data.

Page 17: RDF is the worldwide brainstorm

© 2013, psol.com

They have merged and sorted data from 3 sources

http://no9colosseo.com/

n9:doublepricing

n9:doubleroom

€195

http://the-colosseum.net/

http://comune.roma.it/

4.5 / 5merge all data on the Colosseum

Page 18: RDF is the worldwide brainstorm

© 2013, psol.com

A clear answer. I can book my vacation!

Combining data from the encyclopedia, the travel guide and the hotel’s web site, they answer that N°9 Colosseois close to the Colosseum (a famous Roman sight). The average rating is 4.5 and rooms start at €195/night.

Page 19: RDF is the worldwide brainstorm

© 2013, psol.com

3 keys for the semantic web, as illustrated by RDF.

identifier management flexible data model versatile syntaxes(in next presentation)

Page 20: RDF is the worldwide brainstorm

© 2013, Benoît Marchal/psol.comAll rights reserved.Illustrations: © Alashi/iStockPhoto: © Franck Lecrenay

Questions? Ideas?I hope so! It’s exciting stuff.

Call me todayfor on-site or remote

trainings & consulting.

+ 32 81 22 62 70psol.com

rewa rd ing orga

nised

motivating