Question: Is Mandy Patinkin or Tori Spelling a parent to more kids?
Choices:
Sylvester Stallone
Mandy Patinkin
Rahul Dev Burman
David Byrne
Richard Gere
Simon Cowell
Tori Spelling
William Henry Harrison
Paul Simon
Max Fleischer
Program:
function: Find
inputs: Mandy Patinkin
function: Find
inputs: Tori Spelling
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mandy Patinkin" .  } UNION { ?e <pred:name> "Tori Spelling" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Tori Spelling