Question: What country does Espoo, the headquarters location of Nokia (whose operating income is 672000000 euros), belong to?
Choices:
Cambodia
Finland
Venezuela
Russia
Russian Soviet Federative Socialist Republic
Guyana
Kingdom of the Netherlands
Thailand
Papal States
Israel
Answer: Finland
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Nokia" . ?e_1 <operating_income> ?pv . ?pv <pred:unit> "euro" . ?pv <pred:value> "672000000"^^xsd:double . ?e_2 <pred:name> "Espoo" . ?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: Nokia
function: FilterNum
dependencies: 0
inputs: operating income
672000000 euro
=
function: Find
inputs: Espoo
function: QueryRelationQualifier
dependencies: 1
2
inputs: headquarters location
country