Question: Who has more kids: Brad Pitt or Mark Williams, an alumnus of Brasenose College?
Choices:
Sylvester Stallone
Richard Gere
Rahul Dev Burman
Brad Pitt
William Henry Harrison
Max Fleischer
James E. Reilly
Mark Williams
Paul Simon
David Byrne
Answer: Brad Pitt
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brad Pitt" .  } UNION { ?e <pred:name> "Mark Williams" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> "Brasenose College" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Brad Pitt
function: Find
inputs: Brasenose College
function: Relate
dependencies: 1
inputs: educated at
backward
function: Find
inputs: Mark Williams
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
greater