Question: Who is taller: Avril Lavigne or ice hockey's John Madden?
Choices:
Paul Simon
Sylvester Stallone
Rahul Dev Burman
Avril Lavigne
Max Fleischer
John Madden
David Byrne
Richard Gere
James E. Reilly
William Henry Harrison
Answer: John Madden
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "John Madden" . ?e <sport> ?e_1 . ?e_1 <pred:name> "ice hockey" .   } UNION { ?e <pred:name> "Avril Lavigne" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: ice hockey
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: John Madden
function: And
dependencies: 1
2
function: Find
inputs: Avril Lavigne
function: SelectBetween
dependencies: 3
4
inputs: height
greater