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