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