Top Banner
Tim Hodson Technical Consultant @timhodson #talisldod Linked Data Under the Hood Thursday, 20 October 11
141

Linked data under the hood

May 15, 2015

Download

Technology

Presented by Tim Hodson at the Talis Event 'Data on the Web the Benefits of Linking' London 19th October 2011
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Linked data under the hood

Tim Hodson

Technical Consultant

@timhodson

#talisldod

Linked DataUnder the Hood

Thursday, 20 October 11

Page 2: Linked data under the hood

Where do I start?

Thursday, 20 October 11

Page 3: Linked data under the hood

Thursday, 20 October 11

Page 4: Linked data under the hood

http://www.flickr.com/photos/thienzieyung/5147954561

SPARQLtr

iple

RDFontologypropertyid

entifie

r

urlresourceAPI

merg

ing

modeldereference

Thursday, 20 October 11

Page 5: Linked data under the hood

http://www.flickr.com/photos/thienzieyung/5147954561

SPARQL

trip

le

RDF

ontology

property

identif

ier

url

resource API

merg

ing

model dereference

Thursday, 20 October 11

Page 6: Linked data under the hood

Simple Process

Model

Nam

e

Describ

e

Convert

Publish

Thursday, 20 October 11

Page 7: Linked data under the hood

Simple Process

Model

Nam

e

Describ

e

Convert

Publish

Thursday, 20 October 11

Page 8: Linked data under the hood

Simple Process

Model

Thursday, 20 October 11

Page 9: Linked data under the hood

Look at your data

http://www.flickr.com/photos/pss/4876189045/

Thursday, 20 October 11

Page 10: Linked data under the hood

What am I looking for?

Thursday, 20 October 11

Page 11: Linked data under the hood

http://www.flickr.com/photos/striatic/729822

Thursday, 20 October 11

Page 12: Linked data under the hood

Simple Process

Model

Thursday, 20 October 11

Page 13: Linked data under the hood

Simple Process

Model

Nam

e

Thursday, 20 October 11

Page 14: Linked data under the hood

identifier

Thursday, 20 October 11

Page 15: Linked data under the hood

identifier

thing

Thursday, 20 October 11

Page 16: Linked data under the hood

identifier

thing

Thursday, 20 October 11

Page 17: Linked data under the hood

identifier

thing1969-059A

Thursday, 20 October 11

Page 18: Linked data under the hood

identifier

thingspacecraft/1969-059A

1969-059A

Thursday, 20 October 11

Page 19: Linked data under the hood

identifier

thingspacecraft/1969-059A

nasa.dataincubator.org/spacecraft/1969-059A

1969-059A

Thursday, 20 October 11

Page 20: Linked data under the hood

identifier

thingspacecraft/1969-059A

nasa.dataincubator.org/spacecraft/1969-059A

http://nasa.dataincubator.org/spacecraft/1969-059A

1969-059A

Thursday, 20 October 11

Page 21: Linked data under the hood

identifier

thingspacecraft/1969-059A

nasa.dataincubator.org/spacecraft/1969-059A

http://nasa.dataincubator.org/spacecraft/1969-059A

1969-059A

28801.0kg

Thursday, 20 October 11

Page 22: Linked data under the hood

identifier

thingspacecraft/1969-059A

nasa.dataincubator.org/spacecraft/1969-059A

http://nasa.dataincubator.org/spacecraft/1969-059A

1969-059A

28801.0kg

Columbia

Apollo 11 CSM

CSM-107

Thursday, 20 October 11

Page 23: Linked data under the hood

identifier

thingspacecraft/1969-059A

nasa.dataincubator.org/spacecraft/1969-059A

http://nasa.dataincubator.org/spacecraft/1969-059A

1969-059A

28801.0kg

Columbia

Apollo 11 CSM

CSM-107

United States

Thursday, 20 October 11

Page 24: Linked data under the hood

identifier

thingspacecraft/1969-059A

nasa.dataincubator.org/spacecraft/1969-059A

