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