Question: When did Tom Johnson (the one that is educated at Harvard University) stop being an employee of CNN?
Choices:
2012-01-01
2009-12-04
2001
2014-09-21
1983-03-01
1954-02-19
1945-05-07
1990-05-03
2007-06-10
1922-11-01
Answer: 2001
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Tom Johnson" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "Harvard University" . ?e_2 <pred:name> "CNN" . ?e_1 <employer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <employer> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Harvard University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Tom Johnson
function: And
dependencies: 1
2
function: Find
inputs: CNN
function: QueryRelationQualifier
dependencies: 3
4
inputs: employer
end time