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