Question: When did Alexander (the one that died in The Hague) work there until?
Choices:
1887-01-01
1771
1911-12-31
1871-01-18
1814-05-04
1884-01-01
2013-05-19
2011-09-15
1845
2005-01-03
Program:
function: Find
inputs: The Hague
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: Alexander
function: And
dependencies: 1
2
function: Find
inputs: The Hague
function: QueryRelationQualifier
dependencies: 3
4
inputs: work location
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Alexander" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> "The Hague" . ?e_2 <pred:name> "The Hague" . ?e_1 <work_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <work_location> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Answer: 1884-01-01