Question: Does Bury (whose area is 30.1 square kilometers) or Southend-on-Sea have the larger area?
Choices:
Blackburn
Edmonton
South Shields
Doncaster
Southend-on-Sea
Colchester
Wigan
Wimbledon
Bury
Royal Tunbridge Wells
Program:
function: Find
inputs: Bury
function: FilterNum
dependencies: 0
inputs: area
30.1 square kilometre
=
function: Find
inputs: Southend-on-Sea
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bury" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "30.1"^^xsd:double . } UNION { ?e <pred:name> "Southend-on-Sea" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Southend-on-Sea