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