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