Question: Does Novak Djokovic or Leander Paes have less prize money?
Choices:
David Byrne
James E. Reilly
Leander Paes
Novak Djokovic
Rahul Dev Burman
William Henry Harrison
Richard Gere
Max Fleischer
Simon Cowell
Sylvester Stallone
Program:
function: Find
inputs: Novak Djokovic
function: Find
inputs: Leander Paes
function: SelectBetween
dependencies: 0
1
inputs: prize money
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Novak Djokovic" .  } UNION { ?e <pred:name> "Leander Paes" .  } ?e <prize_money> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Leander Paes