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