Question: What Pennsylvania city is Erie County's capital (which has an area measuring 4036 square kilometers)?
Choices: York
Greensburg
Wilkes-Barre
Erie
Philadelphia
Pittsburgh
Chester
Johnstown
Harrisburg
Reading
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of Pennsylvania" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Erie County" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "4036"^^xsd:double .   }
Program:
function: Find
inputs: Erie County
function: FilterNum
dependencies: 0
inputs: area
4036 square kilometre
=
function: Relate
dependencies: 1
inputs: capital of
backward
function: FilterConcept
dependencies: 2
inputs: city of Pennsylvania
function: What
dependencies: 3
Answer: Erie