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