linked data: a 30-minute crash course! - tom...

40
shared innovation Linked Data: A 30-Minute Crash Course! Tom Heath Lead Researcher Talis Systems Ltd July 2011, SSSW2011, Cercedilla, Spain

Upload: danghanh

Post on 06-Oct-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

shared innovation

Linked Data:A 30-Minute Crash Course!

Tom Heath

Lead ResearcherTalis Systems Ltd

July 2011, SSSW2011, Cercedilla, Spain

shared innovation

Outline

• No “hard sell” about Linked Data, just the basic concepts

• A basic introduction to the topic– Graphs– RDF Triples– URIs for documents and things– Links between (things in different) data sets

• A brief mention of some useful data sets• Outline of the hands-on session

shared innovation

Tom

What is a Graph?

shared innovation

TomTalis

What is a Graph?

shared innovation

TomTalis

employedBy

What is a Graph?

shared innovation

Tom

Bristol

TalisemployedBy

livesIn

What is a Graph?

shared innovation

Tom

Bristol

Talis

Ardbeg

employedBy

livesIn

favouriteDrink

What is a Graph?

shared innovation

Tom

Bristol

Talis

Ardbeg

Whisky

employedBy

livesIn

favouriteDrink

isA

What is a Graph?

shared innovation

Tom

Bristol

Talis

Ardbeg

Islay

Whisky

employedBy

livesIn

favouriteDrink

isA

origin

What is a Graph?

shared innovation

Tom

Bristol

Talis

Ardbeg

Islay

Whisky

employedBy

livesIn

favouriteDrink

isA

origin

ScotlandisIn

What is a Graph?

shared innovation

Tom

Bristol

Talis

Ardbeg

Islay

Whisky

employedBy

livesIn

favouriteDrink

isA

origin

Software

industry

ScotlandisIn

What is a Graph?

shared innovation

Tom

Bristol

Talis

Ardbeg

Islay

Whisky

employedBy

livesIn

favouriteDrink

isA

origin

Software

industry

Birmingham

basedIn

ScotlandisIn

What is a Graph?

shared innovation

Tom

Bristol

Talis

Ardbeg

Islay

Whisky

employedBy

livesIn

favouriteDrink

isA

origin

Software

industry

Ian Davis

employedBy

Birmingham

basedIn

ScotlandisIn

What is a Graph?

shared innovation

Tom

Bristol

Talis

Ardbeg

Islay

Whisky

employedBy

livesIn

favouriteDrink

isA

origin

ScotlandisIn

Software

industry

Birmingham

basedIn

Ian Davis

employedBy

England

bornIn

What is a Graph?

shared innovation

Tom

Bristol

Talis

Birmingham

England

Ian Davis

Ardbeg

Islay

Software

Scotland

Whisky

employedBy

livesIn

favouriteDrink

isA

origin

isIn

borders

basedIn

industry

employedBy

bornIn

What is a Graph?

shared innovation

Tom

Bristol

Talis

Birmingham

England

Ian Davis

Ardbeg

Islay

Software

Scotland

Whisky

employedBy

livesIn

favouriteDrink

isA

origin

isIn

borders

basedIn

industry

employedBy

bornIn

City

isA

What is a Graph?

shared innovation

Tom

Bristol

Talis

Birmingham

England

Ian Davis

Ardbeg

Islay

Software

Scotland

Whisky

employedBy

livesIn

favouriteDrink

isA

origin

isIn

borders

basedIn

industry

employedBy

bornIn

City

isAisA

What is a Graph?

shared innovation

Tom

Bristol

Talis

Birmingham

England

Ian Davis

Ardbeg

Islay

Software

City

Scotland

Whisky

employedBy

livesIn

favouriteDrink

isA

isAisA

origin

isInisIn

isIn

borders

basedIn

industry

employedBy

bornIn

What is a Graph?

shared innovation

SubjectObject

Predicate

The RDF Data Model: Triples

shared innovation

TomTalis

employedBy

The RDF Data Model: Triples

shared innovation

Tom

Bristol

Talis

Birmingham

England

Ian Davis

Ardbeg

Islay

Software

City

Scotland

Whisky

employedBy

livesIn

favouriteDrink

isA

isAisA

origin

isInisIn

isIn

borders

basedIn

industry

employedBy

bornIn

1 Graph, 15 RDF Triples

shared innovation

Birmingham

England

Ian Davis

Islay

Software

City

Scotland

Whisky

isAisA

origin

isInisIn

isIn

borders

basedIn

industry

employedBy

bornIn

isA

Bristol

livesIn

Ardbeg

favouriteDrink

TalisemployedByTom

shared innovation

isIn

Birmingham

England

Ian Davis

Software

City

isAisA

isInisIn

borders

basedIn

industry

employedBy

bornIn

Bristol

livesIn

favouriteDrink

TalisemployedByTom

Scotland

Whisky

Islay

origin

isAArdbeg

shared innovation

isIn

England

Ian Davis

City

isAisA

isInisIn

borders

employedBy

bornIn

Bristol

livesIn

