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