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