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