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