Question: Which has the larger area, Pyongyang or Perth, which has a local dialing code of 08941?
Choices: Trieste
Cork
Chihuahua
Kingston
Kilkenny
Pyongyang
Dundee
Perth
Santo Domingo
Abidjan
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pyongyang" . } UNION { ?e <pred:name> "Perth" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "08941" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Pyongyang
function: Find
inputs: Perth
function: FilterStr
dependencies: 1
inputs: local dialing code
08941
function: SelectBetween
dependencies: 0
2
inputs: area
greater
Answer: Perth