Question: Which has the larger area, Saskatchewan, also known as Saskatchewanais, or Quebec with a population of 8164361?
Choices: Quebec
Prince Edward Island
New Brunswick
British Columbia
Newfoundland and Labrador
Alberta
Saskatchewan
Nova Scotia
Ontario
Manitoba
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Saskatchewan" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "Saskatchewanais" . } UNION { ?e <pred:name> "Quebec" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "8164361"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Saskatchewan
function: FilterStr
dependencies: 0
inputs: demonym
Saskatchewanais
function: Find
inputs: Quebec
function: FilterNum
dependencies: 2
inputs: population
8164361
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater
Answer: Quebec