Question: Which occupies a smaller area, Honolulu County or Somerville (elevation 4 metres)?
Choices: Somerville
Lansing
Columbus
Honolulu County
Greenville
Waukegan
New Haven
Franklin
Oakland
Compton
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Honolulu County" . } UNION { ?e <pred:name> "Somerville" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "4"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Honolulu County
function: Find
inputs: Somerville
function: FilterNum
dependencies: 1
inputs: elevation above sea level
4 metre
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
Answer: Somerville