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