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