Question: Is Paul Thomas Anderson or Mark Hamill a father to more kids?
Choices:
Mark Hamill
Rahul Dev Burman
Paul Simon
Simon Cowell
Max Fleischer
David Byrne
James E. Reilly
Richard Gere
William Henry Harrison
Paul Thomas Anderson
Program:
function: Find
inputs: Paul Thomas Anderson
function: Find
inputs: Mark Hamill
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Paul Thomas Anderson" .  } UNION { ?e <pred:name> "Mark Hamill" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Paul Thomas Anderson