Question: Who has less children, musician Johann Sebastian Bach or William T. Orr?
Choices: Simon Cowell
Paul Simon
Richard Gere
Johann Sebastian Bach
Rahul Dev Burman
Sylvester Stallone
William T. Orr
Max Fleischer
James E. Reilly
David Byrne
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Johann Sebastian Bach" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "musician" .   } UNION { ?e <pred:name> "William T. Orr" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: musician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Johann Sebastian Bach
function: And
dependencies: 1
2
function: Find
inputs: William T. Orr
function: SelectBetween
dependencies: 3
4
inputs: number of children
less
Answer: William T. Orr