Question: Who has a smaller net worth, Bill Cosby or Paul McCartney?
Choices:
James E. Reilly
Richard Gere
Max Fleischer
Paul McCartney
Paul Simon
Rahul Dev Burman
William Henry Harrison
Simon Cowell
Sylvester Stallone
Bill Cosby
Answer: Bill Cosby
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bill Cosby" .  } UNION { ?e <pred:name> "Paul McCartney" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Bill Cosby
function: Find
inputs: Paul McCartney
function: SelectBetween
dependencies: 0
1
inputs: net worth
less