Question: Who is a parent to more kids: Elisabeth Shue or John C. Calhoun?
Choices:
John C. Calhoun
David Byrne
Simon Cowell
Paul Simon
James E. Reilly
Rahul Dev Burman
Richard Gere
Max Fleischer
Sylvester Stallone
Elisabeth Shue
Program:
function: Find
inputs: Elisabeth Shue
function: Find
inputs: John C. Calhoun
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Elisabeth Shue" .  } UNION { ?e <pred:name> "John C. Calhoun" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: John C. Calhoun