Question: Which has less of an elevation above sea level, Lyon or Ontario (the one whose inception time is 1891-12-10)?
Choices:
Lyon
Dnipro
Bordeaux
Ontario
Stuttgart
Utrecht
Fort Smith
Wuppertal
Aachen
Regensburg
Program:
function: Find
inputs: Lyon
function: Find
inputs: Ontario
function: FilterDate
dependencies: 1
inputs: inception
1891-12-10
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lyon" . } UNION { ?e <pred:name> "Ontario" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1891-12-10"^^xsd:date . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Lyon