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