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