Question: Who has fewer children, Nick Lachey or Lili Taylor?
Choices:
Sylvester Stallone
David Byrne
Simon Cowell
Richard Gere
Max Fleischer
Lili Taylor
Paul Simon
Nick Lachey
William Henry Harrison
James E. Reilly
Program:
function: Find
inputs: Nick Lachey
function: Find
inputs: Lili Taylor
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nick Lachey" .  } UNION { ?e <pred:name> "Lili Taylor" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Lili Taylor