Question: What capital is located in Canton of Vaud?
Choices:
Strasbourg
Kiev
Mexico City
Nicosia
Chandigarh
Riga
Moscow
Lucknow
Sarajevo
Lausanne
Program:
function: Find
inputs: Canton of Vaud
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
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 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Canton of Vaud" .   }
Answer: Lausanne