http://nasa.dataincubator.org/spacecraft/1969-059A

1969-059A

28801.0kg

Columbia

Apollo 11 CSM

CSM-107

United States

Cape Canaveral

Thursday, 20 October 11

Page 25: Linked data under the hood

identifier

thingspacecraft/1969-059A

nasa.dataincubator.org/spacecraft/1969-059A

http://nasa.dataincubator.org/spacecraft/1969-059A

1969-059A

28801.0kg

Columbia

Apollo 11 CSM

CSM-107

United States

Cape Canaveral

Saturn 5

Thursday, 20 October 11

Page 26: Linked data under the hood

identifier

thingspacecraft/1969-059A

nasa.dataincubator.org/spacecraft/1969-059A

http://nasa.dataincubator.org/spacecraft/1969-059A

1969-059A

28801.0kg

Columbia

Apollo 11 CSM

CSM-107

United States

Cape Canaveral

Saturn 5

Thursday, 20 October 11

Page 27: Linked data under the hood

identifier

Thursday, 20 October 11

Page 28: Linked data under the hood

identifier

.../1969-059A

Thursday, 20 October 11

Page 29: Linked data under the hood

identifier

.../1969-059A

mass

28801.0

Thursday, 20 October 11

Page 30: Linked data under the hood

identifier

.../1969-059A

mass

28801.0

Apollo 11 CSM⤵name

Thursday, 20 October 11

Page 31: Linked data under the hood

identifier

.../1969-059A

mass

28801.0

Apollo 11 CSM⤵ Columbia⤵name name

Thursday, 20 October 11

Page 32: Linked data under the hood

identifier

.../1969-059A

⤵⤵mass

28801.0

Apollo 11 CSM⤵ Columbia⤵name name

launch

../launch:1969-059

Thursday, 20 October 11

Page 33: Linked data under the hood

identifier

.../1969-059A

⤵⤵mass

28801.0

Apollo 11 CSM⤵ Columbia⤵name name

launch16 July 1969⤵

date../launch:1969-059

Thursday, 20 October 11

Page 34: Linked data under the hood

identifier

.../1969-059A

⤵⤵mass

28801.0

Apollo 11 CSM⤵ Columbia⤵name name

launch16 July 1969⤵

date

site⤵../launch:1969-059

Cape Canaveral

Thursday, 20 October 11

Page 35: Linked data under the hood

identifier

.../1969-059A

⤵⤵mass

28801.0

Apollo 11 CSM⤵ Columbia⤵name name

launch16 July 1969⤵

date

site

N 28° 27' 31''⤵lat

⤵../launch:1969-059

Cape Canaveral

Thursday, 20 October 11

Page 36: Linked data under the hood

identifier

.../1969-059A

⤵⤵mass

28801.0

Apollo 11 CSM⤵ Columbia⤵name name

launch16 July 1969⤵

date

site

N 28° 27' 31''

W 80° 31' 59''

⤵ ⤵lat

long

⤵../launch:1969-059

Cape Canaveral

Thursday, 20 October 11

Page 37: Linked data under the hood

identifier

.../1969-059A

⤵⤵mass

28801.0

Apollo 11 CSM⤵ Columbia⤵name name

launch16 July 1969⤵

date

site<../1969-059A> mass 28801.0 .<../1969-059A> name “Apollo 11 CSM” .<../1969-059A> name “Columbia” .<../1969-059A> launch <../launch/1969-059> .<../launch/1969-059> date 1969-07-16 .<../launch/1969-059> site <..site/capecanaveral> .<..site/capecanaveral> lat “N 28° 27' 31''” .<..site/capecanaveral> long “W 80° 31' 59''” .

N 28° 27' 31''

W 80° 31' 59''

⤵ ⤵lat

long

⤵../launch:1969-059

Cape Canaveral

Thursday, 20 October 11

Page 38: Linked data under the hood

That all looks a bit scary!

Thursday, 20 October 11

Page 39: Linked data under the hood

