Question: Which administrative territorial entity has the capital that is the United States city that is the death place of William S. Burroughs?
Choices:
Douglas County
Greene County
St. Louis County
New London County
Providence County
Utah County
Lake County
Argyll and Bute
Washington County
Veracruz
Answer: Douglas 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_3 <place_of_death> ?e_1 . ?e_3 <pred:name> "William S. Burroughs" .   }
Program:
function: Find
inputs: William S. Burroughs
function: Relate
dependencies: 0
inputs: place of death
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