Question: Does Morgan Freeman or Robert Downey Jr. have a greater net worth?
Choices: William Henry Harrison
Paul Simon
Sylvester Stallone
Simon Cowell
Morgan Freeman
Robert Downey Jr.
Max Fleischer
David Byrne
Rahul Dev Burman
Richard Gere
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Morgan Freeman" .  } UNION { ?e <pred:name> "Robert Downey Jr." .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Morgan Freeman
function: Find
inputs: Robert Downey Jr.
function: SelectBetween
dependencies: 0
1
inputs: net worth
greater
Answer: Robert Downey Jr.