Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX dbpprop: <http://dbpedia.org/property/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX edm: <http://www.europeana.eu/schemas/edm/>
PREFIX ore: <http://www.openarchives.org/ore/terms/>
SELECT ?object ?title ?student ?date ?rights ?country
WHERE {
# Get Rembrandt's students
SERVICE <http://dbpedia.org/sparql> {
?student dbpprop:influencedBy <http://dbpedia.org/resource/Rembrandt> .
}
?eurProxy edm:hasMet ?student .
?eurProxy edm:year ?date .
?eurProxy ore:proxyFor ?object .
?provProxy ore:proxyFor ?object .
?provProxy dc:title ?title .
?provAgg edm:aggregatedCHO ?object .
?provAgg edm:rights ?rights .
?eurAgg edm:aggregatedCHO ?object .
?eurAgg edm:country ?country .
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment