Question: Between the Mediterranean Sea or the North Sea, which is shallower?
Choices:
English Channel
Mediterranean Sea
North Sea
Adam Ant
Caribbean Sea
Green Bay
Spy Game
Adriatic Sea
Aegean Sea
Crystal Palace F.C.
Program:
function: Find
inputs: Mediterranean Sea
function: Find
inputs: North Sea
function: SelectBetween
dependencies: 0
1
inputs: vertical depth
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mediterranean Sea" .  } UNION { ?e <pred:name> "North Sea" .  } ?e <vertical_depth> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: North Sea