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