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