Question: Which area is larger, Saint Kitts and Nevis or Liechtenstein?
Choices:
Tajikistan
Finland
Trinidad and Tobago
Saint Vincent and the Grenadines
Kazakhstan
Liechtenstein
Saint Kitts and Nevis
Lithuania
Jamaica
Kosovo
Program:
function: Find
inputs: Saint Kitts and Nevis
function: Find
inputs: Liechtenstein
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Saint Kitts and Nevis" .  } UNION { ?e <pred:name> "Liechtenstein" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Saint Kitts and Nevis