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