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