Question: What country does Espoo, the headquarter location of Nokia (the one whose net profit is -3,786,000,000 EUR), belong to ?
Choices: Switzerland
Ireland
Cambodia
Finland
Nepal
Iran
Lebanon
Estonia
Kingdom of Bavaria
Malaysia
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Nokia" . ?e_1 <net_profit> ?pv . ?pv <pred:unit> "euro" . ?pv <pred:value> "-3786000000"^^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: net profit
-3786000000 euro
=
function: Find
inputs: Espoo
function: QueryRelationQualifier
dependencies: 1
2
inputs: headquarters location
country
Answer: Finland