Question: Who is taller, the John Williams who succumbed to prostate cancer or Leon Trotsky?
Choices: Max Fleischer
James E. Reilly
Rahul Dev Burman
Leon Trotsky
Richard Gere
David Byrne
Paul Simon
John Williams
William Henry Harrison
Simon Cowell
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "John Williams" . ?e <cause_of_death> ?e_1 . ?e_1 <pred:name> "prostate cancer" .   } UNION { ?e <pred:name> "Leon Trotsky" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: prostate cancer
function: Relate
dependencies: 0
inputs: cause of death
backward
function: Find
inputs: John Williams
function: And
dependencies: 1
2
function: Find
inputs: Leon Trotsky
function: SelectBetween
dependencies: 3
4
inputs: height
greater
Answer: John Williams