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