Question: What country does the University of Vienna's headquarter location Vienna (the twinned administrative body of Brno) belong to?
Choices:
Albania
Aruba
Denmark
Kingdom of Saxony
Saxe-Weimar-Eisenach
Guyana
Austria
Egypt
South Africa
Portugal
Answer: Austria
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of Vienna" . ?e_2 <pred:name> "Vienna" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Brno" . ?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: University of Vienna
function: Find
inputs: Brno
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: Find
inputs: Vienna
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
country