Question: When did Donald Trump (who works in the Falls Church location) stop being educated at Johns Hopkins School of Medicine?
Choices:
1980-01-15
1301
1970-08-01
2011-11-27
1995-12-22
1970
-323
1798-01-24
2009
2005-10-02
Answer: 1970
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Donald Trump" . ?e_1 <work_location> ?e_3 . ?e_3 <pred:name> "Falls Church" . ?e_2 <pred:name> "Johns Hopkins School of Medicine" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Falls Church
function: Relate
dependencies: 0
inputs: work location
backward
function: Find
inputs: Donald Trump
function: And
dependencies: 1
2
function: Find
inputs: Johns Hopkins School of Medicine
function: QueryRelationQualifier
dependencies: 3
4
inputs: educated at
end time