Question: Is Jeff Gordon or Amitabh Bachchan taller?
Choices:
Amitabh Bachchan
James E. Reilly
Jeff Gordon
Sylvester Stallone
Simon Cowell
Richard Gere
Max Fleischer
William Henry Harrison
David Byrne
Rahul Dev Burman
Program:
function: Find
inputs: Jeff Gordon
function: Find
inputs: Amitabh Bachchan
function: SelectBetween
dependencies: 0
1
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jeff Gordon" .  } UNION { ?e <pred:name> "Amitabh Bachchan" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Amitabh Bachchan