favouriteDrink

employedByTom

Scotland

Whisky

Islay

origin

isAArdbeg

Birmingham

SoftwarebasedIn

industry

Talis

shared innovation

isIn

England

City

isAisA

isInisIn

borders

Bristol

livesIn

favouriteDrink

employedByTom

Scotland

Whisky

Islay

origin

isAArdbeg

Birmingham

SoftwarebasedIn

industry

Ian Davis

employedBy

bornIn

Talis

shared innovation

livesIn

favouriteDrink

employedByTom

Whisky

origin

isAArdbeg

Software

industry

Ian Davis

employedBy

bornIn

Talis

basedInCity

isIn

England

isAisA

isInisIn

borders

Bristol

ScotlandIslay

Birmingham

shared innovation

Birmingham

England

Ian Davis

Islay

Software

City

Scotland

Whisky

isAisA

origin

isInisIn

isIn

borders

basedIn

industry

employedBy

bornIn

isA

Bristol

livesIn

Ardbeg

favouriteDrink

TalisemployedByTom

http://tomheath.com/tom.rdf

shared innovation

isIn

Birmingham

England

Ian Davis

Software

City

isAisA

isInisIn

borders

basedIn

industry

employedBy

bornIn

Bristol

livesIn

favouriteDrink

TalisemployedByTom

Scotland

Whisky

Islay

origin

isAArdbeg

http://wiskii.com/ardbeg.rdf

shared innovation

isIn

England

Ian Davis

City

isAisA

isInisIn

borders

employedBy

bornIn

Bristol

livesIn

favouriteDrink

employedByTom

Scotland

Whisky

Islay

origin

isAArdbeg

Birmingham

SoftwarebasedIn

industry

Talis

http://www.talis.com/talis.rdf

shared innovation

isIn

England

City

isAisA

isInisIn

borders

Bristol

livesIn

favouriteDrink

employedByTom

Scotland

Whisky

Islay

origin

isAArdbeg

Birmingham

SoftwarebasedIn

industry

Ian Davis

employedBy

bornIn

Talis

http://iandavis.com/ian.rdf

shared innovation

livesIn

favouriteDrink

employedByTom

Whisky

origin

isAArdbeg

Software

industry

Ian Davis

employedBy

bornIn

Talis

basedInCity

isIn

England

isAisA

isInisIn

borders

Bristol

ScotlandIslay

Birmingham

http://geonames.org/uk.rdf

shared innovation

Talis

Birmingham

England

Ian Davis

Software

City

employedBy

isAisA

isIn

basedIn

industry

employedBy

bornIn

isIn

borders

http://wiskii.com/Ardbeg

http://plac.es/Bristol

http://tomheath.com/id/me

http://wiskii.com/Islay http://plac.es/Scotland

http://drin.kr/Whisky

http://worklife.eg/livesIn

http://drin.kr/favouriteDrink

http://rels.com/isA

http://wiskii.com/origin

http://rels.com/isIn

URIs for All Things (Not Just for Documents)

shared innovation

livesIn

favouriteDrink

employedByTom

Whisky

origin

isAArdbeg

Software

industry

Ian Davis

employedBy

bornIn

Talis

basedInCity

isIn

England

isAisA

isInisIn

borders

Bristol

ScotlandIslay

Birmingham

Islay

origin

isAArdbeg

Talking About the Same Thing

shared innovation

livesIn

favouriteDrink

employedByTom

Whisky

origin

isAArdbeg

Software

industry

Ian Davis

employedBy

bornIn

Talis

basedInCity

isIn

England

isAisA

isInisIn

borders

Bristol

Scotland

Birmingham

http://my.eg/Islay

http://your.eg/Islay

owl:sameAs

Talking About the Same Thing

shared innovation

Useful Data Sets

• Dbpedia: RDF descriptions of everything that has a Wikipedia page <http://dbpedia.org/>

• Geonames: data set about geographic locations, with RDF descriptions <http://geonames.org/>

• owl:sameAs links exist between many places that feature in both DBpedia and Geonames

shared innovation

Anatomy of a Simple Linked Data Application

1. Look up a URI (HTTP GET)

2. Receive some RDF data in response (maybe via a redirect)

3. Do something useful with the data

4. Inspect the data for links to related things

5. Look up the URIs of related things

6. Go to Step 2.

shared innovation

Linked Data Hands-On Session

• Build a simple city guide based on existing Linked Data sources

• Start with a seed URI for a city of your choice

• Populate a SimpleGraph object with data retrieved by looking up this URI

• Look for outgoing links in the data

• Look these up and add the resulting data to your SimpleGraph / Thing object

• Show some/all of the data you have retrieved as a Web page city guide

shared innovation

Instructions

• http://tomheath.com/stuff/sssw2011/

shared innovation

Questions?

• Contact Info– [email protected]– http://tomheath.com/id/me– http://www.talis.com/– @tommyh (twitter)

• Slides– http://tomheath.com/slides/2011-07-cercedilla-

linked-data-a-30-minute-crash-course.pdf

shared innovation