Question: Which has lower elevation above sea level, Bristol or Jerusalem whose ISNI is 0000 0001 2158 6491?
Choices:
Cork
Kilkenny
Dundee
Bristol
Jerusalem
Kingston
Abidjan
Chihuahua
Bergen
Trieste
Answer: Bristol
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bristol" . } 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 ?v LIMIT 1
Program:
function: Find
inputs: Bristol
function: Find
inputs: Jerusalem
function: FilterStr
dependencies: 1
inputs: ISNI
0000 0001 2158 6491
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less