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