Question: Does Jackson (official website www.cityofjackson.net) or Quincy (zip codes 02169–02171) have the higher elevation?
Choices: Franklin
Waukegan
Greenville
Oakland
Columbus
Lansing
New Haven
Quincy
Compton
Jackson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jackson" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.cityofjackson.net/" . } UNION { ?e <pred:name> "Quincy" . ?e <postal_code> ?pv_2 . ?pv_2 <pred:value> "02169–02171" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Jackson
function: FilterStr
dependencies: 0
inputs: official website
http://www.cityofjackson.net/
function: Find
inputs: Quincy
function: FilterStr
dependencies: 2
inputs: postal code
02169–02171
function: SelectBetween
dependencies: 1
3
inputs: elevation above sea level
greater
Answer: Jackson