Question: Which one, Trieste or Birmingham (the one whose NUTS code is UKG31), has less elevation (above sea level)?
Choices:
Trieste
Abidjan
Santo Domingo
Kilkenny
Chihuahua
Bergen
Birmingham
Cairo
Cork
Kingston
Answer: Trieste
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Trieste" . } UNION { ?e <pred:name> "Birmingham" . ?e <NUTS_code> ?pv_1 . ?pv_1 <pred:value> "UKG31" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Trieste
function: Find
inputs: Birmingham
function: FilterStr
dependencies: 1
inputs: NUTS code
UKG31
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less