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