Question: Which is taller, Alfred Hitchcock or Jim Brown who is related to basketball?
Choices:
Sylvester Stallone
William Henry Harrison
Rahul Dev Burman
Simon Cowell
Paul Simon
James E. Reilly
Jim Brown
Richard Gere
David Byrne
Alfred Hitchcock
Answer: Jim Brown
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alfred Hitchcock" .  } UNION { ?e <pred:name> "Jim Brown" . ?e <sport> ?e_1 . ?e_1 <pred:name> "basketball" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Alfred Hitchcock
function: Find
inputs: basketball
function: Relate
dependencies: 1
inputs: sport
backward
function: Find
inputs: Jim Brown
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
greater