Course 2: Querying Linked Data

This learning pathway focuses on SPARQL (SPARQL Protocol And RDF Query Language). SPARQL is a language for formulating queries that also provides a protocol for specifying SPARQL commands. In its latest version, SPARQL 1.1 has been extended to allow updating as well as querying, so that a SPARQL command can require data to be added, revised or deleted.

You can study the materials of this learning pathway at your own pace, as there is no predetermined start or end date.

1. Learning outcomes

By the end of this learning pathway you should have an understanding of:

  • How to formulate a range of queries in SPARQL, and understand the responses you get back.
  • How in SPARQL 1.1 you can formulate queries that update datasets rather than just retrieving information.
  • How SPARQL queries from a client can be sent over the World Wide Web to a server containing a dataset, using the SPARQL protocol.
  • How reasoning and data integration can be achieved by utilising domain knowledge encoded in RDFS and OWL.

2. Introduction to SPARQL

Learn about the basic concepts of SPARQL, what types of queries SPARQL supports and how you can formulate them.

Watch Part I of the webinar 'Querying Linked Data' (65 minutes):

View the slides of this webinar:

Read Part I of Chapter 2 'Querying Linked Data':

HTML

iBook

ePUB

Kindle

3. Updating Linked Data with SPARQL 1.1

Learn how you can formulate queries that modify datasets by adding or removing data. These queries were not available in the original 2008 standard, but are provided for in the SPARQL 1.1 recommendation.

Watch Part II of the webinar 'Querying Linked Data' (57 minutes):

View the slides of this webinar:

Read Part II of Chapter 2 'Querying Linked Data':

HTML

iBook

ePUB

Kindle

4. Test your knowledge

How much have you learned from this learning pathway? Test your knowledge by completing the following exercise.

Use the Exercise 2 form to run SPARQL queries over the MusicBrainz dataset (username and password is "exercise2").

Download Sesame to create a triplestore on your machine and run update SPARQL queries. Watch the Sesame screencast for instructions on how to do this:

 

5. Further reading

If you are interested in more learning materials and resources about SPARQL, here are some suggestions that are relevant to this particular pathway: