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