Question: Does Timmins or Brunswick (German district key 03101) have a greater elevation above sea level?
Choices:
Abidjan
Kilkenny
Timmins
Bergen
Trieste
Santo Domingo
Kingston
Cork
Chihuahua
Dundee
Program:
function: Find
inputs: Timmins
function: Find
inputs: Brunswick
function: FilterStr
dependencies: 1
inputs: German district key
03101
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Timmins" . } UNION { ?e <pred:name> "Brunswick" . ?e <German_district_key> ?pv_1 . ?pv_1 <pred:value> "03101" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Timmins