Question: Who has fewer kids, Barbara Walters or Mike Myers who received the Hollywood Walk of Fame?
Choices:
William Henry Harrison
David Byrne
Mike Myers
Paul Simon
Barbara Walters
Sylvester Stallone
Richard Gere
James E. Reilly
Simon Cowell
Max Fleischer
Program:
function: Find
inputs: Barbara Walters
function: Find
inputs: Hollywood Walk of Fame
function: Relate
dependencies: 1
inputs: award received
backward
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> "Barbara Walters" .  } UNION { ?e <pred:name> "Mike Myers" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Hollywood Walk of Fame" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Barbara Walters