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