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