Question: Who has fewer children, Shahrukh Khan or Jennifer Hale (a voice actor in the film Superman/Batman: Public Enemies)?
Choices:
Max Fleischer
Richard Gere
James E. Reilly
Shahrukh Khan
Rahul Dev Burman
Simon Cowell
Sylvester Stallone
William Henry Harrison
Jennifer Hale
Paul Simon
Program:
function: Find
inputs: Shahrukh Khan
function: Find
inputs: Superman/Batman: Public Enemies
function: Relate
dependencies: 1
inputs: voice actor
forward
function: Find
inputs: Jennifer Hale
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shahrukh Khan" .  } UNION { ?e <pred:name> "Jennifer Hale" . ?e_1 <voice_actor> ?e . ?e_1 <pred:name> "Superman/Batman: Public Enemies" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jennifer Hale