Question: Between Olivia d'Abo and Robert Morley, who's got more kids?
Choices:
James E. Reilly
Robert Morley
David Byrne
Paul Simon
Richard Gere
Rahul Dev Burman
William Henry Harrison
Max Fleischer
Simon Cowell
Olivia d'Abo
Program:
function: Find
inputs: Robert Morley
function: Find
inputs: Olivia d'Abo
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Robert Morley" .  } UNION { ?e <pred:name> "Olivia d'Abo" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Robert Morley