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