Question: Is the elevation lower for Longview (official website is http://www.longviewtx.com/) or Davis (founded in 1868)?
Choices:
Boulder
Waukegan
Oakland
New Haven
Compton
Greenville
Davis
Lansing
Longview
Columbus
Program:
function: Find
inputs: Longview
function: FilterStr
dependencies: 0
inputs: official website
http://www.longviewtx.com/
function: Find
inputs: Davis
function: FilterYear
dependencies: 2
inputs: inception
1868
=
function: SelectBetween
dependencies: 1
3
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Longview" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.longviewtx.com/" . } UNION { ?e <pred:name> "Davis" . ?e <inception> ?pv_2 . ?pv_2 <pred:year> 1868 . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Davis