Question: Who has more net worth between Leonardo DiCaprio and Jennifer Lopez?
Choices:
Richard Gere
Leonardo DiCaprio
Simon Cowell
Jennifer Lopez
David Byrne
Sylvester Stallone
Paul Simon
William Henry Harrison
James E. Reilly
Rahul Dev Burman
Answer: Jennifer Lopez
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Leonardo DiCaprio" .  } UNION { ?e <pred:name> "Jennifer Lopez" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Leonardo DiCaprio
function: Find
inputs: Jennifer Lopez
function: SelectBetween
dependencies: 0
1
inputs: net worth
greater