Question: What administrative territorial entity has the capital city of the US where Paul Dooley was born?
Choices:
Fairfield County
Kent County
Washoe County
New Hampshire's 2nd congressional district
Washington County
Hennepin County
Davidson County
County Armagh
Wood County
Hillsborough County
Answer: Wood County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <capital> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city of the United States" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Paul Dooley" .   }
Program:
function: Find
inputs: Paul Dooley
function: Relate
dependencies: 0
inputs: place of birth
forward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Relate
dependencies: 2
inputs: capital
backward
function: FilterConcept
dependencies: 3
inputs: administrative territorial entity
function: What
dependencies: 4