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