An easy structure for capturing dataSimple format

Thursday, 20 October 11

Page 40: Linked data under the hood

subject value

An easy structure for capturing dataSimple format

property

Thursday, 20 October 11

Page 41: Linked data under the hood

subject value

thingproperty

thing

An easy structure for capturing dataSimple format

property

Thursday, 20 October 11

Page 42: Linked data under the hood

subject value

thingproperty

thing

An easy structure for capturing dataSimple format

property

An easy way to bung stuff togetherSimple merging

Thursday, 20 October 11

Page 43: Linked data under the hood

subject value

thingproperty

thing

../person/A

An easy structure for capturing dataSimple format

property

An easy way to bung stuff togetherSimple merging

Thursday, 20 October 11

Page 44: Linked data under the hood

subject value

thingproperty

thing

../person/A hasParent

An easy structure for capturing dataSimple format

property

An easy way to bung stuff togetherSimple merging

Thursday, 20 October 11

Page 45: Linked data under the hood

subject value

thingproperty

thing

../person/B../person/A hasParent

An easy structure for capturing dataSimple format

property

An easy way to bung stuff togetherSimple merging

Thursday, 20 October 11

Page 46: Linked data under the hood

subject value

thingproperty

thing

../person/B

../person/B

../person/A hasParent

An easy structure for capturing dataSimple format

property

An easy way to bung stuff togetherSimple merging

Thursday, 20 October 11

Page 47: Linked data under the hood

subject value

thingproperty

thing

../person/B

name../person/B

../person/A hasParent

An easy structure for capturing dataSimple format

property

An easy way to bung stuff togetherSimple merging

Thursday, 20 October 11

Page 48: Linked data under the hood

subject value

thingproperty

thing

../person/B

name../person/B

../person/A hasParent

An easy structure for capturing dataSimple format

“Eric”

property

An easy way to bung stuff togetherSimple merging

Thursday, 20 October 11

Page 49: Linked data under the hood

subject value

thingproperty

thing

../person/B

name../person/B

../person/A hasParent

An easy structure for capturing dataSimple format

“Eric”

property

An easy way to bung stuff togetherSimple merging

Thursday, 20 October 11

Page 50: Linked data under the hood

subject value

thingproperty

thing

name../person/B../person/A hasParent

An easy structure for capturing dataSimple format

“Eric”

property

An easy way to bung stuff togetherSimple merging

Thursday, 20 October 11

Page 51: Linked data under the hood

RDF TripleMerging

Thursday, 20 October 11

Page 52: Linked data under the hood

RDF TripleMerging

The same identifier in a different place is still the same thing

Thursday, 20 October 11

Page 53: Linked data under the hood

Thursday, 20 October 11

Page 54: Linked data under the hood

Simple Process

Model

Nam

e

Thursday, 20 October 11

Page 55: Linked data under the hood

Simple Process

Model

Nam

e

Describ

e

Thursday, 20 October 11

Page 56: Linked data under the hood

Thursday, 20 October 11

Page 57: Linked data under the hood

Properties?

Thursday, 20 October 11

Page 58: Linked data under the hood

Properties?

Classes?

Thursday, 20 October 11

Page 59: Linked data under the hood

describe why something is linkedProperties?

Classes?

Thursday, 20 October 11

Page 60: Linked data under the hood

describe why something is linked

group similarly typed things together

Properties?

Classes?

Thursday, 20 October 11

Page 61: Linked data under the hood

How do I know what terms to

use?

Thursday, 20 October 11

Page 62: Linked data under the hood

Ask someone

Thursday, 20 October 11

Page 63: Linked data under the hood

Ask someone

•schemapedia.com

Thursday, 20 October 11

Page 64: Linked data under the hood

Ask someone

•schemapedia.com•scemacache.com

Thursday, 20 October 11

Page 65: Linked data under the hood

Ask someone

•schemapedia.com•scemacache.com•sindice.com

Thursday, 20 October 11

Page 66: Linked data under the hood

Why don’t I just use my own

