Linked data tutorial 20111102

85
Linked Data Tutorial Open Government Knowledge: AI Opportunities and Challenges (OGK2011) AAAI Fall Symposium David Wood 3 Round Stones Inc. November 2011

Transcript of Linked data tutorial 20111102

Page 1: Linked data tutorial 20111102

Linked Data TutorialOpen Government Knowledge: AI Opportunities and Challenges (OGK2011)

AAAI Fall Symposium

David Wood3 Round Stones Inc.

November 2011

Page 2: Linked data tutorial 20111102

What isLinkedData?

Page 3: Linked data tutorial 20111102

1970s 1980s 1990s

$ cat foo.txt | grep blah | sort

A neat little package Client-Server The Early Web

Silos

Page 4: Linked data tutorial 20111102

Email Databases Proprietarycontainers

Silos

Page 5: Linked data tutorial 20111102

Web

Universal Client

Universal Connection

Universal File System

Ubiquitous,reusable applications

URL Curation

Page 6: Linked data tutorial 20111102

The Web of Documents• A global network of linked documents

• A place where anyone can say anything about anything

• A vast collection of human-readable knowledge (and opinion)

• Documents are linked, but links are not qualified

Page 7: Linked data tutorial 20111102

Data Inflation

Megabyte (MB) = 220

Gigabyte (GB) = 230

Terabyte (TB) = 240 1,000GB

Petabyte (PB) = 250 1,000TB

Exabyte (EB) = 260 or 1,000PB

Zettabyte (ZB) = 270 or 1,000EB

Yottabyte (YB) = 280 or1,000ZB

Page 8: Linked data tutorial 20111102
Page 9: Linked data tutorial 20111102

Web

Universal Client

Universal Connection

Universal Database

Logic and interlinking

Ubiquitous,reusable applications

URL Curation

of Data

Page 10: Linked data tutorial 20111102

The Web of Data• A global network of linked statements

• A place where anyone can say anything about anything

• A vast collection of machine-readable knowledge (and opinion)

• Statements are linked, and links are qualified

Page 11: Linked data tutorial 20111102
Page 12: Linked data tutorial 20111102
Page 13: Linked data tutorial 20111102

We’ve Seen This Before

Page 14: Linked data tutorial 20111102
Page 15: Linked data tutorial 20111102
Page 16: Linked data tutorial 20111102
Page 17: Linked data tutorial 20111102
Page 18: Linked data tutorial 20111102
Page 19: Linked data tutorial 20111102
Page 20: Linked data tutorial 20111102
Page 21: Linked data tutorial 20111102

RDF:A data format for

the Web

Page 22: Linked data tutorial 20111102

RDF is ...• Resource Description Framework

http://www.w3.org/RDF/

• A simple, powerful, data model

• Used to define relationships between things

• Designed to work with the architecture of the web

• The data model for the Web of Data

Page 23: Linked data tutorial 20111102

Allow anyoneto say anythingabout anything

Page 24: Linked data tutorial 20111102
Page 25: Linked data tutorial 20111102
Page 37: Linked data tutorial 20111102

Spacecraft Name Mass Launched Launch Site

1969-018A Apollo 9 26801.0 1969-03-03 1

1969-030A Mariner 7 411.8 1969-03-27 1

1969-043A Apollo 10 28834.0 1969-05-18 1

1969-059A Apollo 11 Command and Service Module (CSM) 28801.0 1969-07-16 1

1969-059C Apollo 11 Lunar Module / EASEP 15065.0 1969-07-16 1

1969-099A Apollo 12 Command and Service Module (CSM) 28790.0 1969-11-14 1

1970-029C Apollo 13 Lunar Module/ALSEP 15196.0 1970-04-11 1

1970-029A Apollo 13 Command and Service Module (CSM) 28945.0 1970-04-11 1

Page 38: Linked data tutorial 20111102

Spacecraft Name Mass Launched Launch Site

1969-018A Apollo 9 26801.0 1969-03-03 1

1969-030A Mariner 7 411.8 1969-03-27 1

1969-043A Apollo 10 28834.0 1969-05-18 1

1969-059A Apollo 11 Command and Service Module (CSM) 28801.0 1969-07-16 1

1969-059C Apollo 11 Lunar Module / EASEP 15065.0 1969-07-16 1

1969-099A Apollo 12 Command and Service Module (CSM) 28790.0 1969-11-14 1

1970-029C Apollo 13 Lunar Module/ALSEP 15196.0 1970-04-11 1

1970-029A Apollo 13 Command and Service Module (CSM) 28945.0 1970-04-11 1

Page 39: Linked data tutorial 20111102

Spacecraft Name Mass Launched Launch Site

1969-018A Apollo 9 26801.0 1969-03-03 1

1969-030A Mariner 7 411.8 1969-03-27 1

