Question: Is the smaller area occupied by Barrow-in-Furness, at zip code LA14, or Great Yarmouth, with TOID # 4000000074571206?
Choices:
Edmonton
Great Yarmouth
Macclesfield
Royal Tunbridge Wells
Colchester
Doncaster
South Shields
Wigan
Blackburn
Barrow-in-Furness
Answer: Great Yarmouth
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Barrow-in-Furness" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "LA14" . } UNION { ?e <pred:name> "Great Yarmouth" . ?e <TOID> ?pv_2 . ?pv_2 <pred:value> "4000000074571206" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Barrow-in-Furness
function: FilterStr
dependencies: 0
inputs: postal code
LA14
function: Find
inputs: Great Yarmouth
function: FilterStr
dependencies: 2
inputs: TOID
4000000074571206
function: SelectBetween
dependencies: 1
3
inputs: area
less