Question: Who is shorter, Michael Jeter or Joe Pesci?
Choices:
Richard Gere
Rahul Dev Burman
Sylvester Stallone
David Byrne
Michael Jeter
Joe Pesci
James E. Reilly
Simon Cowell
William Henry Harrison
Paul Simon
Program:
function: Find
inputs: Michael Jeter
function: Find
inputs: Joe Pesci
function: SelectBetween
dependencies: 0
1
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Michael Jeter" .  } UNION { ?e <pred:name> "Joe Pesci" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Joe Pesci