Question: In what country is located Saint Petersburg (where is the headquerters of Saint Petersburg State University)?
Choices:
Aruba
Ireland
Ecuador
Czechoslovak Socialist Republic
Russia
Hungary
Netherlands
Saxe-Weimar-Eisenach
Kingdom of Italy
English
Program:
function: Find
inputs: Saint Petersburg State University
function: Find
inputs: Saint Petersburg
function: QueryRelationQualifier
dependencies: 0
1
inputs: headquarters location
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Saint Petersburg State University" . ?e_2 <pred:name> "Saint Petersburg" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Answer: Russia