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