Question: Which New Jersey city contains the capital of Bergen County?
Choices:
Hoboken
Jersey City
Newark
Paterson
Hackensack
Elizabeth
Passaic
Perth Amboy
East Orange
Trenton
Answer: Hackensack
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city in New Jersey" . ?e_1 <capital> ?e . ?e_1 <pred:name> "Bergen County" .   }
Program:
function: Find
inputs: Bergen County
function: Relate
dependencies: 0
inputs: capital
forward
function: FilterConcept
dependencies: 1
inputs: city in New Jersey
function: What
dependencies: 2