Question: Which county of Alabama has the capital Montgomery?
Choices: Jackson County
Confederate States of America
Washington County
Alabama
Jefferson County
Monroe County
Montgomery County
Shelby County
Dallas County
Mobile County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Alabama" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Montgomery" .   }
Program:
function: Find
inputs: Montgomery
function: Relate
dependencies: 0
inputs: capital of
forward
function: FilterConcept
dependencies: 1
inputs: county of Alabama
function: What
dependencies: 2
Answer: Montgomery County