Question: Which one has fewer children Sam Raimi or Christina Applegate?
Choices:
James E. Reilly
Sam Raimi
Simon Cowell
Sylvester Stallone
Rahul Dev Burman
William Henry Harrison
Max Fleischer
Christina Applegate
David Byrne
Paul Simon
Program:
function: Find
inputs: Sam Raimi
function: Find
inputs: Christina Applegate
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sam Raimi" .  } UNION { ?e <pred:name> "Christina Applegate" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Christina Applegate