Question: Who has more children, Walter Scott, who died of natural causes, or Basil Rathbone?
Choices:
Max Fleischer
Rahul Dev Burman
Walter Scott
James E. Reilly
David Byrne
Basil Rathbone
Richard Gere
Sylvester Stallone
Paul Simon
William Henry Harrison
Answer: Walter Scott
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Walter Scott" . ?e <manner_of_death> ?e_1 . ?e_1 <pred:name> "natural causes" .   } UNION { ?e <pred:name> "Basil Rathbone" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: natural causes
function: Relate
dependencies: 0
inputs: manner of death
backward
function: Find
inputs: Walter Scott
function: And
dependencies: 1
2
function: Find
inputs: Basil Rathbone
function: SelectBetween
dependencies: 3
4
inputs: number of children
greater