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