Question: Which street is University of Amsterdam's headquarter location is Amsterdam (the one whose population is 523577) located on?
Choices: Dominikánské náměstí
Spui
Volodymyrska Street, Kiev
Broadwick Street
Sint-Pietersnieuwstraat
Universitetskaya Embankment
Paseo del Prado
avenue Gambetta
Madison Avenue
Sixth Avenue
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of Amsterdam" . ?e_2 <pred:name> "Amsterdam" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "523577"^^xsd:double . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_on_street> ?qpv .  }
Program:
function: Find
inputs: University of Amsterdam
function: Find
inputs: Amsterdam
function: FilterNum
dependencies: 1
inputs: population
523577
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
located on street
Answer: Spui