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