Question: Which celebrity has the higher net worth, Jamie Foxx or Selena Gomez?
Choices: David Byrne
Paul Simon
Sylvester Stallone
Simon Cowell
William Henry Harrison
Max Fleischer
Rahul Dev Burman
James E. Reilly
Jamie Foxx
Selena Gomez
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jamie Foxx" .  } UNION { ?e <pred:name> "Selena Gomez" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Jamie Foxx
function: Find
inputs: Selena Gomez
function: SelectBetween
dependencies: 0
1
inputs: net worth
greater
Answer: Jamie Foxx