Question: Which is closer to sea level Veracruz (of subreddit veracruz)  or kwazulu-natal?
Choices:
Minas Gerais
Greater Poland Voivodeship
Podlaskie Voivodeship
Lublin Voivodeship
Chiapas
Upper Austria
Punjab
England
Veracruz
KwaZulu-Natal
Program:
function: Find
inputs: Veracruz
function: FilterStr
dependencies: 0
inputs: subreddit
veracruz
function: Find
inputs: KwaZulu-Natal
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Veracruz" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> "veracruz" . } UNION { ?e <pred:name> "KwaZulu-Natal" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Veracruz