Question: Who is shorter, Amitabh Bachchan or Jena Malone?
Choices:
William Henry Harrison
Simon Cowell
Paul Simon
Amitabh Bachchan
Jena Malone
Richard Gere
David Byrne
Max Fleischer
James E. Reilly
Sylvester Stallone
Program:
function: Find
inputs: Amitabh Bachchan
function: Find
inputs: Jena Malone
function: SelectBetween
dependencies: 0
1
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Amitabh Bachchan" .  } UNION { ?e <pred:name> "Jena Malone" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jena Malone