Question: What is the capital of canton of Zürich?
Choices:
Doha
Lausanne
Moscow
Strasbourg
Tunis
Sarajevo
Port-au-Prince
Zürich
Riga
Ottawa
Program:
function: Find
inputs: canton of Zürich
function: Relate
dependencies: 0
inputs: capital of
backward
function: FilterConcept
dependencies: 1
inputs: capital
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "canton of Zürich" .   }
Answer: Zürich