Question: Does  Lakewood or Danville (established in 1785) have the lower elevation above sea level?
Choices:
Oakland
Danville
Waukegan
Franklin
New Haven
Greenville
Columbus
Compton
Lakewood
Lansing
Answer: Lakewood
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lakewood" . } UNION { ?e <pred:name> "Danville" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1785 . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Lakewood
function: Find
inputs: Danville
function: FilterYear
dependencies: 1
inputs: inception
1785
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less