Question: Is Woodrow Wilson or film scorer Patrick Doyle a parent to more kids?
Choices:
Paul Simon
David Byrne
Patrick Doyle
Woodrow Wilson
William Henry Harrison
Rahul Dev Burman
James E. Reilly
Richard Gere
Simon Cowell
Max Fleischer
Answer: Patrick Doyle
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Woodrow Wilson" .  } UNION { ?e <pred:name> "Patrick Doyle" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> "film score" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Woodrow Wilson
function: Find
inputs: film score
function: Relate
dependencies: 1
inputs: famous people
forward
function: Find
inputs: Patrick Doyle
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
greater