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