Question: Which one, Turkey or Tuvalu (the one whose population is 9419), has greater area?
Choices:
Weimar Republic
Turkey
Russian Soviet Federative Socialist Republic
Samoa
Kiribati
Benin
Socialist Federal Republic of Yugoslavia
Cambodia
South Sudan
Tuvalu
Answer: Turkey
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Turkey" . } UNION { ?e <pred:name> "Tuvalu" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "9419"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Turkey
function: Find
inputs: Tuvalu
function: FilterNum
dependencies: 1
inputs: population
9419
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater