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