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