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