Question: Does Lucy Lawless have more kids than Nick Lachey or vice versa ?
Choices:
Simon Cowell
Max Fleischer
Nick Lachey
Sylvester Stallone
Rahul Dev Burman
Richard Gere
James E. Reilly
Lucy Lawless
William Henry Harrison
David Byrne
Program:
function: Find
inputs: Nick Lachey
function: Find
inputs: Lucy Lawless
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nick Lachey" .  } UNION { ?e <pred:name> "Lucy Lawless" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lucy Lawless