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