Question: Which US city is the capital of Cache County?
Choices:
Santa Rosa
Beaufort
Franklin
Columbus
Lansing
New Haven
Boise
Norwich
Logan
Sandusky
Program:
function: Find
inputs: Cache County
function: Relate
dependencies: 0
inputs: capital
forward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <capital> ?e . ?e_1 <pred:name> "Cache County" .   }
Answer: Logan