Question: Is Brad Pitt or Debbie Reynolds shorter in height?
Choices:
Sylvester Stallone
David Byrne
Brad Pitt
Rahul Dev Burman
Paul Simon
Debbie Reynolds
Simon Cowell
William Henry Harrison
James E. Reilly
Max Fleischer
Program:
function: Find
inputs: Brad Pitt
function: Find
inputs: Debbie Reynolds
function: SelectBetween
dependencies: 0
1
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brad Pitt" .  } UNION { ?e <pred:name> "Debbie Reynolds" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Debbie Reynolds