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