Question: Who has fewer kids, Stanley Tucci or John Adams, who served as Vice President of the United States?
Choices:
Stanley Tucci
David Byrne
Rahul Dev Burman
William Henry Harrison
Sylvester Stallone
James E. Reilly
Paul Simon
Richard Gere
Simon Cowell
Max Fleischer
Program:
function: Find
inputs: Stanley Tucci
function: Find
inputs: Vice President of the United States
function: Relate
dependencies: 1
inputs: position held
backward
function: Find
inputs: John Adams
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Stanley Tucci" .  } UNION { ?e <pred:name> "John Adams" . ?e <position_held> ?e_1 . ?e_1 <pred:name> "Vice President of the United States" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Stanley Tucci