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