Question: Does Patricia Arquette or Christopher Nolan (the one that is influenced by George Lucas) have the less number of children?
Choices:
Patricia Arquette
Richard Gere
William Henry Harrison
Simon Cowell
Paul Simon
Christopher Nolan
Rahul Dev Burman
Sylvester Stallone
David Byrne
James E. Reilly
Program:
function: Find
inputs: Patricia Arquette
function: Find
inputs: George Lucas
function: Relate
dependencies: 1
inputs: influenced by
backward
function: Find
inputs: Christopher Nolan
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Patricia Arquette" .  } UNION { ?e <pred:name> "Christopher Nolan" . ?e <influenced_by> ?e_1 . ?e_1 <pred:name> "George Lucas" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Patricia Arquette