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