Question: Of Marlee Matlin and Sean Combs, who has fewer kids?
Choices:
Simon Cowell
James E. Reilly
Paul Simon
Marlee Matlin
Max Fleischer
Richard Gere
William Henry Harrison
Sylvester Stallone
Rahul Dev Burman
Sean Combs
Program:
function: Find
inputs: Marlee Matlin
function: Find
inputs: Sean Combs
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Marlee Matlin" .  } UNION { ?e <pred:name> "Sean Combs" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Marlee Matlin