Question: Which has higher elevation above sea level, Valencia (the one whose inception time is 1555) or Delhi?
Choices: Trieste
Delhi
Cork
Valencia
Abidjan
Bergen
Santo Domingo
Kingston
Kilkenny
Chihuahua
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Valencia" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1555 . } UNION { ?e <pred:name> "Delhi" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Valencia
function: FilterYear
dependencies: 0
inputs: inception
1555
=
function: Find
inputs: Delhi
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
Answer: Valencia