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