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