Question: Does Rwanda or Thailand occupy a larger area?
Choices:
Sierra Leone
Colombia
Morocco
Zimbabwe
Eswatini
Dubai
Namibia
Mozambique
Germany
Thailand
Program:
function: Find
inputs: Rwanda
function: Find
inputs: Thailand
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rwanda" .  } UNION { ?e <pred:name> "Thailand" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Thailand