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