terms for things?

Thursday, 20 October 11

Page 67: Linked data under the hood

Thursday, 20 October 11

Page 68: Linked data under the hood

Thursday, 20 October 11

Page 69: Linked data under the hood

Add ValueLink to external sources

Thursday, 20 October 11

Page 70: Linked data under the hood

Simple Process

Model

Nam

e

Describ

e

Thursday, 20 October 11

Page 71: Linked data under the hood

Simple Process

Model

Nam

e

Describ

e

Convert

Thursday, 20 October 11

Page 72: Linked data under the hood

Conversion

Thursday, 20 October 11

Page 73: Linked data under the hood

•Database / spreadsheet export

Conversion

Thursday, 20 October 11

Page 74: Linked data under the hood

•Database / spreadsheet export- Script/program convert

Conversion

Thursday, 20 October 11

Page 75: Linked data under the hood

•Database / spreadsheet export- Script/program convert

•Pull existing Linked Data from sites

Conversion

Thursday, 20 October 11

Page 76: Linked data under the hood

•Database / spreadsheet export- Script/program convert

•Pull existing Linked Data from sites- URI matching

Conversion

Thursday, 20 October 11

Page 77: Linked data under the hood

•Database / spreadsheet export- Script/program convert

•Pull existing Linked Data from sites- URI matching

- Linksets

Conversion

Thursday, 20 October 11

Page 78: Linked data under the hood

•Database / spreadsheet export- Script/program convert

•Pull existing Linked Data from sites- URI matching

- Linksets

•Google Refine

Conversion

Thursday, 20 October 11

Page 79: Linked data under the hood

•Database / spreadsheet export- Script/program convert

•Pull existing Linked Data from sites- URI matching

- Linksets

•Google Refine- Facet analysis

Conversion

Thursday, 20 October 11

Page 80: Linked data under the hood

•Database / spreadsheet export- Script/program convert

•Pull existing Linked Data from sites- URI matching

- Linksets

•Google Refine- Facet analysis

- Reconciliation API

Conversion

Thursday, 20 October 11

Page 81: Linked data under the hood

What does my data look like

now?

Thursday, 20 October 11

Page 82: Linked data under the hood

RDF Flavours

16 July 1969⤵date

⤵../launch:1969-059

Cape Canaveral

Thursday, 20 October 11

Page 83: Linked data under the hood

•RDF/XML

RDF Flavours

16 July 1969⤵date

⤵../launch:1969-059

Cape Canaveral

Thursday, 20 October 11

Page 84: Linked data under the hood

•RDF/XMLMachine to machine

RDF Flavours

16 July 1969⤵date

⤵../launch:1969-059

Cape Canaveral

Thursday, 20 October 11

Page 85: Linked data under the hood

•RDF/XML

•N-TriplesMachine to machine

RDF Flavours

16 July 1969⤵date

⤵../launch:1969-059

Cape Canaveral

Thursday, 20 October 11

Page 86: Linked data under the hood

•RDF/XML

•N-TriplesMachine to machine

Processing

RDF Flavours

16 July 1969⤵date

⤵../launch:1969-059

Cape Canaveral

Thursday, 20 October 11

Page 87: Linked data under the hood

•RDF/XML

•N-Triples

•Turtle

Machine to machine

Processing

RDF Flavours

16 July 1969⤵date

⤵../launch:1969-059

Cape Canaveral

Thursday, 20 October 11

Page 88: Linked data under the hood

•RDF/XML

•N-Triples

•Turtle

Machine to machine

Processing

Human readable

RDF Flavours

16 July 1969⤵date

⤵../launch:1969-059

Cape Canaveral

Thursday, 20 October 11

Page 89: Linked data under the hood

•RDF/XML

•N-Triples

•Turtle

•RDFa

Machine to machine

Processing

Human readable

RDF Flavours

16 July 1969⤵date

⤵../launch:1969-059

Cape Canaveral

Thursday, 20 October 11

Page 90: Linked data under the hood

