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