Question: Is the Adriatic Sea or the Aegean Sea shallower?
Choices:
Green Bay
County Kilkenny
Caribbean Sea
Aegean Sea
Milwaukee Admirals
Long Branch
North Sea
Mediterranean Sea
English Channel
Adriatic Sea
Program:
function: Find
inputs: Adriatic Sea
function: Find
inputs: Aegean Sea
function: SelectBetween
dependencies: 0
1
inputs: vertical depth
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Adriatic Sea" .  } UNION { ?e <pred:name> "Aegean Sea" .  } ?e <vertical_depth> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Adriatic Sea