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