Question: The Mughal Empire was the location of Ahmedabad until which date?
Choices: 1942-01-07
1837-03-04
1910-01-01
1941-06-24
1817
1804-08-11
2014-10-30
1976-07-29
2005-02-08
1997-04-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ahmedabad" . ?e_2 <pred:name> "Mughal Empire" . ?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: Ahmedabad
function: Find
inputs: Mughal Empire
function: QueryRelationQualifier
dependencies: 0
1
inputs: located in the administrative territorial entity
end time
Answer: 1817