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