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