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