Question: Tell me the United States city that is the Yavapai County capital.
Choices:
New Haven
Oakland
Greenville
Lansing
Franklin
Compton
Boulder
Prescott
New Britain
Columbus
Answer: Prescott
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Yavapai County" .  ?e_2 <capital> ?e . ?e_2 <pred:name> "Yavapai County" .  }
Program:
function: Find
inputs: Yavapai County
function: Relate
dependencies: 0
inputs: capital of
backward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Find
inputs: Yavapai County
function: Relate
dependencies: 3
inputs: capital
forward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: And
dependencies: 2
5
function: What
dependencies: 6