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