Question: Is the net worth greater for Jerry Seinfeld or Bradley Cooper (the one that wins Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture)?
Choices:
Richard Gere
Rahul Dev Burman
Paul Simon
Jerry Seinfeld
Sylvester Stallone
David Byrne
Max Fleischer
James E. Reilly
William Henry Harrison
Bradley Cooper
Answer: Jerry Seinfeld
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jerry Seinfeld" .  } UNION { ?e <pred:name> "Bradley Cooper" . ?e_1 <winner> ?e . ?e_1 <pred:name> "Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture" .   } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Jerry Seinfeld
function: Find
inputs: Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture
function: Relate
dependencies: 1
inputs: winner
forward
function: Find
inputs: Bradley Cooper
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: net worth
greater