Question: Who is worth less, Blair Underwood or Mark Cuban?
Choices:
Rahul Dev Burman
Sylvester Stallone
James E. Reilly
Max Fleischer
William Henry Harrison
Richard Gere
Simon Cowell
Paul Simon
Blair Underwood
Mark Cuban
Program:
function: Find
inputs: Blair Underwood
function: Find
inputs: Mark Cuban
function: SelectBetween
dependencies: 0
1
inputs: net worth
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Blair Underwood" .  } UNION { ?e <pred:name> "Mark Cuban" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Blair Underwood