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