Question: Which has higher elevation above sea level, Wuhan or Athens (the one whose Dewey Decimal Classification is 2--49512)?
Choices: Kilkenny
Trieste
Wuhan
Santo Domingo
Dundee
Kingston
Bergen
Cork
Athens
Abidjan
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wuhan" . } UNION { ?e <pred:name> "Athens" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> "2--49512" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Wuhan
function: Find
inputs: Athens
function: FilterStr
dependencies: 1
inputs: Dewey Decimal Classification
2--49512
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater
Answer: Athens