Question: Which has lower elevation above sea level, Niagara Falls whose official website is http://www.niagarafalls.ca/) or Erfurt?
Choices:
Abidjan
Erfurt
Bergen
Cork
Niagara Falls
Dundee
Santo Domingo
Trieste
Chihuahua
Kilkenny
Answer: Niagara Falls
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Niagara Falls" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.niagarafalls.ca/" . } UNION { ?e <pred:name> "Erfurt" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Niagara Falls
function: FilterStr
dependencies: 0
inputs: official website
http://www.niagarafalls.ca/
function: Find
inputs: Erfurt
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less