Question: Whose net worth is higher, voice actor Mel Gibson or Channing Tatum?
Choices: Simon Cowell
David Byrne
James E. Reilly
Channing Tatum
Sylvester Stallone
Richard Gere
Mel Gibson
William Henry Harrison
Paul Simon
Max Fleischer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mel Gibson" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "voice actor" .   } UNION { ?e <pred:name> "Channing Tatum" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: voice actor
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Mel Gibson
function: And
dependencies: 1
2
function: Find
inputs: Channing Tatum
function: SelectBetween
dependencies: 3
4
inputs: net worth
greater
Answer: Mel Gibson