Question: Between Shrewsbury or Dorchester, which has less elevation above sea level as long as the area is 4.92 square kilometre?
Choices: Taunton
Ipswich
Warwick
Aylesbury
Shrewsbury
Bedford
Dorchester
Reading
Maidstone
Guildford
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shrewsbury" . } UNION { ?e <pred:name> "Dorchester" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "4.92"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Shrewsbury
function: Find
inputs: Dorchester
function: FilterNum
dependencies: 1
inputs: area
4.92 square kilometre
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less
Answer: Dorchester