Question: Who is taller, Steve McQueen (the one that is a cast member of The Sand Pebbles) or Stephen Colbert (the one that is the presenter of The Colbert Report)?
Choices:
Richard Gere
Rahul Dev Burman
Paul Simon
William Henry Harrison
David Byrne
Max Fleischer
James E. Reilly
Stephen Colbert
Simon Cowell
Sylvester Stallone
Answer: Stephen Colbert
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Steve McQueen" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "The Sand Pebbles" .   } UNION { ?e <pred:name> "Stephen Colbert" . ?e_2 <presenter> ?e . ?e_2 <pred:name> "The Colbert Report" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Sand Pebbles
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: Steve McQueen
function: And
dependencies: 1
2
function: Find
inputs: The Colbert Report
function: Relate
dependencies: 4
inputs: presenter
forward
function: Find
inputs: Stephen Colbert
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: height
greater