Question: Who is taller, Orlando Bloom or Michael Jordan (the one that influenced Kobe Bryant)?
Choices:
Richard Gere
Simon Cowell
Sylvester Stallone
Rahul Dev Burman
Michael Jordan
Orlando Bloom
Paul Simon
William Henry Harrison
Max Fleischer
James E. Reilly
Program:
function: Find
inputs: Orlando Bloom
function: Find
inputs: Kobe Bryant
function: Relate
dependencies: 1
inputs: influenced by
forward
function: Find
inputs: Michael Jordan
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Orlando Bloom" .  } UNION { ?e <pred:name> "Michael Jordan" . ?e_1 <influenced_by> ?e . ?e_1 <pred:name> "Kobe Bryant" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Michael Jordan