Question: What is the area of the city of Pennsylvania that is the capital of Northampton County (the one whose population is 299371)?
Choices:
31753254 square metre
390580 square kilometre
147570 square kilometre
180 square kilometre
12144.6 square kilometre
1203 square kilometre
57.53 square kilometre
2096.56 square kilometre
2679 square kilometre
12.57921 square kilometre
Answer: 12.57921 square kilometre
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of Pennsylvania" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Northampton County" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "299371"^^xsd:double . ?e <area> ?pv .  }
Program:
function: Find
inputs: Northampton County
function: FilterNum
dependencies: 0
inputs: population
299371
=
function: Relate
dependencies: 1
inputs: capital of
backward
function: FilterConcept
dependencies: 2
inputs: city of Pennsylvania
function: QueryAttr
dependencies: 3
inputs: area