Question: When was the population of the capital of Andhra Pradesh with millions of inhabitants whose Indian census area code (2001) is 37 was 6731790?
Choices:
1982-03-29
2006-01-01
1664-02-07
1900-01-05
2010-12-31
2014-01-22
2011-03-31
2016-10-23
2001-12-01
2011-01-01
Answer: 2011-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city with millions of inhabitants" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Andhra Pradesh" . ?e_1 <Indian_census_area_code_(2001)> ?pv_1 . ?pv_1 <pred:value> "37" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "6731790"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Andhra Pradesh
function: FilterStr
dependencies: 0
inputs: Indian census area code (2001)
37
function: Relate
dependencies: 1
inputs: capital of
backward
function: FilterConcept
dependencies: 2
inputs: city with millions of inhabitants
function: QueryAttrQualifier
dependencies: 3
inputs: population
6731790
point in time