Question: Is the elevation higher in Halifax, officially named Halifax Regional Municipality, or in Nottingham?
Choices: Santo Domingo
Halifax
Abidjan
Nottingham
Kilkenny
Bergen
Trieste
Chihuahua
Dundee
Kingston
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Halifax" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> "Halifax Regional Municipality" . } UNION { ?e <pred:name> "Nottingham" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Halifax
function: FilterStr
dependencies: 0
inputs: official name
Halifax Regional Municipality
function: Find
inputs: Nottingham
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
Answer: Halifax