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