Question: Is the area greater for Chiapas or KwaZulu-Natal?
Choices:
Tasmania
KwaZulu-Natal
Minas Gerais
Podlaskie Voivodeship
Greater Poland Voivodeship
Upper Austria
England
Punjab
Lublin Voivodeship
Chiapas
Program:
function: Find
inputs: Chiapas
function: Find
inputs: KwaZulu-Natal
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chiapas" .  } UNION { ?e <pred:name> "KwaZulu-Natal" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: KwaZulu-Natal