KEMBAR78
Intro to Linked Data: Context | PDF
An
                        Introduction
                                  to
                         Linked Data




          Part 1 of 5              David Hyland-Wood
  Linked Data Context   University of Mary Washington

Monday, May 16, 2011
Agenda

                       • Setting the scene

                       • What is Linked Data?

                       • RDF - A data format for the Web

                       • Data modeling without context

                       • URIs - Naming Things on the Web




Monday, May 16, 2011
Agenda
                       • Turtle - Human-readable RDF

                       • RDF/XML - RDF for XML pipelines

                       • Other RDF formats: RDFa, N3

                       • RDF Schema - Describing structure




Monday, May 16, 2011
Agenda

                       • Converting existing data into RDF

                       • Linked Open Data on the Web

                       • SPARQL - A query language for RDF

                       • Linked Data publishing options

                       • Building Linked Data applications




Monday, May 16, 2011
Reading




                           http://linkeddatabook.com/editions/1.0/

                       http://3roundstones.com/linking-enterprise-data/



Monday, May 16, 2011
Final Project
                       • Collect/convert/publish data about
                         Fredericksburg

                        •   UMW, restaurants, Liberty Town,
                          parks/rec, music/bands, etc, etc.

                        •   Whatever you want.

                       • Together, we will build one or more
                         applications using that data.



Monday, May 16, 2011
Grades



                       • Grades will be based on class
                         participation and completion of the
                         final project.




Monday, May 16, 2011
A Process



           Identify    Model   Name   Describe   Convert   Publish




Monday, May 16, 2011
A Process



           Identify    Model   Name    Describe   Convert   Publish




                                      Maintain




Monday, May 16, 2011
Setting
                         the
                        Scene
Monday, May 16, 2011
Monday, May 16, 2011
shared innovation™




                       A HISTORY OF SILOS




                                  $ cat foo.txt
                                  | grep blah |
                                  sort




                            1970s                  1980s           1990s
                       A neat little package      Client-Server   The Early Web



Monday, May 16, 2011
shared innovation™




                              Universal Client                 Ubiquitous,
                                                           reusable applications



                                                           URL Curation


                       Universal Connection                      Logic and interlinking


                                                  Web
                                                 of Data
                        Universal Database




Monday, May 16, 2011
Access per 100 population worldwide
           80

           70              Mobile cellular subscriptions
           60              Fixed telephone lines
                           Internet users
           50

           40

           30

           20

           10

              0
                  1990   1992   1994   1996   1998   2000   2002   2004   2006   2008
Monday, May 16, 2011
Monday, May 16, 2011
Monday, May 16, 2011
Monday, May 16, 2011
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


Monday, May 16, 2011
Monday, May 16, 2011
Monday, May 16, 2011
March of the Machines

                 “Information created by machines and used by
                 other machines will probably grow faster than
                                anything else...

                       Only 5% of the information that is created is
                        structured but this is changing as content
                             on the Web is increasing tagged.”

                         - Roger Bohn of University of California, San Diego
                                  Study on American Households



Monday, May 16, 2011
Monday, May 16, 2011
Monday, May 16, 2011
Monday, May 16, 2011
The painter... does not fit the paints to the world.
              He fits himself to the paint.
                       -- Paul Klee




Monday, May 16, 2011
Monday, May 16, 2011
Acceptable ROI for IT
                                      4%   17%
                                13%




                          16%



                                                 6 months
                                           49%   12 months
                                                 18 months
                                                 24 months
                                                 More than 24 months

Monday, May 16, 2011
What is
                       Linked
                        Data?
Monday, May 16, 2011
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




Monday, May 16, 2011
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




Monday, May 16, 2011
Monday, May 16, 2011
Monday, May 16, 2011
Monday, May 16, 2011
Monday, May 16, 2011
Monday, May 16, 2011
Monday, May 16, 2011
Monday, May 16, 2011
The Web of Data
                   • Modeled for re-use using simple
                       statements
                   • Named using HTTP URIs for things and
                       for documents
                   • Described using simple schema which
                       can be remixed and extended
                   • Data published on the web in RDF



