Question: Which has a greater number of children, Haim Saban or Rachael Leigh Cook?
Choices:
Simon Cowell
Rahul Dev Burman
William Henry Harrison
Max Fleischer
Haim Saban
David Byrne
Paul Simon
Rachael Leigh Cook
Richard Gere
James E. Reilly
Program:
function: Find
inputs: Haim Saban
function: Find
inputs: Rachael Leigh Cook
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Haim Saban" .  } UNION { ?e <pred:name> "Rachael Leigh Cook" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Haim Saban