Question: Which one has more kids, Julianne Moore or Fidel Castro ?
Choices:
Simon Cowell
Sylvester Stallone
William Henry Harrison
David Byrne
James E. Reilly
Richard Gere
Max Fleischer
Rahul Dev Burman
Fidel Castro
Paul Simon
Program:
function: Find
inputs: Julianne Moore
function: Find
inputs: Fidel Castro
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Julianne Moore" .  } UNION { ?e <pred:name> "Fidel Castro" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Fidel Castro