Question: Which area is larger, Canton of Valais or Northern Ireland?
Choices:
Chiapas
Upper Austria
Greater Poland Voivodeship
Podlaskie Voivodeship
England
Minas Gerais
New South Wales
Lublin Voivodeship
Canton of Valais
Northern Ireland
Program:
function: Find
inputs: Canton of Valais
function: Find
inputs: Northern Ireland
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Canton of Valais" .  } UNION { ?e <pred:name> "Northern Ireland" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Northern Ireland