Question: Which has less of an elevation above sea level, Beverly Hills or Columbus (the one whose official website is http://www.columbusga.org)?
Choices:
Boulder
Lansing
Waukegan
Oakland
New Haven
New Britain
Compton
Franklin
Beverly Hills
Columbus
Program:
function: Find
inputs: Beverly Hills
function: Find
inputs: Columbus
function: FilterStr
dependencies: 1
inputs: official website
http://www.columbusga.org
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beverly Hills" . } UNION { ?e <pred:name> "Columbus" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.columbusga.org" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Columbus