Question: Who is worth more, Jamie Foxx or Roger Federer?
Choices: Jamie Foxx
Richard Gere
Simon Cowell
David Byrne
Roger Federer
James E. Reilly
Rahul Dev Burman
Max Fleischer
Paul Simon
William Henry Harrison
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jamie Foxx" .  } UNION { ?e <pred:name> "Roger Federer" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Jamie Foxx
function: Find
inputs: Roger Federer
function: SelectBetween
dependencies: 0
1
inputs: net worth
greater
Answer: Roger Federer