Question: Which one, Ellen DeGeneres or Gilbert Gottfried, has less net worth?
Choices:
Gilbert Gottfried
David Byrne
Sylvester Stallone
Max Fleischer
Richard Gere
Paul Simon
Ellen DeGeneres
William Henry Harrison
James E. Reilly
Simon Cowell
Program:
function: Find
inputs: Ellen DeGeneres
function: Find
inputs: Gilbert Gottfried
function: SelectBetween
dependencies: 0
1
inputs: net worth
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ellen DeGeneres" .  } UNION { ?e <pred:name> "Gilbert Gottfried" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Gilbert Gottfried