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