Question: Does Reading (whose TOID is 4000000074570043) or Dorchester (whose area is 4.92 square kilometers) have the higher elevation above sea level?
Choices: Guildford
Bedford
Maidstone
Warwick
Aylesbury
Taunton
Oxford
Ipswich
Dorchester
Reading
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Reading" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> "4000000074570043" . } UNION { ?e <pred:name> "Dorchester" . ?e <area> ?pv_2 . ?pv_2 <pred:unit> "square kilometre" . ?pv_2 <pred:value> "4.92"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Reading
function: FilterStr
dependencies: 0
inputs: TOID
4000000074570043
function: Find
inputs: Dorchester
function: FilterNum
dependencies: 2
inputs: area
4.92 square kilometre
=
function: SelectBetween
dependencies: 1
3
inputs: elevation above sea level
greater
Answer: Reading