Question: Is Brad Pitt or Zoe Saldana a parent to fewer kids?
Choices:
Richard Gere
Paul Simon
Zoe Saldana
David Byrne
Sylvester Stallone
James E. Reilly
Rahul Dev Burman
Brad Pitt
Simon Cowell
William Henry Harrison
Program:
function: Find
inputs: Brad Pitt
function: Find
inputs: Zoe Saldana
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brad Pitt" .  } UNION { ?e <pred:name> "Zoe Saldana" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Zoe Saldana