Question: Which one has more people living there, Leeds (01333 as the local dialing code) or Stockholm ?
Choices: Abidjan
Kingston
Trieste
Bergen
Chihuahua
Dundee
Cork
Kilkenny
Stockholm
Santo Domingo
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Leeds" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "0113" . } UNION { ?e <pred:name> "Stockholm" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Leeds
function: FilterStr
dependencies: 0
inputs: local dialing code
0113
function: Find
inputs: Stockholm
function: SelectBetween
dependencies: 1
2
inputs: population
greater
Answer: Stockholm