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.
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.
4. Test your knowledge
How much have you learned from this learning pathway? Test your knowledge by completing the following exercise.
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:
- E. Prud'hommeaux and A. Seaborne (2008). "SPARQL Query Language for RDF (W3C Recommendation)". W3C, available at http://semanticweb.com/introduction-to-sparql_b22498
- P. Hitzler, M. Krötzsch, and S. Rudolph (2010). "Query Langauges: Foundations of Semantic Web Technologies". CRC Press.
- V. Bush and J. Wang (1945) "As we may think". Atlantic Monthly vol. 176, pp 101-108. Available online at "http://dl.acm.org/citation.cfm?id=227186".
- Hartig, O. (2012), An Introduction to SPARQL and Queries over Linked Data., in Marco Brambilla; Takehiro Tokuda & Robert Tolksdorf, ed., 'ICWE' , Springer, pp. 506-507. Materials available at http://www2.informatik.hu-berlin.de/~hartig/tmp/HartigTutorialICWE12_2.pdf, Exercises http://www2.informatik.hu-berlin.de/~hartig/tmp/HartigTutorialICWE12_HandsOn.pdf
- A. Hogan, J. Z. Pan, A. Polleres, and Y. Ren, (2011). "Scalable OWL 2 Reasoning for Linked Data". In A. Polleres, C. d'Amato, M. Arenas, S. Handschuh, P. Kroner, S. Ossowski & P. F. Patel-Schneider (eds.), Reasoning Web (p./pp. 250-325), : Springer. ISBN: 978-3-642-23031-8. Materials available at http://homepages.abdn.ac.uk/jeff.z.pan/pages/tutorial/eswc2010/, slides http://homepages.abdn.ac.uk/jeff.z.pan/pages/tutorial/eswc2010/ESWC2010TutorialOnScalableOWLReasoningForLinkedData.pdf