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