Question: Who has less children, Hugo Weaving or Mike Myers (the screenwriter of Austin Powers in Goldmember)?
Choices:
William Henry Harrison
Hugo Weaving
Simon Cowell
Richard Gere
Rahul Dev Burman
David Byrne
Max Fleischer
Paul Simon
James E. Reilly
Sylvester Stallone
Program:
function: Find
inputs: Hugo Weaving
function: Find
inputs: Austin Powers in Goldmember
function: Relate
dependencies: 1
inputs: screenwriter
forward
function: Find
inputs: Mike Myers
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hugo Weaving" .  } UNION { ?e <pred:name> "Mike Myers" . ?e_1 <screenwriter> ?e . ?e_1 <pred:name> "Austin Powers in Goldmember" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hugo Weaving