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