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