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