Question: Which one, Salisbury (the one whose elevation (above sea level) is 8 metre) or Richmond (the one whose area is 11.420519 square kilometre), has less elevation (above sea level)?
Choices:
Greenville
Oakland
Richmond
Lansing
Waukegan
Salisbury
Franklin
New Haven
Compton
Columbus
Program:
function: Find
inputs: Salisbury
function: FilterNum
dependencies: 0
inputs: elevation above sea level
8 metre
=
function: Find
inputs: Richmond
function: FilterNum
dependencies: 2
inputs: area
11.420519 square kilometre
=
function: SelectBetween
dependencies: 1
3
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Salisbury" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "8"^^xsd:double . } UNION { ?e <pred:name> "Richmond" . ?e <area> ?pv_2 . ?pv_2 <pred:unit> "square kilometre" . ?pv_2 <pred:value> "11.420519"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Salisbury