Question: Which area has more people, Victoria (the one whose Statistics Canada Geographic code is 5917034) or Kilkenny?
Choices:
Chihuahua
Cairo
Victoria
Kingston
Bergen
Kilkenny
Cork
Abidjan
Dundee
Trieste
Answer: Victoria
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Victoria" . ?e <Statistics_Canada_Geographic_code> ?pv_1 . ?pv_1 <pred:value> "5917034" . } UNION { ?e <pred:name> "Kilkenny" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Victoria
function: FilterStr
dependencies: 0
inputs: Statistics Canada Geographic code
5917034
function: Find
inputs: Kilkenny
function: SelectBetween
dependencies: 1
2
inputs: population
greater