Question: What United States city is the capital of Multnomah County?
Choices:
Orange
New Haven
Lexington
Melbourne
Portland
Salem
Oakland
Juneau
Columbus
Franklin
Program:
function: Find
inputs: Multnomah 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> "Multnomah County" .   }
Answer: Portland