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