Question: Who was born in Dumfries and died before 1960?
Choices:
Thomas Mann
Arthur Wellesley, 1st Duke of Wellington
William Henry Harrison
Max Fleischer
Nathanael Greene
Julia
Richard Gere
Sylvester Stallone
John Irving
H. H. Asquith
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of death
1960
<
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Dumfries
function: Relate
dependencies: 3
inputs: place of birth
backward
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1960 ) . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Dumfries" .  }
Answer: John Irving