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