Question: Does Nunavut or Northwest Territories have the greater area?
Choices:
Nunavut
Lauren Tom
Northwest Territories
Tejano music
Scott Pilgrim vs. the World
Essex County
Durham
We Were Soldiers
chancellor
Yukon
Program:
function: Find
inputs: Nunavut
function: Find
inputs: Northwest Territories
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nunavut" .  } UNION { ?e <pred:name> "Northwest Territories" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Nunavut