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