Question: When did the Indian state with Srinagar as its capital since 1947 have a population of 10069917?
Choices:
1996-01-16
2000
1938
2004-09-19
1919-12-01
1979
1935-12-31
2005-07-20
2011-12-01
1989-01-19
Answer: 2000
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of India" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Srinagar" . [ <pred:fact_h> ?e ; <pred:fact_r> <capital> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv_1 . ?qpv_1 <pred:year> 1947 . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "10069917"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Srinagar
function: Relate
dependencies: 0
inputs: capital
backward
function: QFilterYear
dependencies: 1
inputs: start time
1947
=
function: FilterConcept
dependencies: 2
inputs: state of India
function: QueryAttrQualifier
dependencies: 3
inputs: population
10069917
point in time