•RDF/XML

•N-Triples

•Turtle

•RDFa

Machine to machine

Processing

Human readable

Html embedded

RDF Flavours

16 July 1969⤵date

⤵../launch:1969-059

Cape Canaveral

Thursday, 20 October 11

Page 91: Linked data under the hood

•RDF/XML

•N-Triples

•Turtle

•RDFa

Machine to machine

Processing

Human readable

Html embedded

All valid RDF

RDF Flavours

16 July 1969⤵date

⤵../launch:1969-059

Cape Canaveral

Thursday, 20 October 11

Page 92: Linked data under the hood

Simple Process

Model

Nam

e

Describ

e

Convert

Thursday, 20 October 11

Page 93: Linked data under the hood

Simple Process

Model

Nam

e

Describ

e

Convert

Publish

Thursday, 20 October 11

Page 94: Linked data under the hood

Put it on a web server

http://www.flickr.com/photos/traftery/4773457853

Thursday, 20 October 11

Page 95: Linked data under the hood

SPARQL

Thursday, 20 October 11

Page 96: Linked data under the hood

SPARQL RDF Query LanguageSPARQL

Thursday, 20 October 11

Page 97: Linked data under the hood

SPARQL RDF Query Language

•Triple pattern matching

SPARQL

Thursday, 20 October 11

Page 98: Linked data under the hood

SPARQL RDF Query Language

•Triple pattern matching

SPARQL

16 July 1969⤵date

⤵../launch:1969-059

Cape Canaveral

Thursday, 20 October 11

Page 99: Linked data under the hood

SPARQL RDF Query Language

•Triple pattern matching

- uses Turtle

SPARQL

16 July 1969⤵date

⤵../launch:1969-059

Cape Canaveral

Thursday, 20 October 11

Page 100: Linked data under the hood

SPARQL RDF Query Language

•Triple pattern matching

- uses Turtle

SPARQL

Thursday, 20 October 11

Page 101: Linked data under the hood

SPARQL RDF Query Language

•Triple pattern matching

- uses Turtle

•Requires a SPARQL-endpoint

SPARQL

Thursday, 20 October 11

Page 102: Linked data under the hood

SPARQL RDF Query Language

•Triple pattern matching

- uses Turtle

•Requires a SPARQL-endpoint

•Backed by a Triple Store

SPARQL

Thursday, 20 October 11

Page 103: Linked data under the hood

SPARQL RDF Query Language

•Triple pattern matching

- uses Turtle

•Requires a SPARQL-endpoint

•Backed by a Triple Store

- Local hosted

SPARQL

Thursday, 20 October 11

Page 104: Linked data under the hood

SPARQL RDF Query Language

•Triple pattern matching

- uses Turtle

•Requires a SPARQL-endpoint

•Backed by a Triple Store

- Local hosted

- Hosted

SPARQL

Thursday, 20 October 11

Page 105: Linked data under the hood

SPARQL RDF Query Language

•Triple pattern matching

- uses Turtle

•Requires a SPARQL-endpoint

•Backed by a Triple Store

- Local hosted

- Hosted

- Managed Service - Talis

SPARQL

Thursday, 20 October 11

Page 106: Linked data under the hood

eh?

Thursday, 20 October 11

Page 107: Linked data under the hood

Linked Data Views

Thursday, 20 October 11

Page 108: Linked data under the hood

Alternative views of your dataLinked Data Views

Thursday, 20 October 11

Page 109: Linked data under the hood

Alternative views of your data

•Linked Data API

Linked Data Views

Thursday, 20 October 11

Page 110: Linked data under the hood

Alternative views of your data

•Linked Data API- Puelia

Linked Data Views

Thursday, 20 October 11

Page 111: Linked data under the hood

Alternative views of your data

•Linked Data API- Puelia

- Elda

Linked Data Views

Thursday, 20 October 11

Page 112: Linked data under the hood

Alternative views of your data

•Linked Data API- Puelia

- Elda

•Bespoke Views

Linked Data Views

