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