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