Question: Is the lower elevation in Bangor (official website www.bangormaine.gov) or in Melbourne, zip code 32901?
Choices:
New Haven
Waukegan
Bangor
Franklin
Greenville
Compton
Lansing
Columbus
Oakland
Melbourne
Answer: Melbourne
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bangor" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.bangormaine.gov" . } UNION { ?e <pred:name> "Melbourne" . ?e <postal_code> ?pv_2 . ?pv_2 <pred:value> "32901" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Bangor
function: FilterStr
dependencies: 0
inputs: official website
http://www.bangormaine.gov
function: Find
inputs: Melbourne
function: FilterStr
dependencies: 2
inputs: postal code
32901
function: SelectBetween
dependencies: 1
3
inputs: elevation above sea level
less