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