Question: Which is higher in elevation: Leicester, or the Jerusalem designated by ISNI 0000 0001 2158 6491?
Choices:
Cork
Jerusalem
Santo Domingo
Dundee
Abidjan
Leicester
Kingston
Bergen
Chihuahua
Trieste
Program:
function: Find
inputs: Leicester
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> "Leicester" . } 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