Question: Which state of India has a rural population greater than 1300000 and a female population of 30017040?
Choices:
Maharashtra
Rajasthan
Kerala
Uttarakhand
Haryana
Bihar
Andhra Pradesh
Himachal Pradesh
Punjab
Tamil Nadu
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: rural population
1300000
>
function: QFilterNum
dependencies: 1
inputs: female population
30017040
=
function: FilterConcept
dependencies: 2
inputs: state of India
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of India" . ?e <rural_population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "1300000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <rural_population> ; <pred:fact_t> ?pv ] <female_population> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "30017040"^^xsd:double .  }
Answer: Maharashtra