Question: Does Dr. Dre or Walter Scott (who is a citizen of the Kingdom of Great Britain) have more children?
Choices: Simon Cowell
Dr. Dre
Sylvester Stallone
David Byrne
Richard Gere
Max Fleischer
Walter Scott
James E. Reilly
William Henry Harrison
Rahul Dev Burman
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dr. Dre" .  } UNION { ?e <pred:name> "Walter Scott" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> "Kingdom of Great Britain" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Dr. Dre
function: Find
inputs: Kingdom of Great Britain
function: Relate
dependencies: 1
inputs: country of citizenship
backward
function: Find
inputs: Walter Scott
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
greater
Answer: Dr. Dre