Question: Andhra Pradesh, with 42138631 female inhabitants, has 28219075 urban dwellers in how many households?
Choices:
120764
1425086
65522
172339
54712
1525412
798091
50002
1312510
6788201
Answer: 6788201
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Andhra Pradesh" . ?e <female_population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "42138631"^^xsd:double . ?e <urban_population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "28219075"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <urban_population> ; <pred:fact_t> ?pv ] <number_of_households> ?qpv .  }
Program:
function: Find
inputs: Andhra Pradesh
function: FilterNum
dependencies: 0
inputs: female population
42138631
=
function: QueryAttrQualifier
dependencies: 1
inputs: urban population
28219075
number of households