Question: Which of these two William McKinley (the one that is in the military branch United States Army) or Akira Toriyama has greater children number
Choices: Sylvester Stallone
Paul Simon
Simon Cowell
Max Fleischer
James E. Reilly
David Byrne
Akira Toriyama
Rahul Dev Burman
William Henry Harrison
Richard Gere
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "William McKinley" . ?e <military_branch> ?e_1 . ?e_1 <pred:name> "United States Army" .   } UNION { ?e <pred:name> "Akira Toriyama" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: United States Army
function: Relate
dependencies: 0
inputs: military branch
backward
function: Find
inputs: William McKinley
function: And
dependencies: 1
2
function: Find
inputs: Akira Toriyama
function: SelectBetween
dependencies: 3
4
inputs: number of children
greater
Answer: Akira Toriyama