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