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