Question: Is the elevation lower in Canton of Valais or in Tasmania (where 17 is the age of consent)?
Choices:
Upper Austria
Podlaskie Voivodeship
Chiapas
Greater Poland Voivodeship
Tasmania
Canton of Valais
England
Punjab
Minas Gerais
Lublin Voivodeship
Program:
function: Find
inputs: Canton of Valais
function: Find
inputs: Tasmania
function: FilterNum
dependencies: 1
inputs: age of consent
17 years old
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Canton of Valais" . } UNION { ?e <pred:name> "Tasmania" . ?e <age_of_consent> ?pv_1 . ?pv_1 <pred:unit> "years old" . ?pv_1 <pred:value> "17"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Canton of Valais