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