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