Question: Which area has fewer people, Derby (the one whose OS grid reference is SK3533936187) or Belgrade?
Choices:
Cork
Derby
Abidjan
Kingston
Trieste
Chihuahua
Santo Domingo
Dundee
Belgrade
Kilkenny
Answer: Derby
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Derby" . ?e <OS_grid_reference> ?pv_1 . ?pv_1 <pred:value> "SK3533936187" . } UNION { ?e <pred:name> "Belgrade" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Derby
function: FilterStr
dependencies: 0
inputs: OS grid reference
SK3533936187
function: Find
inputs: Belgrade
function: SelectBetween
dependencies: 1
2
inputs: population
less