Question: Who has more children, Swizz Beatz or Adam West (the one that is a cast member of The Big Bang Theory)?
Choices: William Henry Harrison
Adam West
Sylvester Stallone
James E. Reilly
David Byrne
Simon Cowell
Richard Gere
Swizz Beatz
Max Fleischer
Paul Simon
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Swizz Beatz" .  } UNION { ?e <pred:name> "Adam West" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "The Big Bang Theory" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Swizz Beatz
function: Find
inputs: The Big Bang Theory
function: Relate
dependencies: 1
inputs: cast member
forward
function: Find
inputs: Adam West
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
greater
Answer: Swizz Beatz