Question: Mahatma Gandhi resided in India, where Rajinikanth has citizenship, until which date?
Choices:
2012-12-17
1529
2009-12-07
1915-06-12
2009-01-03
1799-03-04
1955-04-18
1893-02-27
1893-01-01
1804
Answer: 1893-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Mahatma Gandhi" . ?e_2 <pred:name> "India" . ?e_3 <country_of_citizenship> ?e_2 . ?e_3 <pred:name> "Rajinikanth" . ?e_1 <residence> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Mahatma Gandhi
function: Find
inputs: Rajinikanth
function: Relate
dependencies: 1
inputs: country of citizenship
forward
function: Find
inputs: India
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: residence
end time