Question: In which country is Athens, twinned administrative body of Mexico City and HQ of the National and Kapodistrian University of Athens?
Choices: Canada
Austria
Lebanon
United Kingdom of Great Britain and Ireland
Greece
Denmark
Weimar Republic
Indonesia
Netherlands
Slovenia
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "National and Kapodistrian University of Athens" . ?e_2 <pred:name> "Athens" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> "Mexico City" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Program:
function: Find
inputs: National and Kapodistrian University of Athens
function: Find
inputs: Mexico City
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: Find
inputs: Athens
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
country
Answer: Greece