Question: To what country does State University of New York at Albany's headquarter location Albany (which is Ghent's twinned administrative body) belong to?
Choices:
international
England
English
Lithuania
United Arab Republic
Japan
British Empire
Italy
United States of America
South Korea
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "State University of New York at Albany" . ?e_2 <pred:name> "Albany" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Ghent" . ?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: State University of New York at Albany
function: Find
inputs: Ghent
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: Find
inputs: Albany
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
country