Question: Is Lucy Lawless or Lily Allen more kids' mom?
Choices:
Sylvester Stallone
William Henry Harrison
Lucy Lawless
David Byrne
Richard Gere
Lily Allen
Simon Cowell
Rahul Dev Burman
Max Fleischer
Paul Simon
Program:
function: Find
inputs: Lucy Lawless
function: Find
inputs: Lily Allen
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lucy Lawless" .  } UNION { ?e <pred:name> "Lily Allen" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lucy Lawless