Question: Which capital contains the University of Zurich and is in Switzerland?
Choices:
Zürich
Moscow
Paris
Riga
Sarajevo
Manila
New Delhi
Lausanne
Doha
Mexico City
Program:
function: Find
inputs: University of Zurich
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: capital
function: Find
inputs: Switzerland
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: capital
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "University of Zurich" .  ?e <country> ?e_2 . ?e_2 <pred:name> "Switzerland" .  }
Answer: Zürich