Question: Which person has more children, Akira Toriyama or Chris Evans, the television presenter?
Choices: David Byrne
Richard Gere
James E. Reilly
William Henry Harrison
Rahul Dev Burman
Simon Cowell
Sylvester Stallone
Paul Simon
Akira Toriyama
Max Fleischer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Akira Toriyama" .  } UNION { ?e <pred:name> "Chris Evans" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "television presenter" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Akira Toriyama
function: Find
inputs: television presenter
function: Relate
dependencies: 1
inputs: occupation
backward
function: Find
inputs: Chris Evans
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
greater
Answer: Akira Toriyama