Question: Which one, Nashua or Springfield (the one whose ISNI is 0000 0004 4661 4753), has greater elevation (above sea level)?
Choices:
Springfield
Lansing
Franklin
Columbus
Greenville
New Haven
Nashua
Oakland
Boulder
Compton
Answer: Springfield
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nashua" . } UNION { ?e <pred:name> "Springfield" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0004 4661 4753" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Nashua
function: Find
inputs: Springfield
function: FilterStr
dependencies: 1
inputs: ISNI
0000 0004 4661 4753
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater