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