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