Question: Who has more kids, Michael Moore who was born in Belfast or Gwyneth Paltrow?
Choices:
David Byrne
James E. Reilly
Max Fleischer
Sylvester Stallone
Simon Cowell
Gwyneth Paltrow
William Henry Harrison
Rahul Dev Burman
Paul Simon
Richard Gere
Answer: Gwyneth Paltrow
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Michael Moore" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Belfast" .   } UNION { ?e <pred:name> "Gwyneth Paltrow" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Belfast
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Michael Moore
function: And
dependencies: 1
2
function: Find
inputs: Gwyneth Paltrow
function: SelectBetween
dependencies: 3
4
inputs: number of children
greater