Question: Is there less area in Oxford or Bedford (the one whose local dialing code is 01234)?
Choices: Oxford
Warwick
Ipswich
Northampton
Aylesbury
Dorchester
Bedford
Reading
Guildford
Maidstone
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oxford" . } UNION { ?e <pred:name> "Bedford" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "01234" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Oxford
function: Find
inputs: Bedford
function: FilterStr
dependencies: 1
inputs: local dialing code
01234
function: SelectBetween
dependencies: 0
2
inputs: area
less
Answer: Bedford