Question: Which city has more people, Santa Fe (with a population of 405683) or Bendigo?
Choices:
Kingston
Kilkenny
Bergen
Santa Fe
Trieste
Chihuahua
Abidjan
Santo Domingo
Dundee
Bendigo
Answer: Santa Fe
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Santa Fe" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "405683"^^xsd:double . } UNION { ?e <pred:name> "Bendigo" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Santa Fe
function: FilterNum
dependencies: 0
inputs: population
405683
=
function: Find
inputs: Bendigo
function: SelectBetween
dependencies: 1
2
inputs: population
greater