Question: Which has a greater above sea level elevation, Green Bay (whose official website is http://www.ci.green-bay.wi.us) or Anderson (whose official website is http://www.cityofanderson.com/)?
Choices:
Lansing
Boulder
Anderson
Waukegan
Greenville
New Haven
Compton
Oakland
Green Bay
Franklin
Program:
function: Find
inputs: Green Bay
function: FilterStr
dependencies: 0
inputs: official website
http://www.ci.green-bay.wi.us
function: Find
inputs: Anderson
function: FilterStr
dependencies: 2
inputs: official website
http://www.cityofanderson.com/
function: SelectBetween
dependencies: 1
3
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Green Bay" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.ci.green-bay.wi.us" . } UNION { ?e <pred:name> "Anderson" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> "http://www.cityofanderson.com/" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Anderson