Question: Which one has earned more prize money, Roger Federer or Mike Bryan?
Choices:
Max Fleischer
William Henry Harrison
Simon Cowell
Richard Gere
Rahul Dev Burman
Roger Federer
David Byrne
Paul Simon
James E. Reilly
Mike Bryan
Program:
function: Find
inputs: Roger Federer
function: Find
inputs: Mike Bryan
function: SelectBetween
dependencies: 0
1
inputs: prize money
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Roger Federer" .  } UNION { ?e <pred:name> "Mike Bryan" .  } ?e <prize_money> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Roger Federer