Question: Tell me the administrative territorial entity that has Beaufort as a capital.
Choices: Orange County
Washoe County
African Union
Pretoria
Kent County
Beaufort County
Chisago County
New Haven County
Davidson County
East Prussia
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Beaufort" .   }
Program:
function: Find
inputs: Beaufort
function: Relate
dependencies: 0
inputs: capital
backward
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: What
dependencies: 2
Answer: Beaufort County