Skip to content

Instantly share code, notes, and snippets.

@ostephens
Created May 14, 2014 09:27
Show Gist options
  • Save ostephens/c6ef3999e1b6da9634ce to your computer and use it in GitHub Desktop.
Save ostephens/c6ef3999e1b6da9634ce to your computer and use it in GitHub Desktop.
SPARQL for books by Jane Austen from RLUK LOD
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
SELECT ?s ?o
WHERE {
?s <http://rdaregistry.info/Elements/u/P60447> ?b .
?b owl:sameAs <http://viaf.org/viaf/102333412/> .
?s <http://rdaregistry.info/Elements/m/P30156> ?o
}
LIMIT 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment