Question: Does Avignon or Saint John (the one whose Statistics Canada Geographic code is 1301006), have less area ?
Choices:
Santo Domingo
Abidjan
Dundee
Kilkenny
Chihuahua
Cork
Avignon
Kingston
Bergen
Saint John
Program:
function: Find
inputs: Avignon
function: Find
inputs: Saint John
function: FilterStr
dependencies: 1
inputs: Statistics Canada Geographic code
1301006
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Avignon" . } UNION { ?e <pred:name> "Saint John" . ?e <Statistics_Canada_Geographic_code> ?pv_1 . ?pv_1 <pred:value> "1301006" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Avignon