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