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