Question: Is Dwayne Johnson or Blair Underwood worth less wealth wise?
Choices:
William Henry Harrison
Simon Cowell
Sylvester Stallone
Rahul Dev Burman
Richard Gere
David Byrne
Paul Simon
Dwayne Johnson
James E. Reilly
Blair Underwood
Program:
function: Find
inputs: Blair Underwood
function: Find
inputs: Dwayne Johnson
function: SelectBetween
dependencies: 0
1
inputs: net worth
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Blair Underwood" .  } UNION { ?e <pred:name> "Dwayne Johnson" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Blair Underwood