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