open data and linked data

43
Open data & linked data Hacknight, Malmö – 6 augusti 2011 Marie Gustafsson Friberger [email protected]

Upload: marie-gustafsson-friberger

Post on 08-May-2015

1.606 views

Category:

Technology


1 download

DESCRIPTION

Providing open data is of interest for its societal and commercial value, for transparency, and because more people can do fun things with data. There is a growing number of initiatives to provide open data, from, for example, the UK government and the World Bank. However, much of this data is provided in formats such as Excel files, or even PDF files. This raises the question of - How best to provide access to data so it can be most easily reused? - How to enable the discovery of relevant data within the multitude of available data sets? - How to enable applications to integrate data from large numbers of formerly unknown data sources? One way to address these issues to to use the design principles of linked data (http://www.w3.org/DesignIssues/LinkedData.html), which suggest best practices for how to publish and connect structured data on the Web. This presentation gives an overview of linked data technologies (such as RDF and SPARQL), examples of how they can be used, as well as some starting points for people who want to provide and use linked data. The presentation was given on August 8, at the Hacknight event (http://hacknight.se/) of Forskningsavdelningen (http://forskningsavd.se/) (Swedish: “Research Department”) a hackerspace in Malmö.

TRANSCRIPT

Page 1: Open data and linked data

Open data & linked data

Hacknight, Malmö – 6 augusti 2011

Marie Gustafsson [email protected]

Page 2: Open data and linked data

Hans Rosling

http://www.flickr.com/photos/23176450@N08/2663925153/

Page 3: Open data and linked data

Hans Rosling

http://www.flickr.com/photos/23176450@N08/2663925153/

"The database hugging in public institutions is hampering innovation."

Hans Rosling at OECD World Forum in Istanbul, 2007http://www.viddler.com/explore/JesseRobbins/videos/4/

Page 4: Open data and linked data

Why open data?

• Transparency

• Value – for society as a whole and commercially

• More people can do fun things with data!

Page 5: Open data and linked data

5

Page 6: Open data and linked data

6

Page 7: Open data and linked data

7

Page 8: Open data and linked data
Page 9: Open data and linked data

9

Page 10: Open data and linked data

• How best to provide access to data so it can be most easily reused?

• How to enable the discovery of relevant data within the multitude of available data sets?

• How to enable applications to integrate data from large numbers of formerly unknown data sources?

10

Page 11: Open data and linked data

http://www.flickr.com/photos/kateconsumption/3636784054/

Page 12: Open data and linked data

★ Available on the web (whatever format),

but with an open licence

★★ Available as machine-readable structured

data (e.g. excel instead of image scan of a table)

★★★ as (2) plus non-proprietary format (e.g.

CSV instead of excel)

★★★★ All the above plus, Use open standards from W3C

(RDF and SPARQL) to identify things, so that people can point at your stuff

★★★★★ All the above, plus: Link your data to other

people’s data to provide context

Page 13: Open data and linked data

RDF?

Page 14: Open data and linked data

RDF?

Resource Description Framework

Page 15: Open data and linked data

RDF?

Resource Description Framework

Page 16: Open data and linked data

“Description”?

Subject - Predicate - Object

Page 17: Open data and linked data

Subject - Predicate - Object

Image from the book Semantic Web for the Working Ontologist by Allemang and Hendler.

Page 18: Open data and linked data

Image from the book Semantic Web for the Working Ontologist by Allemang and Hendler.

Page 19: Open data and linked data

Multiple Sources

+

+Image from the book Semantic Web for the Working Ontologist by Allemang and Hendler.

Page 20: Open data and linked data

One graph...

Image from the book Semantic Web for the Working Ontologist by Allemang and Hendler.

Page 21: Open data and linked data

What is what?

• If two sources use the same terminology, do they have the same thing in mind?

• URIs to the rescue!

• Two nodes are “the same” if they share the same URI.

Page 22: Open data and linked data

SPARQL

• SPARQL Protocol and RDF Query Language (recursive acronym...)

• W3C recommendation

• A query contain a set of triple patterns called a basic graph pattern.

• Triple patterns are like RDF triples except that each of the subject, predicate and object may be a variable.

Page 23: Open data and linked data

Linked Data principles1. Use URIs as names for things

2. Use HTTP URIs so that people can look up those names.

3. When someone looks up a URI, provide useful information, using the standards (RDF*, SPARQL)

4. Include links to other URIs so that they can discover more things.

http://www.w3.org/DesignIssues/LinkedData.html

Page 24: Open data and linked data

24

Page 25: Open data and linked data

Linked data

25Linking Open Data cloud diagram, by Richard Cyganiak and Anja Jentzsch. http://lod-cloud.net/

Page 26: Open data and linked data

• Extract structured information from Wikipedia and to make this information available on the Web.

• The DBpedia knowledge base currently describes more than 3.4 million things, out of which 1.5 million are classified in a consistent ontology, including 312,000 persons, 413,000 places, 94,000 music albums, 49,000 films, 15,000 video games, 140,000 organizations, 146,000 species

Page 27: Open data and linked data

Possible Queries

• DBPedia allows you to find answers to questions where the information is spread across many different Wikipedia articles.

• For example...

Page 28: Open data and linked data

28

People who were born in Copenhagen before 1900

Page 29: Open data and linked data

29

Page 30: Open data and linked data

30

Page 31: Open data and linked data

NYTimes – Linked Open Data

http://data.nytimes.com/

Page 32: Open data and linked data

32

Page 33: Open data and linked data

Example app: Who Went Where?

Page 34: Open data and linked data

http://magicalnihilism

.com/2009/11/07/get-excited-and-m

ake-things/

Page 35: Open data and linked data

Want to make data available?

Page 36: Open data and linked data
Page 37: Open data and linked data

37

Page 38: Open data and linked data

Want to find data?

Page 39: Open data and linked data

39

Page 40: Open data and linked data

40

Page 41: Open data and linked data

Want to build?

Page 42: Open data and linked data

42

Page 43: Open data and linked data

Read more• Heath and Bizer (2011) Linked Data: Evolving the

Web into a Global Data Spacehttp://linkeddatabook.com/editions/1.0/

• Allemang and Hendler (2011) Semantic Web for the Working Ontologisthttp://workingontologist.org/

• http://open.blogs.nytimes.com/2010/03/30/build-your-own-nyt-linked-data-application/

• http://www.w3.org/2001/sw/wiki/Tools