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