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