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