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