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