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