Question: Which one is larger, Winston-Salem or Burlington (the one whose elevation (above sea level) is 185 metre) ?
Choices: Burlington
Compton
Winston-Salem
Boulder
New Haven
Oakland
Franklin
Lansing
Waukegan
Columbus
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Winston-Salem" . } UNION { ?e <pred:name> "Burlington" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "185"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Winston-Salem
function: Find
inputs: Burlington
function: FilterNum
dependencies: 1
inputs: elevation above sea level
185 metre
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater
Answer: Winston-Salem