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