Question: Who is worth more, Robert Downey Jr. or Channing Tatum?
Choices:
Sylvester Stallone
James E. Reilly
Paul Simon
David Byrne
Max Fleischer
Channing Tatum
Robert Downey Jr.
Simon Cowell
William Henry Harrison
Richard Gere
Program:
function: Find
inputs: Robert Downey Jr.
function: Find
inputs: Channing Tatum
function: SelectBetween
dependencies: 0
1
inputs: net worth
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Robert Downey Jr." .  } UNION { ?e <pred:name> "Channing Tatum" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Robert Downey Jr.