Question: Does Newfoundland and Labrador or Manitoba have less land area?
Choices:
Prince Edward Island
Quebec
Alberta
Ontario
Manitoba
Nova Scotia
Newfoundland and Labrador
New Brunswick
Saskatchewan
British Columbia
Program:
function: Find
inputs: Newfoundland and Labrador
function: Find
inputs: Manitoba
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Newfoundland and Labrador" .  } UNION { ?e <pred:name> "Manitoba" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Newfoundland and Labrador