Question: Which has higher elevation above sea level, Newcastle or Brunswick (the one whose official website is https://www.braunschweig.de/)?
Choices:
Cork
Brunswick
Abidjan
Dundee
Kingston
Kilkenny
Bergen
Santo Domingo
Trieste
Newcastle
Program:
function: Find
inputs: Newcastle
function: Find
inputs: Brunswick
function: FilterStr
dependencies: 1
inputs: official website
https://www.braunschweig.de/
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Newcastle" . } UNION { ?e <pred:name> "Brunswick" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "https://www.braunschweig.de/" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Brunswick