Question: Which has higher elevation above sea level, Belleville whose official website is http://www.belleville.net/ or Lima that was established in 1831?
Choices:
New Haven
Waukegan
Columbus
Belleville
Lansing
Boulder
Lima
Compton
Oakland
Franklin
Program:
function: Find
inputs: Belleville
function: FilterStr
dependencies: 0
inputs: official website
http://www.belleville.net/
function: Find
inputs: Lima
function: FilterYear
dependencies: 2
inputs: inception
1831
=
function: SelectBetween
dependencies: 1
3
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Belleville" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.belleville.net/" . } UNION { ?e <pred:name> "Lima" . ?e <inception> ?pv_2 . ?pv_2 <pred:year> 1831 . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lima