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