Question: Which area has higher elevation above sea level, Cedar Rapids (the one whose official website is http://www.cedar-rapids.org) or Medford (the one whose ISNI is 0000 0004 0374 2595)?
Choices:
Waukegan
Franklin
Cedar Rapids
Greenville
New Haven
Compton
Columbus
Medford
Oakland
Lansing
Answer: Cedar Rapids
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cedar Rapids" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.cedar-rapids.org" . } UNION { ?e <pred:name> "Medford" . ?e <ISNI> ?pv_2 . ?pv_2 <pred:value> "0000 0004 0374 2595" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Cedar Rapids
function: FilterStr
dependencies: 0
inputs: official website
http://www.cedar-rapids.org
function: Find
inputs: Medford
function: FilterStr
dependencies: 2
inputs: ISNI
0000 0004 0374 2595
function: SelectBetween
dependencies: 1
3
inputs: elevation above sea level
greater