Question: Who has more net worth, Bill Cosby or Swizz Beatz?
Choices: Max Fleischer
Rahul Dev Burman
Swizz Beatz
Sylvester Stallone
Richard Gere
David Byrne
Bill Cosby
Paul Simon
Simon Cowell
James E. Reilly
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bill Cosby" .  } UNION { ?e <pred:name> "Swizz Beatz" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Bill Cosby
function: Find
inputs: Swizz Beatz
function: SelectBetween
dependencies: 0
1
inputs: net worth
greater
Answer: Bill Cosby