Question: I Albany (the one whose postal code is 12201–12212) higher above sea level than Fayetteville (the one whose official website is http://www.ci.fayetteville.nc.us), or vice versa?
Choices:
Waukegan
Fayetteville
Franklin
Columbus
Compton
Greenville
Boulder
Albany
Lansing
Oakland
Answer: Albany
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Albany" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "12201–12212" . } UNION { ?e <pred:name> "Fayetteville" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> "http://www.ci.fayetteville.nc.us" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Albany
function: FilterStr
dependencies: 0
inputs: postal code
12201–12212
function: Find
inputs: Fayetteville
function: FilterStr
dependencies: 2
inputs: official website
http://www.ci.fayetteville.nc.us
function: SelectBetween
dependencies: 1
3
inputs: elevation above sea level
greater