Question: Is January Jones or Vittorio De Sica the parent of fewer kids?
Choices:
Rahul Dev Burman
David Byrne
Richard Gere
Max Fleischer
Vittorio De Sica
Paul Simon
William Henry Harrison
January Jones
Simon Cowell
Sylvester Stallone
Program:
function: Find
inputs: January Jones
function: Find
inputs: Vittorio De Sica
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "January Jones" .  } UNION { ?e <pred:name> "Vittorio De Sica" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: January Jones