Question: Which area has higher elevation above sea level, Manchester (the one whose Dewey Decimal Classification is 2--7428) or New Bedford?
Choices: Greenville
Boulder
New Haven
Franklin
Manchester
Oakland
Lansing
Waukegan
New Bedford
Columbus
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Manchester" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> "2--7428" . } UNION { ?e <pred:name> "New Bedford" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Manchester
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
2--7428
function: Find
inputs: New Bedford
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
Answer: Manchester