Question: What is the area of the Italian province that includes the capital of Naples, which has a population of 989789?
Choices:
107.478244 square kilometre
47.397114 square kilometre
1171 square kilometre
30.1 square kilometre
145.497628 square kilometre
11300 square kilometre
11.64 square kilometre
89.80136 square kilometre
3517 square kilometre
88361.0 square kilometre
Answer: 1171 square kilometre
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Italy" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Naples" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "989789"^^xsd:double . ?e <area> ?pv .  }
Program:
function: Find
inputs: Naples
function: FilterNum
dependencies: 0
inputs: population
989789
=
function: Relate
dependencies: 1
inputs: capital of
forward
function: FilterConcept
dependencies: 2
inputs: province of Italy
function: QueryAttr
dependencies: 3
inputs: area