Question: Is Jamey Sheridan or Rob Lowe the parent of more kids?
Choices:
Rob Lowe
Sylvester Stallone
David Byrne
Rahul Dev Burman
Jamey Sheridan
William Henry Harrison
Paul Simon
James E. Reilly
Richard Gere
Simon Cowell
Program:
function: Find
inputs: Jamey Sheridan
function: Find
inputs: Rob Lowe
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jamey Sheridan" .  } UNION { ?e <pred:name> "Rob Lowe" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jamey Sheridan