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