Monday, May 16, 2011
The Web of Data
                   • Governments
                       http://data.gov/, http://data.gov.uk/ and others


                   • The BBC
                       http://www.bbc.co.uk/programmes/developers


                   • The New York Times
                       http://data.nytimes.com/


                   • The Library of Congress
                       http://id.loc.gov/


                   • Facebook
                       http://developers.facebook.com/docs/opengraph
                       http://opengraphprotocol.org/



Monday, May 16, 2011
RDF:
                   A data format for
                        the Web
Monday, May 16, 2011
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


Monday, May 16, 2011
Allow  anyone
                       to say anything
                       about anything



Monday, May 16, 2011
Monday, May 16, 2011
Monday, May 16, 2011
http://nssdc.gsfc.nasa.gov/
                       nmc/spacecraftDisplay.do?
                               id=1969-059A




Monday, May 16, 2011
http://nssdc.gsfc.nasa.gov/
                       nmc/spacecraftDisplay.do?
                               id=1969-059A




                                                     NASA - NSSDC - Spacecraft - Details
                                       title




Monday, May 16, 2011
http://nssdc.gsfc.nasa.gov/
                       nmc/spacecraftDisplay.do?
                               id=1969-059A




                                                     NASA - NSSDC - Spacecraft - Details
                                       title




                                                             23 November 2009
                              published




Monday, May 16, 2011
http://nssdc.gsfc.nasa.gov/
                       nmc/spacecraftDisplay.do?
                               id=1969-059A




                                                     NASA - NSSDC - Spacecraft - Details
                                       title




                                                             23 November 2009
                              published




                                size
                                                                   15702




Monday, May 16, 2011
http://nssdc.gsfc.nasa.gov/
                                                                                           Apollo 11 Command and
                       nmc/spacecraftDisplay.do?
                                                                                               Service Module
                               id=1969-059A




                                                     NASA - NSSDC - Spacecraft - Details
                                       title




                                                             23 November 2009
                              published




                                size
                                                                   15702




Monday, May 16, 2011
http://nssdc.gsfc.nasa.gov/                                    about   Apollo 11 Command and
                       nmc/spacecraftDisplay.do?
                                                                                                  Service Module
                               id=1969-059A




                                                     NASA - NSSDC - Spacecraft - Details
                                       title




                                                             23 November 2009
                              published




                                size
                                                                   15702




Monday, May 16, 2011
http://nssdc.gsfc.nasa.gov/                                    about   Apollo 11 Command and
                       nmc/spacecraftDisplay.do?
                                                                                                  Service Module
                               id=1969-059A




                                                     NASA - NSSDC - Spacecraft - Details
                                       title




                                                             23 November 2009
                              published




                                size
                                                                   15702




                               a
                                                            Web Page




Monday, May 16, 2011
http://nssdc.gsfc.nasa.gov/                                    about   Apollo 11 Command and
                       nmc/spacecraftDisplay.do?
                                                                                                  Service Module
                               id=1969-059A




                                                     NASA - NSSDC - Spacecraft - Details
                                       title




                                                             23 November 2009
                              published




                                size
                                                                   15702




                               a                                                                    a
                                                            Web Page                                                  Spacecraft




Monday, May 16, 2011
http://nssdc.gsfc.nasa.gov/                                    about   Apollo 11 Command and
                       nmc/spacecraftDisplay.do?
                                                                                                  Service Module
                               id=1969-059A




                                                                                                        name
                                                     NASA - NSSDC - Spacecraft - Details                          Apollo 11 Command and Service Module
                                       title




                                                             23 November 2009
                              published




                                size
                                                                   15702




                               a                                                                    a
                                                            Web Page                                                     Spacecraft




