Question: What is the name of the city which is the capital of Penobscot County in the United States
Choices:
Franklin
Waukegan
East St. Louis
Beaumont
Columbus
Bangor
Jackson
Vallejo
Topeka
Augusta
Program:
function: Find
inputs: Penobscot County
function: Relate
dependencies: 0
inputs: capital of
backward
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 <capital_of> ?e_1 . ?e_1 <pred:name> "Penobscot County" .   }
Answer: Bangor