Question: Which Pennsylvania city has 29381 people?
Choices:
Pittsburgh
Bethlehem
Johnstown
Philadelphia
Lancaster
Wilkes-Barre
Chester
Williamsport
Greensburg
Reading
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
29381
=
function: FilterConcept
dependencies: 1
inputs: city of Pennsylvania
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of Pennsylvania" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "29381"^^xsd:double .  }
Answer: Williamsport