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