Question: Is Roger Daltrey or The Who's influence, Jimi Hendrix, taller?
Choices:
Jimi Hendrix
Paul Simon
Richard Gere
Sylvester Stallone
Simon Cowell
David Byrne
Max Fleischer
William Henry Harrison
James E. Reilly
Rahul Dev Burman
Program:
function: Find
inputs: Roger Daltrey
function: Find
inputs: The Who
function: Relate
dependencies: 1
inputs: influenced by
forward
function: Find
inputs: Jimi Hendrix
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Roger Daltrey" .  } UNION { ?e <pred:name> "Jimi Hendrix" . ?e_1 <influenced_by> ?e . ?e_1 <pred:name> "The Who" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jimi Hendrix