Question: Who is taller: Stephen Colbert, from the cast of The Daily Show, or Reese Witherspoon?
Choices:
Richard Gere
James E. Reilly
Stephen Colbert
David Byrne
Max Fleischer
Rahul Dev Burman
Simon Cowell
William Henry Harrison
Reese Witherspoon
Paul Simon
Program:
function: Find
inputs: The Daily Show
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: Stephen Colbert
function: And
dependencies: 1
2
function: Find
inputs: Reese Witherspoon
function: SelectBetween
dependencies: 3
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Stephen Colbert" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "The Daily Show" .   } UNION { ?e <pred:name> "Reese Witherspoon" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Stephen Colbert