Question: Who has fewer children, H. H. Asquith or Rainn Wilson?
Choices:
Rainn Wilson
James E. Reilly
Simon Cowell
Paul Simon
Max Fleischer
H. H. Asquith
Richard Gere
Sylvester Stallone
David Byrne
William Henry Harrison
Program:
function: Find
inputs: H. H. Asquith
function: Find
inputs: Rainn Wilson
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "H. H. Asquith" .  } UNION { ?e <pred:name> "Rainn Wilson" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Rainn Wilson