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