Question: Who has more children, CeeLo Green or Emma Thompson?
Choices:
James E. Reilly
Richard Gere
Rahul Dev Burman
Paul Simon
Simon Cowell
CeeLo Green
Emma Thompson
Max Fleischer
David Byrne
William Henry Harrison
Program:
function: Find
inputs: CeeLo Green
function: Find
inputs: Emma Thompson
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "CeeLo Green" .  } UNION { ?e <pred:name> "Emma Thompson" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Emma Thompson