Skip to content

Instantly share code, notes, and snippets.

@ttepasse
Created March 21, 2016 18:11
Show Gist options
  • Save ttepasse/29bca1e822b0bc3eaa94 to your computer and use it in GitHub Desktop.
Save ttepasse/29bca1e822b0bc3eaa94 to your computer and use it in GitHub Desktop.
PREFIX ont: <http://dbpedia.org/ontology/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
SELECT ?name ?birth
WHERE {
?person ont:birthDate ?birth;
foaf:name ?name .
FILTER ( regex(str(?birth), "1914-[0-9]{2}-[0-9]{2}") )
FILTER NOT EXISTS { ?person ont:deathDate ?death. }
}
LIMIT 1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment