Question: Who has a lesser number of children, Brandy Norwood or Christina Ricci?
Choices:
Rahul Dev Burman
William Henry Harrison
Simon Cowell
Sylvester Stallone
Christina Ricci
Richard Gere
Max Fleischer
James E. Reilly
Paul Simon
Brandy Norwood
Program:
function: Find
inputs: Brandy Norwood
function: Find
inputs: Christina Ricci
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brandy Norwood" .  } UNION { ?e <pred:name> "Christina Ricci" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Brandy Norwood