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