Question: What is the start date that John Abraham (who lives in the United States of America) is a resident of the United States of America?
Choices:
1972
1997-09-16
1790-07-16
1987-11-01
1995-11-29
1971-09-21
1929-06-03
2007-03-02
1989-05-01
1982-09-30
Answer: 1972
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Abraham" . ?e_1 <residence> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "United States of America" . ?e_1 <residence> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: residence
backward
function: Find
inputs: John Abraham
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelationQualifier
dependencies: 3
4
inputs: residence
start time