Thursday, 20 October 11

Page 113: Linked data under the hood

Alternative views of your data

•Linked Data API- Puelia

- Elda

•Bespoke Views- Hand crafted webpages

Linked Data Views

Thursday, 20 October 11

Page 114: Linked data under the hood

Alternative views of your data

•Linked Data API- Puelia

- Elda

•Bespoke Views- Hand crafted webpages

•Backed by a Triple Store

Linked Data Views

Thursday, 20 October 11

Page 115: Linked data under the hood

Alternative views of your data

•Linked Data API- Puelia

- Elda

•Bespoke Views- Hand crafted webpages

•Backed by a Triple Store- Local hosted

Linked Data Views

Thursday, 20 October 11

Page 116: Linked data under the hood

Alternative views of your data

•Linked Data API- Puelia

- Elda

•Bespoke Views- Hand crafted webpages

•Backed by a Triple Store- Local hosted

- Hosted

Linked Data Views

Thursday, 20 October 11

Page 117: Linked data under the hood

Alternative views of your data

•Linked Data API- Puelia

- Elda

•Bespoke Views- Hand crafted webpages

•Backed by a Triple Store- Local hosted

- Hosted

- Managed Service - Talis

Linked Data Views

Thursday, 20 October 11

Page 118: Linked data under the hood

Thursday, 20 October 11

Page 119: Linked data under the hood

Thursday, 20 October 11

Page 120: Linked data under the hood

Thursday, 20 October 11

Page 121: Linked data under the hood

Links

Thursday, 20 October 11

Page 122: Linked data under the hood

Follow your noseLinks

Thursday, 20 October 11

Page 123: Linked data under the hood

Thursday, 20 October 11

Page 124: Linked data under the hood

Follow your noseLinks

Thursday, 20 October 11

Page 125: Linked data under the hood

Thursday, 20 October 11

Page 126: Linked data under the hood

Thursday, 20 October 11

Page 127: Linked data under the hood

Is RDF the only way to do Linked

Data?

Thursday, 20 October 11

Page 128: Linked data under the hood

Thursday, 20 October 11

Page 129: Linked data under the hood

Web Standards

Thursday, 20 October 11

Page 130: Linked data under the hood

But I just want to let people use

my data.

Thursday, 20 October 11

Page 131: Linked data under the hood

http://www.flickr.com/photos/jwilde/3499946512

Thursday, 20 October 11

Page 132: Linked data under the hood

http://www.flickr.com/photos/jwilde/3499946512

Accessing your Data

Thursday, 20 October 11

Page 133: Linked data under the hood

http://www.flickr.com/photos/jwilde/3499946512

Accessing your Data

Data API

Thursday, 20 October 11

Page 134: Linked data under the hood

http://www.flickr.com/photos/jwilde/3499946512

Accessing your Data

Data API}All have APIs

Thursday, 20 October 11

Page 135: Linked data under the hood

http://www.flickr.com/photos/jwilde/3499946512

Accessing your Data

Data API}All have APIs

All different!

Thursday, 20 October 11

Page 136: Linked data under the hood

Summary

Model

Nam

e

Describ

e

Convert

Publish

SPARQL

trip

le

RDFontologypropertyid

entifie

r

urlresourceAPI

merg

ing

model

Thursday, 20 October 11

Page 137: Linked data under the hood

Summary

Model

Nam

e

Describ

e

Convert

Publish

SPARQL

triple

RDFontologyproperty

identifier

url resourceAPI

merging

model

Thursday, 20 October 11

Page 138: Linked data under the hood

http://www.flickr.com/photos/thienzieyung/5147954561

trip

leRDFURI

Thursday, 20 October 11

Page 139: Linked data under the hood

http://www.flickr.com/photos/thienzieyung/5147954561

triple

RDF

URI

Thursday, 20 October 11

Page 140: Linked data under the hood

Thursday, 20 October 11

Page 141: Linked data under the hood

http://consulting.talis.com

Thursday, 20 October 11