Question: Which area has lower elevation above sea level, Syracuse (the one whose official website is http://www.comune.siracusa.it) or Agra?
Choices:
Agra
Santo Domingo
Syracuse
Cork
Bergen
Abidjan
Kingston
Trieste
Dundee
Kilkenny
Program:
function: Find
inputs: Syracuse
function: FilterStr
dependencies: 0
inputs: official website
http://www.comune.siracusa.it
function: Find
inputs: Agra
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Syracuse" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.comune.siracusa.it" . } UNION { ?e <pred:name> "Agra" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Syracuse