Question: Whose net worth is lesser, Channing Tatum or Jacob Gedleyihlekisa Zuma
Choices:
James E. Reilly
Jacob Gedleyihlekisa Zuma
Paul Simon
William Henry Harrison
Rahul Dev Burman
Max Fleischer
Richard Gere
Channing Tatum
Simon Cowell
Sylvester Stallone
Program:
function: Find
inputs: Channing Tatum
function: Find
inputs: Jacob Gedleyihlekisa Zuma
function: SelectBetween
dependencies: 0
1
inputs: net worth
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Channing Tatum" .  } UNION { ?e <pred:name> "Jacob Gedleyihlekisa Zuma" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jacob Gedleyihlekisa Zuma