Question: What Pennsylvania city has postal code 19019–19255?
Choices:
Wilkes-Barre
Johnstown
Chester
Harrisburg
Greensburg
Pittsburgh
York
Philadelphia
Altoona
Erie
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
19019–19255
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 <postal_code> ?pv . ?pv <pred:value> "19019–19255" .  }
Answer: Philadelphia