Question: Which administrative territorial entity has Spartanburg as its capital?
Choices:
Spartanburg County
Litchfield County
African Union
Washoe County
Kent County
Cass County
Stearns County
Orange County
Douglas County
Cobb County
Answer: Spartanburg County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Spartanburg" .   }
Program:
function: Find
inputs: Spartanburg
function: Relate
dependencies: 0
inputs: capital
backward
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: What
dependencies: 2