Question: Which area is smaller, Northwest Territories or Nunavut?
Choices:
2001: A Space Odyssey
Yukon
Nunavut
Essex County
Anaconda
Durham
Northwest Territories
Chester
Richard Gere
Democratic Party
Program:
function: Find
inputs: Northwest Territories
function: Find
inputs: Nunavut
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Northwest Territories" .  } UNION { ?e <pred:name> "Nunavut" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Northwest Territories