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