Question: Which one, Uma Thurman or Patrick Doyle (the one that is educated at Royal Conservatoire of Scotland), has fewer number of children?
Choices:
James E. Reilly
David Byrne
William Henry Harrison
Max Fleischer
Patrick Doyle
Uma Thurman
Paul Simon
Sylvester Stallone
Rahul Dev Burman
Simon Cowell
Program:
function: Find
inputs: Uma Thurman
function: Find
inputs: Royal Conservatoire of Scotland
function: Relate
dependencies: 1
inputs: educated at
backward
function: Find
inputs: Patrick Doyle
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Uma Thurman" .  } UNION { ?e <pred:name> "Patrick Doyle" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> "Royal Conservatoire of Scotland" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Uma Thurman