Question: Who has fewer children, Alicia Silverstone or David O. Russell?
Choices:
Alicia Silverstone
James E. Reilly
Max Fleischer
Sylvester Stallone
Paul Simon
Richard Gere
Simon Cowell
David O. Russell
Rahul Dev Burman
William Henry Harrison
Program:
function: Find
inputs: Alicia Silverstone
function: Find
inputs: David O. Russell
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alicia Silverstone" .  } UNION { ?e <pred:name> "David O. Russell" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Alicia Silverstone