Question: What country does Moscow (population 7,658,000), the headqarters of Moscow Conservatory, belong to ?
Choices: Armenia
Kenya Colony
worldwide
Portugal
Russia
Austria-Hungary
Turkey
Indonesia
Taiwan
New Zealand
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Moscow Conservatory" . ?e_2 <pred:name> "Moscow" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "7658000"^^xsd:double . ?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: Moscow Conservatory
function: Find
inputs: Moscow
function: FilterNum
dependencies: 1
inputs: population
7658000
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
country
Answer: Russia