Question: Does Jennifer Jason Leigh or Robert Carlyle have more children?
Choices: Jennifer Jason Leigh
James E. Reilly
Rahul Dev Burman
Sylvester Stallone
William Henry Harrison
Robert Carlyle
Richard Gere
Max Fleischer
Paul Simon
Simon Cowell
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jennifer Jason Leigh" .  } UNION { ?e <pred:name> "Robert Carlyle" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Jennifer Jason Leigh
function: Find
inputs: Robert Carlyle
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
Answer: Robert Carlyle