Question: Is Gwyneth Paltrow or Ronald Reagan shorter?
Choices:
Richard Gere
David Byrne
Simon Cowell
Max Fleischer
James E. Reilly
Gwyneth Paltrow
Rahul Dev Burman
Sylvester Stallone
Ronald Reagan
Paul Simon
Program:
function: Find
inputs: Gwyneth Paltrow
function: Find
inputs: Ronald Reagan
function: SelectBetween
dependencies: 0
1
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Gwyneth Paltrow" .  } UNION { ?e <pred:name> "Ronald Reagan" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Gwyneth Paltrow