Question: Which one, Canterbury or Plymouth (the one whose population is 267918), has greater population?
Choices:
Abidjan
Santo Domingo
Kingston
Bergen
Chihuahua
Canterbury
Trieste
Plymouth
Kilkenny
Dundee
Answer: Plymouth
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Canterbury" . } UNION { ?e <pred:name> "Plymouth" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "267918"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Canterbury
function: Find
inputs: Plymouth
function: FilterNum
dependencies: 1
inputs: population
267918
=
function: SelectBetween
dependencies: 0
2
inputs: population
greater