Question: Who has more children, Mark Williams (the one that has the occupation of comedian) or Felicity Huffman?
Choices: David Byrne
Richard Gere
Simon Cowell
James E. Reilly
Paul Simon
Rahul Dev Burman
Felicity Huffman
Sylvester Stallone
Mark Williams
William Henry Harrison
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mark Williams" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "comedian" .   } UNION { ?e <pred:name> "Felicity Huffman" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: comedian
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Mark Williams
function: And
dependencies: 1
2
function: Find
inputs: Felicity Huffman
function: SelectBetween
dependencies: 3
4
inputs: number of children
greater
Answer: Felicity Huffman