Question: Which one has more children between Jaime Pressly and Kristin Scott Thomas?
Choices:
Simon Cowell
Max Fleischer
Sylvester Stallone
Rahul Dev Burman
James E. Reilly
Paul Simon
Richard Gere
Kristin Scott Thomas
David Byrne
William Henry Harrison
Program:
function: Find
inputs: Jaime Pressly
function: Find
inputs: Kristin Scott Thomas
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jaime Pressly" .  } UNION { ?e <pred:name> "Kristin Scott Thomas" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Kristin Scott Thomas