(b) a security of a subject entity all or substantially all of the gross REIT revenue of which, for its taxation year that ends in the trust’s taxation year that includes that time, is from maintaining, improving, leasing or managing real or immovable properties that are capital properties of the trust or of an entity of which the trust holds a share or an interest, including real or immovable properties that the trust, or an entity of which the trust holds a share or an interest, holds together with one or more other persons or partnerships;