Question: Which sea is smaller, North Sea or Mediterranean Sea?
Choices:
English Channel
Mediterranean Sea
Caribbean Sea
Green Bay
Bill Wyman
Aegean Sea
Pat Hingle
Adriatic Sea
Legends of the Fall
North Sea
Program:
function: Find
inputs: North Sea
function: Find
inputs: Mediterranean Sea
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "North Sea" .  } UNION { ?e <pred:name> "Mediterranean Sea" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: North Sea