An introduction to RDF querying in SPARQL

Zwifi
3,588 views

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

Initial demo

When you click the "Run" button, the SPARQL query is executed against a predefined RDF dataset, and the result is displayed through a custom script. Coming soon, an actual tutorial.

Who knows who?
PREFIX foaf:<http://xmlns.com/foaf/0.1/>
SELECT DISTINCT ?aname ?bname
WHERE {
?a foaf:knows ?b .
?a foaf:name ?aname .
?b foaf:name ?bname .
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

In this case, the dataset can be modified locally to directly test the impact of the data structure on the query result.

This tutorial is based on the lectures taught by Nathalie Hernandez and Camille Pradel.

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content