Question: Which one has more elevation above sea level between Jackson (the one founded in 1822) or Henderson?
Choices:
Columbus
Franklin
Boulder
Henderson
Waukegan
Greenville
Oakland
Jackson
New Haven
Lansing
Answer: Henderson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jackson" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1822 . } UNION { ?e <pred:name> "Henderson" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Jackson
function: FilterYear
dependencies: 0
inputs: inception
1822
=
function: Find
inputs: Henderson
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater