Question: Which area is smaller, Adelaide (the one whose local dialing code is 08725) or Santo Domingo?
Choices:
Cork
Trieste
Chihuahua
Santo Domingo
Kilkenny
Dundee
Adelaide
Abidjan
Bergen
Kingston
Answer: Adelaide
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Adelaide" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "08725" . } UNION { ?e <pred:name> "Santo Domingo" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Adelaide
function: FilterStr
dependencies: 0
inputs: local dialing code
08725
function: Find
inputs: Santo Domingo
function: SelectBetween
dependencies: 1
2
inputs: area
less