Question: Which is higher above sea level, Thessaloniki or Groningen (official website http://portal.groningen.nl/)?
Choices:
Kilkenny
Cork
Bergen
Trieste
Chihuahua
Thessaloniki
Santo Domingo
Dundee
Abidjan
Kingston
Program:
function: Find
inputs: Thessaloniki
function: Find
inputs: Groningen
function: FilterStr
dependencies: 1
inputs: official website
http://portal.groningen.nl/
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Thessaloniki" . } UNION { ?e <pred:name> "Groningen" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://portal.groningen.nl/" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Thessaloniki