Question: I need to know which one has less prize money, Mike Bryan or Rafael Nadal
Choices:
Rahul Dev Burman
David Byrne
James E. Reilly
Paul Simon
William Henry Harrison
Sylvester Stallone
Simon Cowell
Richard Gere
Rafael Nadal
Mike Bryan
Program:
function: Find
inputs: Rafael Nadal
function: Find
inputs: Mike Bryan
function: SelectBetween
dependencies: 0
1
inputs: prize money
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rafael Nadal" .  } UNION { ?e <pred:name> "Mike Bryan" .  } ?e <prize_money> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mike Bryan