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