rdf is the worldwide brainstorm
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.TRANSCRIPT
by Benoît Marchalfrom psol.com
RDFis theworldwidebrainstorm
Also known as“The 5 minutes tutorial
to RDF & Semantic Web”
© 2013, psol.com
Say I’m planning my next vacation to Roma.
© 2013, psol.com
I search for sights, transport, hotels, and more.
© 2013, psol.com
None of the sites has all the information that I need.© 2013, psol.com
© 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…
© 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
• …
© 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
• …
© 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
• …
© 2013, psol.com
I waste so much time sorting through the data.
© 2013, psol.com
It’s frustrating. I only want to book a room.
© 2013, psol.com
Introducing RDF and the semantic web.
RDF is short forResource Description Framework.
© 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.
© 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
© 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
© 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
© 2013, psol.com
3 sites brainstorm to sort through the data…
Thanks to semanticand common identifiers,the 3 sites inferthe answer from the data.
© 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
© 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.
© 2013, psol.com
3 keys for the semantic web, as illustrated by RDF.
identifier management flexible data model versatile syntaxes(in next presentation)
© 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