Question: Does Barnsley or Woking with a TOID of 4000000074549970 have a greater area?
Choices:
South Shields
Wigan
Blackburn
Doncaster
Barnsley
Wimbledon
Macclesfield
Colchester
Edmonton
Woking
Program:
function: Find
inputs: Barnsley
function: Find
inputs: Woking
function: FilterStr
dependencies: 1
inputs: TOID
4000000074549970
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Barnsley" . } UNION { ?e <pred:name> "Woking" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> "4000000074549970" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Woking