Question: What is the population of the city that is 12 square kilometres?
Choices:
931035
815016
611808
1221119
284968
544179
291458
37074
5002444
9144
Answer: 37074
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "12"^^xsd:double . ?e <population> ?pv .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
12 square kilometre
=
function: FilterConcept
dependencies: 1
inputs: city
function: QueryAttr
dependencies: 2
inputs: population