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