Question: Is Christina Ricci or Kim Kardashian a mom to fewer kids?
Choices:
James E. Reilly
Rahul Dev Burman
Max Fleischer
Richard Gere
William Henry Harrison
Christina Ricci
Paul Simon
Simon Cowell
Kim Kardashian
Sylvester Stallone
Program:
function: Find
inputs: Christina Ricci
function: Find
inputs: Kim Kardashian
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Christina Ricci" .  } UNION { ?e <pred:name> "Kim Kardashian" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Christina Ricci