Question: Does Joe Pantoliano or Zooey Deschanel have few children?
Choices:
Richard Gere
James E. Reilly
Rahul Dev Burman
William Henry Harrison
David Byrne
Simon Cowell
Max Fleischer
Zooey Deschanel
Paul Simon
Sylvester Stallone
Program:
function: Find
inputs: Joe Pantoliano
function: Find
inputs: Zooey Deschanel
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Joe Pantoliano" .  } UNION { ?e <pred:name> "Zooey Deschanel" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Zooey Deschanel