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