Question: Who has fewer children. R. Kelly or Chris Brown (the one that is famous for dance-pop)?
Choices: David Byrne
Paul Simon
Chris Brown
Sylvester Stallone
Richard Gere
James E. Reilly
Max Fleischer
Rahul Dev Burman
Simon Cowell
William Henry Harrison
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "R. Kelly" .  } UNION { ?e <pred:name> "Chris Brown" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> "dance-pop" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: R. Kelly
function: Find
inputs: dance-pop
function: Relate
dependencies: 1
inputs: famous people
forward
function: Find
inputs: Chris Brown
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
less
Answer: Chris Brown