Question: Which has fewer children, Julie Walters or Jay-Z?
Choices:
Simon Cowell
Sylvester Stallone
Rahul Dev Burman
James E. Reilly
Paul Simon
Richard Gere
David Byrne
Max Fleischer
Julie Walters
Jay-Z
Program:
function: Find
inputs: Julie Walters
function: Find
inputs: Jay-Z
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Julie Walters" .  } UNION { ?e <pred:name> "Jay-Z" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Julie Walters