Question: Does Dwayne Johnson or Kate Moss have the lower personal net worth?
Choices:
Kate Moss
James E. Reilly
Paul Simon
Richard Gere
Sylvester Stallone
Max Fleischer
Dwayne Johnson
Rahul Dev Burman
Simon Cowell
William Henry Harrison
Program:
function: Find
inputs: Dwayne Johnson
function: Find
inputs: Kate Moss
function: SelectBetween
dependencies: 0
1
inputs: net worth
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dwayne Johnson" .  } UNION { ?e <pred:name> "Kate Moss" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kate Moss