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