Question: What Pennsylvania city is the capital of Dauphin County?
Choices:
York
Wilkes-Barre
Johnstown
Greensburg
Lancaster
Reading
Chester
Harrisburg
Bethlehem
Erie
Program:
function: Find
inputs: Dauphin County
function: Relate
dependencies: 0
inputs: capital of
backward
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 <capital_of> ?e_1 . ?e_1 <pred:name> "Dauphin County" .   }
Answer: Harrisburg