Question: Which area is larger, San Marino (the one whose nominal GDP is 1215640315.36331 United States dollar) or Maldives?
Choices: Weimar Republic
Kiribati
Benin
Switzerland
Maldives
Cambodia
South Sudan
Socialist Federal Republic of Yugoslavia
Samoa
San Marino
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "San Marino" . ?e <nominal_GDP> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "1215640315.36331"^^xsd:double . } UNION { ?e <pred:name> "Maldives" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: San Marino
function: FilterNum
dependencies: 0
inputs: nominal GDP
1215640315.36331 United States dollar
=
function: Find
inputs: Maldives
function: SelectBetween
dependencies: 1
2
inputs: area
greater
Answer: Maldives