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