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