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