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