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