Question: Does Paul McCartney or Jennifer Lopez possess the lower net worth?
Choices:
Paul McCartney
James E. Reilly
Sylvester Stallone
Jennifer Lopez
William Henry Harrison
Simon Cowell
Rahul Dev Burman
Richard Gere
Max Fleischer
Paul Simon
Program:
function: Find
inputs: Paul McCartney
function: Find
inputs: Jennifer Lopez
function: SelectBetween
dependencies: 0
1
inputs: net worth
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Paul McCartney" .  } UNION { ?e <pred:name> "Jennifer Lopez" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jennifer Lopez