Question: Does Warsaw or Jerusalem (whose ISNI is 0000 0001 2158 6491) have the higher elevation above sea level?
Choices:
Kilkenny
Jerusalem
Santo Domingo
Trieste
Kingston
Cork
Chihuahua
Warsaw
Bergen
Dundee
Program:
function: Find
inputs: Warsaw
function: Find
inputs: Jerusalem
function: FilterStr
dependencies: 1
inputs: ISNI
0000 0001 2158 6491
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Warsaw" . } UNION { ?e <pred:name> "Jerusalem" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0001 2158 6491" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jerusalem