Question: When did Rawalpindi stop being located in Punjab (which is the birthplace of Saeed Jaffrey)?
Choices:
1861-07-20
2005-11-29
1953
1910-10-05
1987
1914-01-01
1822
1933-01-01
1947-08-14
1901-09-14
Answer: 1947-08-14
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Rawalpindi" . ?e_2 <pred:name> "Punjab" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Saeed Jaffrey" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Rawalpindi
function: Find
inputs: Saeed Jaffrey
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Punjab
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: located in the administrative territorial entity
end time