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