Question: Which area is smaller, Prince Edward Island or Quebec (the one that locates in the continent of North America)?
Choices: Quebec
Ontario
Manitoba
Saskatchewan
New Brunswick
Nova Scotia
Newfoundland and Labrador
Alberta
British Columbia
Prince Edward Island
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Prince Edward Island" .  } UNION { ?e <pred:name> "Quebec" . ?e <continent> ?e_1 . ?e_1 <pred:name> "North America" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Prince Edward Island
function: Find
inputs: North America
function: Relate
dependencies: 1
inputs: continent
backward
function: Find
inputs: Quebec
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
Answer: Prince Edward Island