Created
May 24, 2014 15:52
-
-
Save drcjar/cbb5b24842f7484bc31a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 : <http://dbpedia.org/resource/> | |
PREFIX dbpedia2: <http://dbpedia.org/property/> | |
PREFIX dbpedia: <http://dbpedia.org/> | |
PREFIX skos: <http://www.w3.org/2004/02/skos/core#> | |
PREFIX dbo: <http://dbpedia.org/ontology/> | |
SELECT ?name ?place ?birth ?death ?person ?occupation ?cause WHERE { | |
?person dbo:birthPlace ?place . | |
?person dbo:birthDate ?birth . | |
?person foaf:name ?name . | |
?person dbo:deathDate ?death . | |
?person dbo:occupation ?occupation . | |
?person dbo:deathCause ?cause . | |
FILTER (?birth > "1900-01-01"^^xsd:date) . | |
} | |
ORDER BY ?name | |
LIMIT 5000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
code for here http://dbpedia.org/sparql to return people and their diseases and occupations ftw