Monday, May 16, 2011
http://nssdc.gsfc.nasa.gov/                                    about   Apollo 11 Command and
                       nmc/spacecraftDisplay.do?
                                                                                                  Service Module
                               id=1969-059A




                                                                                                        name
                                                     NASA - NSSDC - Spacecraft - Details                          Apollo 11 Command and Service Module
                                       title




                                                                                                 launched
                                                             23 November 2009                                                 16 July 1969
                              published




                                size
                                                                   15702




                               a                                                                    a
                                                            Web Page                                                     Spacecraft




Monday, May 16, 2011
http://nssdc.gsfc.nasa.gov/                                    about   Apollo 11 Command and
                       nmc/spacecraftDisplay.do?
                                                                                                  Service Module
                               id=1969-059A




                                                                                                        name
                                                     NASA - NSSDC - Spacecraft - Details                          Apollo 11 Command and Service Module
                                       title




                                                                                                 launched
                                                             23 November 2009                                                 16 July 1969
                              published




                                size                                                               mass
                                                                   15702                                                        28801.0




                               a                                                                    a
                                                            Web Page                                                     Spacecraft




Monday, May 16, 2011
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




Monday, May 16, 2011
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




Monday, May 16, 2011
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




Monday, May 16, 2011
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




Monday, May 16, 2011
http://nssdc.gsfc.nasa.gov/                                    about   Apollo 11 Command and
                       nmc/spacecraftDisplay.do?
                                                                                                  Service Module
                               id=1969-059A




                                                                                                        name
                                                     NASA - NSSDC - Spacecraft - Details                          Apollo 11 Command and Service Module
                                        title




                                                                                                 launched
                                                             23 November 2009                                                 16 July 1969
                               published



                                size                                                               mass
                                                                   15702                                                        28801.0




                               a                                                                    a
                                                            Web Page                                                     Spacecraft




Monday, May 16, 2011
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




Monday, May 16, 2011
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
                                                                    ID                         Name
                 1969-059A   Apollo 11 Command and Service Module (CSM)   28801.0          1969-07-16               1
                                                                    1               Cape Canaveral, United States
                 1969-059C         Apollo 11 Lunar Module / EASEP         15065.0          1969-07-16               1
                                                                    2       Tyuratam (Baikonur Cosmodrome), U.S.S.R
                 1969-099A   Apollo 12 Command and Service Module (CSM)   28790.0          1969-11-14               1
                                                                    3               Xichang Space Launch Center
                 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




Monday, May 16, 2011
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
                                                                    ID                         Name
                 1969-059A   Apollo 11 Command and Service Module (CSM)   28801.0          1969-07-16               1
                                                                    1               Cape Canaveral, United States
                 1969-059C         Apollo 11 Lunar Module / EASEP         15065.0          1969-07-16               1
                                                                    2       Tyuratam (Baikonur Cosmodrome), U.S.S.R
                 1969-099A   Apollo 12 Command and Service Module (CSM)   28790.0          1969-11-14               1
                                                                    3               Xichang Space Launch Center
                 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




Monday, May 16, 2011
http://nssdc.gsfc.nasa.gov/                                    about   Apollo 11 Command and
                       nmc/spacecraftDisplay.do?
                                                                                                  Service Module
                               id=1969-059A




                                                                                                        name
                                                     NASA - NSSDC - Spacecraft - Details                          Apollo 11 Command and Service Module
                                        title




                                                                                                 launched
                                                             23 November 2009                                                 16 July 1969
                               published



                                size                                                               mass
                                                                   15702                                                        28801.0




                               a                                                                    a
                                                            Web Page                                                     Spacecraft




Monday, May 16, 2011
Apollo 11 Command and
                           Service Module




                                 name
                                           Apollo 11 Command and Service Module




                          launched
                                                       16 July 1969




                          mass
                                                         28801.0




                             a
                                                  Spacecraft




Monday, May 16, 2011
Apollo 11 Command and                              launchsite
                                                                                       Cape Canaveral
                           Service Module




                                 name                                                      name
                                           Apollo 11 Command and Service Module                         Cape Canaveral, United States




                          launched
                                                       16 July 1969




                          mass
                                                         28801.0




                             a
                                                  Spacecraft




Monday, May 16, 2011
Resource


                       Apollo 11 Command and                              launchsite
                                                                                       Cape Canaveral
                           Service Module




                                 name                                                      name
                                           Apollo 11 Command and Service Module                         Cape Canaveral, United States




                          launched
                                                       16 July 1969




                          mass
                                                         28801.0




                             a
                                                  Spacecraft




Monday, May 16, 2011
Resource


                       Apollo 11 Command and                              launchsite
                                                                                                 Cape Canaveral
                           Service Module




                                 name                                                                name
                                           Apollo 11 Command and Service Module                                   Cape Canaveral, United States




                          launched
                                                       16 July 1969

                                                                                       Literal

                          mass
                                                         28801.0




                             a
                                                  Spacecraft




Monday, May 16, 2011
Resource


                       Apollo 11 Command and                              launchsite
                                                                                                 Cape Canaveral
                           Service Module




                                 name                                                                name
                                           Apollo 11 Command and Service Module                                   Cape Canaveral, United States




                          launched
                                                       16 July 1969

                                                                                       Literal
                                         Predicate
                          mass
                                                         28801.0




                             a
                                                  Spacecraft




Monday, May 16, 2011
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

Monday, May 16, 2011
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


Monday, May 16, 2011
Predicates are...
                   • Relationships between Resources
                   • Named using URIs
                   • Described in Schema
                       (or vocabularies, or ontologies)




Monday, May 16, 2011
Apollo 11 Command and   launchsite                    name      Cape Canaveral,
                                                   Cape Canaveral
                  Service Module                                               United States




                                                            Statement or Triple



Monday, May 16, 2011
Apollo 11 Command and   launchsite                    name      Cape Canaveral,
                                                   Cape Canaveral
                  Service Module                                               United States




                                                            Statement or Triple



Monday, May 16, 2011
Subject                         Predicate           Object

              Apollo 11 Command and     launchsite                    name      Cape Canaveral,
                                                     Cape Canaveral
                  Service Module                                                 United States




                                                              Statement or Triple



Monday, May 16, 2011
Statement or Triple

      Subject                         Predicate           Object

              Apollo 11 Command and     launchsite                    name      Cape Canaveral,
                                                     Cape Canaveral
                  Service Module                                                 United States




                                                              Statement or Triple



Monday, May 16, 2011
Statement or Triple

      Subject                         Predicate              Object

              Apollo 11 Command and     launchsite                          name     Cape Canaveral,
                                                        Cape Canaveral
                  Service Module                                                      United States




                                                     Subject             Predicate         Object

                                                                 Statement or Triple



Monday, May 16, 2011
Resource


                       Apollo 11 Command and                              launchsite
                                                                                                 Cape Canaveral
                           Service Module




                                 name                                                                name
                                           Apollo 11 Command and Service Module                                   Cape Canaveral, United States




                          launched
                                                       16 July 1969

                                                                                       Literal
                                         Predicate
                          mass
                                                         28801.0




                             a
                                                  Spacecraft




Monday, May 16, 2011
Apollo 11 Command and                              launchsite
                                                                                       Cape Canaveral
                           Service Module




                                 name                                                      name
                                           Apollo 11 Command and Service Module                         Cape Canaveral, United States




                          launched
                                                       16 July 1969




                          mass
                                                         28801.0




                             a
                                                  Spacecraft




Monday, May 16, 2011
http://...
                       Apollo 11 Command and                              launchsite      http://...
                                                                                         Cape Canaveral
                           Service Module
                        /1969-059A                                                     /cape+cana...



                                 name                                                        name
                                           Apollo 11 Command and Service Module                           Cape Canaveral, United States




                          launched
                                                       16 July 1969




                          mass
                                                         28801.0




                             a                   http://...
                                                  Spacecraft
                                               /Spacecraft




Monday, May 16, 2011
http://...
                       Apollo 11 Command and                              launchsite      http://...
                                                                                         Cape Canaveral
                           Service Module
                        /1969-059A                                                     /cape+cana...



                                 name                                                        name
                                           Apollo 11 Command and Service Module                                 Cape Canaveral, United States




                          launched
                                                       16 July 1969




                          mass
                                                         28801.0




                             a                   http://...
                                                  Spacecraft                                              latitude
                                               /Spacecraft                                                                           N 28° 27' 31''




                                                                                                          longitude
                                                                                                                                    W 80° 31' 59''




Monday, May 16, 2011
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

Monday, May 16, 2011
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




Monday, May 16, 2011
Any RDF can be
                       merged with any
                         other RDF

Monday, May 16, 2011
RDF...
                   • is a Graph data model
                       XML is a tree data model
                       RDBMS is a table data model

                   •   can be easily distributed
                   •   is easily mergeable
                   •   can say anything about anything
                   •   is not new
                       the spec is from 1999
                       the idea, EAV, stems back to the late 1960s




Monday, May 16, 2011
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.




Monday, May 16, 2011
This work is Copyright © 2010 David Hyland-Wood
                       Based partially on CC-BY licensed content Copyright © 2010 Talis Systems Limited by Rob Styles.
                       It is licensed under the Creative Commons Attribution 3.0 Unported License.
                       Full 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).



                       •   For any reuse or distribution, you must make clear to others the license terms of this work.
                       •   Any of the above conditions can be waived if you get permission from the copyright holder.
                       •   Nothing in this license impairs or restricts the author's moral rights.
                       •   Some Content in the work may be licensed under different terms, this is noted separately.




Monday, May 16, 2011

Intro to Linked Data: Context

  • 1.
    An Introduction to Linked Data Part 1 of 5 David Hyland-Wood Linked Data Context University of Mary Washington Monday, May 16, 2011
  • 2.
    Agenda • Setting the scene • What is Linked Data? • RDF - A data format for the Web • Data modeling without context • URIs - Naming Things on the Web Monday, May 16, 2011
  • 3.
    Agenda • Turtle - Human-readable RDF • RDF/XML - RDF for XML pipelines • Other RDF formats: RDFa, N3 • RDF Schema - Describing structure Monday, May 16, 2011
  • 4.
    Agenda • Converting existing data into RDF • Linked Open Data on the Web • SPARQL - A query language for RDF • Linked Data publishing options • Building Linked Data applications Monday, May 16, 2011
  • 5.
    Reading http://linkeddatabook.com/editions/1.0/ http://3roundstones.com/linking-enterprise-data/ Monday, May 16, 2011
  • 6.
    Final Project • Collect/convert/publish data about Fredericksburg •   UMW, restaurants, Liberty Town, parks/rec, music/bands, etc, etc. •   Whatever you want. • Together, we will build one or more applications using that data. Monday, May 16, 2011
  • 7.
    Grades • Grades will be based on class participation and completion of the final project. Monday, May 16, 2011
  • 8.
    A Process Identify Model Name Describe Convert Publish Monday, May 16, 2011
  • 9.
    A Process Identify Model Name Describe Convert Publish Maintain Monday, May 16, 2011
  • 10.
    Setting the Scene Monday, May 16, 2011
  • 11.
  • 12.
    shared innovation™ A HISTORY OF SILOS $ cat foo.txt | grep blah | sort 1970s 1980s 1990s A neat little package Client-Server The Early Web Monday, May 16, 2011
  • 13.
    shared innovation™ Universal Client Ubiquitous, reusable applications URL Curation Universal Connection Logic and interlinking Web of Data Universal Database Monday, May 16, 2011
  • 14.
    Access per 100population worldwide 80 70 Mobile cellular subscriptions 60 Fixed telephone lines Internet users 50 40 30 20 10 0 1990 1992 1994 1996 1998 2000 2002 2004 2006 2008 Monday, May 16, 2011
  • 15.
  • 16.
  • 17.
  • 18.
    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 Monday, May 16, 2011
  • 19.
  • 20.
  • 21.
    March of theMachines “Information created by machines and used by other machines will probably grow faster than anything else... Only 5% of the information that is created is structured but this is changing as content on the Web is increasing tagged.” - Roger Bohn of University of California, San Diego Study on American Households Monday, May 16, 2011
  • 22.
  • 23.
  • 24.
  • 25.
    The painter... doesnot fit the paints to the world. He fits himself to the paint. -- Paul Klee Monday, May 16, 2011
  • 26.
  • 27.
    Acceptable ROI forIT 4% 17% 13% 16% 6 months 49% 12 months 18 months 24 months More than 24 months Monday, May 16, 2011
  • 28.
    What is Linked Data? Monday, May 16, 2011
  • 29.
    The Web ofDocuments • 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 Monday, May 16, 2011
  • 30.
    The Web ofData • 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 Monday, May 16, 2011
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
    The Web ofData • Modeled for re-use using simple statements • Named using HTTP URIs for things and for documents • Described using simple schema which can be remixed and extended • Data published on the web in RDF Monday, May 16, 2011
  • 39.
    The Web ofData • Governments http://data.gov/, http://data.gov.uk/ and others • The BBC http://www.bbc.co.uk/programmes/developers • The New York Times http://data.nytimes.com/ • The Library of Congress http://id.loc.gov/ • Facebook http://developers.facebook.com/docs/opengraph http://opengraphprotocol.org/ Monday, May 16, 2011
  • 40.
    RDF: A data format for the Web Monday, May 16, 2011
  • 41.
    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 Monday, May 16, 2011
  • 42.
    Allow anyone to say anything about anything Monday, May 16, 2011
  • 43.
  • 44.
  • 45.
    http://nssdc.gsfc.nasa.gov/ nmc/spacecraftDisplay.do? id=1969-059A Monday, May 16, 2011
  • 46.
    http://nssdc.gsfc.nasa.gov/ nmc/spacecraftDisplay.do? id=1969-059A NASA - NSSDC - Spacecraft - Details title Monday, May 16, 2011
  • 47.
    http://nssdc.gsfc.nasa.gov/ nmc/spacecraftDisplay.do? id=1969-059A NASA - NSSDC - Spacecraft - Details title 23 November 2009 published Monday, May 16, 2011
  • 48.
    http://nssdc.gsfc.nasa.gov/ nmc/spacecraftDisplay.do? id=1969-059A NASA - NSSDC - Spacecraft - Details title 23 November 2009 published size 15702 Monday, May 16, 2011
  • 49.
    http://nssdc.gsfc.nasa.gov/ Apollo 11 Command and nmc/spacecraftDisplay.do? Service Module id=1969-059A NASA - NSSDC - Spacecraft - Details title 23 November 2009 published size 15702 Monday, May 16, 2011
  • 50.
    http://nssdc.gsfc.nasa.gov/ about Apollo 11 Command and nmc/spacecraftDisplay.do? Service Module id=1969-059A NASA - NSSDC - Spacecraft - Details title 23 November 2009 published size 15702 Monday, May 16, 2011
  • 51.
    http://nssdc.gsfc.nasa.gov/ about Apollo 11 Command and nmc/spacecraftDisplay.do? Service Module id=1969-059A NASA - NSSDC - Spacecraft - Details title 23 November 2009 published size 15702 a Web Page Monday, May 16, 2011
  • 52.
    http://nssdc.gsfc.nasa.gov/ about Apollo 11 Command and nmc/spacecraftDisplay.do? Service Module id=1969-059A NASA - NSSDC - Spacecraft - Details title 23 November 2009 published size 15702 a a Web Page Spacecraft Monday, May 16, 2011
  • 53.
    http://nssdc.gsfc.nasa.gov/ about Apollo 11 Command and nmc/spacecraftDisplay.do? Service Module id=1969-059A name NASA - NSSDC - Spacecraft - Details Apollo 11 Command and Service Module title 23 November 2009 published size 15702 a a Web Page Spacecraft Monday, May 16, 2011
  • 54.
    http://nssdc.gsfc.nasa.gov/ about Apollo 11 Command and nmc/spacecraftDisplay.do? Service Module id=1969-059A name NASA - NSSDC - Spacecraft - Details Apollo 11 Command and Service Module title launched 23 November 2009 16 July 1969 published size 15702 a a Web Page Spacecraft Monday, May 16, 2011
  • 55.
    http://nssdc.gsfc.nasa.gov/ about Apollo 11 Command and nmc/spacecraftDisplay.do? Service Module id=1969-059A name NASA - NSSDC - Spacecraft - Details Apollo 11 Command and Service Module title launched 23 November 2009 16 July 1969 published size mass 15702 28801.0 a a Web Page Spacecraft Monday, May 16, 2011
  • 56.
    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 Monday, May 16, 2011
  • 57.
    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 Monday, May 16, 2011
  • 58.
    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 Monday, May 16, 2011
  • 59.
    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 Monday, May 16, 2011
  • 60.
    http://nssdc.gsfc.nasa.gov/ about Apollo 11 Command and nmc/spacecraftDisplay.do? Service Module id=1969-059A name NASA - NSSDC - Spacecraft - Details Apollo 11 Command and Service Module title launched 23 November 2009 16 July 1969 published size mass 15702 28801.0 a a Web Page Spacecraft Monday, May 16, 2011
  • 61.
    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 Monday, May 16, 2011
  • 62.
    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 ID Name 1969-059A Apollo 11 Command and Service Module (CSM) 28801.0 1969-07-16 1 1 Cape Canaveral, United States 1969-059C Apollo 11 Lunar Module / EASEP 15065.0 1969-07-16 1 2 Tyuratam (Baikonur Cosmodrome), U.S.S.R 1969-099A Apollo 12 Command and Service Module (CSM) 28790.0 1969-11-14 1 3 Xichang Space Launch Center 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 Monday, May 16, 2011
  • 63.
    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 ID Name 1969-059A Apollo 11 Command and Service Module (CSM) 28801.0 1969-07-16 1 1 Cape Canaveral, United States 1969-059C Apollo 11 Lunar Module / EASEP 15065.0 1969-07-16 1 2 Tyuratam (Baikonur Cosmodrome), U.S.S.R 1969-099A Apollo 12 Command and Service Module (CSM) 28790.0 1969-11-14 1 3 Xichang Space Launch Center 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 Monday, May 16, 2011
  • 64.
    http://nssdc.gsfc.nasa.gov/ about Apollo 11 Command and nmc/spacecraftDisplay.do? Service Module id=1969-059A name NASA - NSSDC - Spacecraft - Details Apollo 11 Command and Service Module title launched 23 November 2009 16 July 1969 published size mass 15702 28801.0 a a Web Page Spacecraft Monday, May 16, 2011
  • 65.
    Apollo 11 Commandand Service Module name Apollo 11 Command and Service Module launched 16 July 1969 mass 28801.0 a Spacecraft Monday, May 16, 2011
  • 66.
    Apollo 11 Commandand launchsite Cape Canaveral Service Module name name Apollo 11 Command and Service Module Cape Canaveral, United States launched 16 July 1969 mass 28801.0 a Spacecraft Monday, May 16, 2011
  • 67.
    Resource Apollo 11 Command and launchsite Cape Canaveral Service Module name name Apollo 11 Command and Service Module Cape Canaveral, United States launched 16 July 1969 mass 28801.0 a Spacecraft Monday, May 16, 2011
  • 68.
    Resource Apollo 11 Command and launchsite Cape Canaveral Service Module name name Apollo 11 Command and Service Module Cape Canaveral, United States launched 16 July 1969 Literal mass 28801.0 a Spacecraft Monday, May 16, 2011
  • 69.
    Resource Apollo 11 Command and launchsite Cape Canaveral Service Module name name Apollo 11 Command and Service Module Cape Canaveral, United States launched 16 July 1969 Literal Predicate mass 28801.0 a Spacecraft Monday, May 16, 2011
  • 70.
    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 Monday, May 16, 2011
  • 71.
    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 Monday, May 16, 2011
  • 72.
    Predicates are... • Relationships between Resources • Named using URIs • Described in Schema (or vocabularies, or ontologies) Monday, May 16, 2011
  • 73.
    Apollo 11 Commandand launchsite name Cape Canaveral, Cape Canaveral Service Module United States Statement or Triple Monday, May 16, 2011
  • 74.
    Apollo 11 Commandand launchsite name Cape Canaveral, Cape Canaveral Service Module United States Statement or Triple Monday, May 16, 2011
  • 75.
    Subject Predicate Object Apollo 11 Command and launchsite name Cape Canaveral, Cape Canaveral Service Module United States Statement or Triple Monday, May 16, 2011
  • 76.
    Statement or Triple Subject Predicate Object Apollo 11 Command and launchsite name Cape Canaveral, Cape Canaveral Service Module United States Statement or Triple Monday, May 16, 2011
  • 77.
    Statement or Triple Subject Predicate Object Apollo 11 Command and launchsite name Cape Canaveral, Cape Canaveral Service Module United States Subject Predicate Object Statement or Triple Monday, May 16, 2011
  • 78.
    Resource Apollo 11 Command and launchsite Cape Canaveral Service Module name name Apollo 11 Command and Service Module Cape Canaveral, United States launched 16 July 1969 Literal Predicate mass 28801.0 a Spacecraft Monday, May 16, 2011
  • 79.
    Apollo 11 Commandand launchsite Cape Canaveral Service Module name name Apollo 11 Command and Service Module Cape Canaveral, United States launched 16 July 1969 mass 28801.0 a Spacecraft Monday, May 16, 2011
  • 80.
    http://... Apollo 11 Command and launchsite http://... Cape Canaveral Service Module /1969-059A /cape+cana... name name Apollo 11 Command and Service Module Cape Canaveral, United States launched 16 July 1969 mass 28801.0 a http://... Spacecraft /Spacecraft Monday, May 16, 2011
  • 81.
    http://... Apollo 11 Command and launchsite http://... Cape Canaveral Service Module /1969-059A /cape+cana... name name Apollo 11 Command and Service Module Cape Canaveral, United States launched 16 July 1969 mass 28801.0 a http://... Spacecraft latitude /Spacecraft N 28° 27' 31'' longitude W 80° 31' 59'' Monday, May 16, 2011
  • 82.
    Simple Rules forMerging • 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 Monday, May 16, 2011
  • 83.
    Simple Rules forMerging • Graphs from several different sources can be merged • Resources with the same URI are considered identical • No limitations on which graphs can be merged Monday, May 16, 2011
  • 84.
    Any RDF canbe merged with any other RDF Monday, May 16, 2011
  • 85.
    RDF... • is a Graph data model XML is a tree data model RDBMS is a table data model • can be easily distributed • is easily mergeable • can say anything about anything • is not new the spec is from 1999 the idea, EAV, stems back to the late 1960s Monday, May 16, 2011
  • 86.
    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. Monday, May 16, 2011
  • 87.
    This work isCopyright © 2010 David Hyland-Wood Based partially on CC-BY licensed content Copyright © 2010 Talis Systems Limited by Rob Styles. It is licensed under the Creative Commons Attribution 3.0 Unported License. Full 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). • For any reuse or distribution, you must make clear to others the license terms of this work. • Any of the above conditions can be waived if you get permission from the copyright holder. • Nothing in this license impairs or restricts the author's moral rights. • Some Content in the work may be licensed under different terms, this is noted separately. Monday, May 16, 2011