Question: Among Samuel L. Jackson and Roger Federer, who has a greater net worth
Choices:
Samuel L. Jackson
David Byrne
Max Fleischer
Rahul Dev Burman
Paul Simon
Simon Cowell
William Henry Harrison
Roger Federer
Richard Gere
James E. Reilly
Answer: Roger Federer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Samuel L. Jackson" .  } UNION { ?e <pred:name> "Roger Federer" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Samuel L. Jackson
function: Find
inputs: Roger Federer
function: SelectBetween
dependencies: 0
1
inputs: net worth
greater