Question: Which has a lesser number of children, Kelly Rowland or Ming-Na Wen?
Choices:
Max Fleischer
David Byrne
Richard Gere
Rahul Dev Burman
Simon Cowell
Paul Simon
James E. Reilly
Kelly Rowland
Ming-Na Wen
William Henry Harrison
Program:
function: Find
inputs: Kelly Rowland
function: Find
inputs: Ming-Na Wen
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kelly Rowland" .  } UNION { ?e <pred:name> "Ming-Na Wen" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kelly Rowland