Question: Which area is smaller, Luton or Columbia (the one whose postal code is 21044–21046)?
Choices:
South Shields
Wigan
Luton
Wimbledon
Blackburn
Columbia
Macclesfield
Doncaster
Colchester
Edmonton
Answer: Luton
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Luton" . } UNION { ?e <pred:name> "Columbia" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "21044–21046" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Luton
function: Find
inputs: Columbia
function: FilterStr
dependencies: 1
inputs: postal code
21044–21046
function: SelectBetween
dependencies: 0
2
inputs: area
less