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