Question: What city in Pennsylvania is the capital of Erie County, which has a population of 280294?
Choices:
Erie
Bethlehem
Greensburg
Williamsport
Philadelphia
Lancaster
York
Chester
Wilkes-Barre
Pittsburgh
Program:
function: Find
inputs: Erie County
function: FilterNum
dependencies: 0
inputs: population
280294
=
function: Relate
dependencies: 1
inputs: capital of
backward
function: FilterConcept
dependencies: 2
inputs: city of Pennsylvania
function: What
dependencies: 3
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 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "280294"^^xsd:double .   }
Answer: Erie