Question: For Nokia (the one whose total revenue is 11762000000 euro), to what country does its headquarter location of Espoo belong?
Choices:
Germany
Kazakhstan
Canada
Prussia
United Kingdom of Great Britain and Ireland
Finland
United Arab Republic
Brazil
South Africa
German Democratic Republic
Answer: Finland
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Nokia" . ?e_1 <total_revenue> ?pv . ?pv <pred:unit> "euro" . ?pv <pred:value> "11762000000"^^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: total revenue
11762000000 euro
=
function: Find
inputs: Espoo
function: QueryRelationQualifier
dependencies: 1
2
inputs: headquarters location
country