Question: To what country does National and Kapodistrian University of Athens's headquarter location Athens (which is Genoa's twinned administrative body) belong to?
Choices: Peru
Australia
Norway
Kingdom of Saxony
Iceland
Philippines
Kenya Colony
Greece
Germany
Hungary
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> "Genoa" . ?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: Genoa
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