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