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