Question: Does Mike Bryan or Serena Williams have more prize money?
Choices:
Rahul Dev Burman
Max Fleischer
James E. Reilly
William Henry Harrison
Simon Cowell
Sylvester Stallone
Paul Simon
Serena Williams
Richard Gere
Mike Bryan
Program:
function: Find
inputs: Mike Bryan
function: Find
inputs: Serena Williams
function: SelectBetween
dependencies: 0
1
inputs: prize money
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mike Bryan" .  } UNION { ?e <pred:name> "Serena Williams" .  } ?e <prize_money> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Serena Williams