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