1969-043A Apollo 10 28834.0 1969-05-18 1

1969-059A Apollo 11 Command and Service Module (CSM) 28801.0 1969-07-16 1

1969-059C Apollo 11 Lunar Module / EASEP 15065.0 1969-07-16 1

1969-099A Apollo 12 Command and Service Module (CSM) 28790.0 1969-11-14 1

1970-029C Apollo 13 Lunar Module/ALSEP 15196.0 1970-04-11 1

1970-029A Apollo 13 Command and Service Module (CSM) 28945.0 1970-04-11 1

Page 40: Linked data tutorial 20111102

Spacecraft Name Mass Launched Launch Site

1969-018A Apollo 9 26801.0 1969-03-03 1

1969-030A Mariner 7 411.8 1969-03-27 1

1969-043A Apollo 10 28834.0 1969-05-18 1

1969-059A Apollo 11 Command and Service Module (CSM) 28801.0 1969-07-16 1

1969-059C Apollo 11 Lunar Module / EASEP 15065.0 1969-07-16 1

1969-099A Apollo 12 Command and Service Module (CSM) 28790.0 1969-11-14 1

1970-029C Apollo 13 Lunar Module/ALSEP 15196.0 1970-04-11 1

1970-029A Apollo 13 Command and Service Module (CSM) 28945.0 1970-04-11 1

Page 42: Linked data tutorial 20111102

Spacecraft Name Mass Launched Launch Site

1969-018A Apollo 9 26801.0 1969-03-03 1

1969-030A Mariner 7 411.8 1969-03-27 1

1969-043A Apollo 10 28834.0 1969-05-18 1

1969-059A Apollo 11 Command and Service Module (CSM) 28801.0 1969-07-16 1

1969-059C Apollo 11 Lunar Module / EASEP 15065.0 1969-07-16 1

1969-099A Apollo 12 Command and Service Module (CSM) 28790.0 1969-11-14 1

1970-029C Apollo 13 Lunar Module/ALSEP 15196.0 1970-04-11 1

1970-029A Apollo 13 Command and Service Module (CSM) 28945.0 1970-04-11 1

Page 43: Linked data tutorial 20111102

Spacecraft Name Mass Launched Launch Site

1969-018A Apollo 9 26801.0 1969-03-03 1

1969-030A Mariner 7 411.8 1969-03-27 1

1969-043A Apollo 10 28834.0 1969-05-18 1

1969-059A Apollo 11 Command and Service Module (CSM) 28801.0 1969-07-16 1

1969-059C Apollo 11 Lunar Module / EASEP 15065.0 1969-07-16 1

1969-099A Apollo 12 Command and Service Module (CSM) 28790.0 1969-11-14 1

1970-029C Apollo 13 Lunar Module/ALSEP 15196.0 1970-04-11 1

1970-029A Apollo 13 Command and Service Module (CSM) 28945.0 1970-04-11 1

ID Name

1 Cape Canaveral, United States

2 Tyuratam (Baikonur Cosmodrome), U.S.S.R

3 Xichang Space Launch Center

Page 44: Linked data tutorial 20111102

Spacecraft Name Mass Launched Launch Site

1969-018A Apollo 9 26801.0 1969-03-03 1

1969-030A Mariner 7 411.8 1969-03-27 1

1969-043A Apollo 10 28834.0 1969-05-18 1

1969-059A Apollo 11 Command and Service Module (CSM) 28801.0 1969-07-16 1

1969-059C Apollo 11 Lunar Module / EASEP 15065.0 1969-07-16 1

1969-099A Apollo 12 Command and Service Module (CSM) 28790.0 1969-11-14 1

1970-029C Apollo 13 Lunar Module/ALSEP 15196.0 1970-04-11 1

1970-029A Apollo 13 Command and Service Module (CSM) 28945.0 1970-04-11 1

ID Name

1 Cape Canaveral, United States

2 Tyuratam (Baikonur Cosmodrome), U.S.S.R

3 Xichang Space Launch Center

Page 51: Linked data tutorial 20111102

Resources...• Represent things on the web, like web

pages — Information Resources

• Represent things not on the web, like people and places — Non-Information Resources

• Can represent anything at all

• Named using URIs (usually)

• May not have a name — Blank Nodes

Page 52: Linked data tutorial 20111102

Literal Values...• Are values to work with and show

users

• Can be just a string of text — Plain Literals

• Can have a language assigned to the them using ISO codes

• Can have a specific datatype assigned to them — Typed Literals

Page 53: Linked data tutorial 20111102

Predicates are...• Relationships between Resources

• Named using URIs

• Described in Schema(or vocabularies, or ontologies)

Page 55: Linked data tutorial 20111102

Apollo 11 Command and Service Module Cape Canaveral Cape Canaveral,

United States namelaunchsite

Statement or Triple

