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