Question: Tell me the United States city that is the capital of the United States state that has New Hampshire's 1st congressional district.
Choices: Indianapolis
Montgomery
Franklin
Concord
Raleigh
Riverside
Columbus
Fort Collins
Providence
Denver
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <capital> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "state of the United States" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "New Hampshire's 1st congressional district" .   }
Program:
function: Find
inputs: New Hampshire's 1st congressional district
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: Relate
dependencies: 2
inputs: capital
forward
function: FilterConcept
dependencies: 3
inputs: city of the United States
function: What
dependencies: 4
Answer: Concord