Question: Does Jennifer Aniston or David Beckham have greater net worth?
Choices: Jennifer Aniston
Sylvester Stallone
Paul Simon
David Byrne
David Beckham
Rahul Dev Burman
Richard Gere
James E. Reilly
William Henry Harrison
Max Fleischer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jennifer Aniston" .  } UNION { ?e <pred:name> "David Beckham" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Jennifer Aniston
function: Find
inputs: David Beckham
function: SelectBetween
dependencies: 0
1
inputs: net worth
greater
Answer: David Beckham