Question: Is the net worth of Robert Downey Jr. or Jacob Gedleyihlekisa Zuma the higher of the two?
Choices:
Robert Downey Jr.
Jacob Gedleyihlekisa Zuma
Sylvester Stallone
Max Fleischer
Richard Gere
Rahul Dev Burman
Simon Cowell
William Henry Harrison
James E. Reilly
Paul Simon
Answer: Robert Downey Jr.
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Robert Downey Jr." .  } UNION { ?e <pred:name> "Jacob Gedleyihlekisa Zuma" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Robert Downey Jr.
function: Find
inputs: Jacob Gedleyihlekisa Zuma
function: SelectBetween
dependencies: 0
1
inputs: net worth
greater