Page 56: Linked data tutorial 20111102

Apollo 11 Command and Service Module Cape Canaveral Cape Canaveral,

United States namelaunchsite

Subject Predicate Object

Statement or Triple

Page 57: Linked data tutorial 20111102

Apollo 11 Command and Service Module Cape Canaveral Cape Canaveral,

United States namelaunchsite

Subject Predicate Object

Statement or Triple

Statement or Triple

Page 58: Linked data tutorial 20111102

Apollo 11 Command and Service Module Cape Canaveral Cape Canaveral,

United States namelaunchsite

Subject Predicate Object

Statement or Triple

Statement or Triple

Subject Predicate Object

Page 65: Linked data tutorial 20111102

Simple Rules for Merging• URIs name the resources we are

describing

• Two people using the same URI are describing the same thing

• The same URI in two datasets becomes one URI with all of the properties from both datasets

• RDF data can use URIs from many different websites

Page 66: Linked data tutorial 20111102

Simple Rules for Merging• Graphs from several different sources

can be merged

• Resources with the same URI are considered identical

• No limitations on which graphs can be merged

Page 67: Linked data tutorial 20111102

Linked Data can be merged with

other Linked Data

Page 68: Linked data tutorial 20111102

No silos

Page 69: Linked data tutorial 20111102

RDF...• is a Graph data model

XML is a tree data modelRDBMS is a table data model

• can be easily distributed

• is easily mergeable

• can say anything about anything

• is not newthe spec is from 1999the idea, EAV, stems back to the late 1960s

Page 70: Linked data tutorial 20111102

The Future ofLinked Data

Page 71: Linked data tutorial 20111102
Page 72: Linked data tutorial 20111102

YouTube HDTV

watch videos watch Better videos

Publish videos

Share videos

Rate videos

Discuss videos

Page 73: Linked data tutorial 20111102

Linked Data RDBMS

Use data Use data

Publish data

Share data

Rate data

Discuss data

Page 74: Linked data tutorial 20111102
Page 75: Linked data tutorial 20111102
Page 76: Linked data tutorial 20111102

Linked Data warehouses Linked Data supply chains Linked Data analytics

Coming Soon

Page 77: Linked data tutorial 20111102
Page 78: Linked data tutorial 20111102
Page 79: Linked data tutorial 20111102
Page 81: Linked data tutorial 20111102

Callimachuscallimachusproject.org

Page 82: Linked data tutorial 20111102

CreditsBatman Treaty Signing

(public domain)http://upload.wikimedia.org/wikipedia/commons/d/dc/Batman_signs_treaty_artist_impression.jpg)

Centro Universitario de Ciencias Exactas e Ingenierías, Universidad de Guadalajara

(public domain)

http://proton.ucting.udg.mx/galeria/3D/WEB.jpg

Spreadsheet PhotoCasey Serin

(CC-BY licensed)http://www.flickr.com/photos/sercasey/351617208/sizes/l/in/photostream/

LOD Cloud DiagramsRichard Cyganiak, Anja Jentzsch, (CC-BY-SA)

http://lod-cloud.net/

Earth weather analysis imageNASA Goddard SFC

CC-BYhttp://www.flickr.com/photos/gsfc/4662884851/

Darkon Movie Poster, BBC screenshots, CAMC credit card image and book covers © their respective ownersand used under Fair Use for educational purposes

Darkon Movie Poster, BBC screenshots, CAMC credit card image and book covers © their respective ownersand used under Fair Use for educational purposes

All other photos and drawings © 2010-11 David Wood, released under a CC-BY-SA licenseAll other photos and drawings © 2010-11 David Wood, released under a CC-BY-SA license

Page 83: Linked data tutorial 20111102

CreditsHead with 3D Glasses

Mark Chapman(CC-BY licensed)

http://www.flickr.com/photos/markchapmanphoto/5139429152/

Chasm PhotoTravis S.

(CC-BY-NC licensed)http://www.flickr.com/photos/baggis/3860802929/

Supply Chain ImageKevin Krejci

(CC-BY licensed)http://www.flickr.com/photos/kevinkrejci/6141829763/

Sharing Squirrels Imageleezie5

CC-BY-NC-ND licensed)http://www.flickr.com/photos/leeziet/5912219625/

Page 84: Linked data tutorial 20111102

Thanks to

• Rob Styles, Talis Group Ltd for his CC-BY licensed “Two Day Introduction to the Web of Data” slides and spacecraft example data.

Page 85: Linked data tutorial 20111102

This work is Copyright © 2011 3 Round Stones Inc.It is licensed under the Creative Commons Attribution 3.0 Unported LicenseFull details at: http://creativecommons.org/licenses/by/3.0/

You are free:

to Share — to copy, distribute and transmit the work

to Remix — to adapt the work

Under the following conditions:Attribution. You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).

Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.