PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX dbr: <http://dbpedia.org/resource/> 
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
SELECT DISTINCT ?name ?birth ?death
WHERE {
  ?person dbo:birthPlace dbr:London .
  ?person dbo:birthDate ?birth .
  ?person rdfs:label ?name FILTER (lang(?name) = "en").
  OPTIONAL { ?person dbo:deathDate ?death . }
  FILTER ((?birth > "1900-01-01"^^xsd:date) && 
	  (?birth < "1950-01-01"^^xsd:date)) .  
}
ORDER BY (?birth)
