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