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