Question: Who has fewer children, Sean Combs or Frank Pierson?
Choices:
Simon Cowell
Paul Simon
Sylvester Stallone
Max Fleischer
Sean Combs
Rahul Dev Burman
Frank Pierson
Richard Gere
David Byrne
William Henry Harrison
Program:
function: Find
inputs: Sean Combs
function: Find
inputs: Frank Pierson
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sean Combs" .  } UNION { ?e <pred:name> "Frank Pierson" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Frank Pierson