An inference of fact from a document is a question of fact but legal effect of the terms of a document is a question of law