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