The film is based in three tales by Pere Calders: El principi de la saviesa (O Princípio da Sabedoria), L'arbre domèstic (A Árvore Doméstica), and Cada u del seu ofici (A Cada Um o Seu Ofício). These and other tales had been translated and published in Portugal in the late 1950s by bilingual writer Manuel de Seabra.