Question: Which is shorter, Lake Erie or Lake Superior?
Choices:
Jason Isaacs
John Locke
Lake Michigan
Lake Superior
Clan Douglas
Don't Be Afraid of the Dark
Lake Erie
N. T. Rama Rao
Melville Shavelson
Uma Thurman
Program:
function: Find
inputs: Lake Erie
function: Find
inputs: Lake Superior
function: SelectBetween
dependencies: 0
1
inputs: length
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lake Erie" .  } UNION { ?e <pred:name> "Lake Superior" .  } ?e <length> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Lake Erie