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