Question: Between Jane Wyman and Val Kilmer, which has fewer offspring?
Choices:
Val Kilmer
Richard Gere
Paul Simon
David Byrne
William Henry Harrison
Max Fleischer
Sylvester Stallone
Jane Wyman
James E. Reilly
Rahul Dev Burman
Program:
function: Find
inputs: Jane Wyman
function: Find
inputs: Val Kilmer
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jane Wyman" .  } UNION { ?e <pred:name> "Val Kilmer" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Val Kilmer