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