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