Hence a corresponding duty is imposed upon the owner or occupant of the premises to prevent the intrusion, or to protect from personal injury such children as may be so attracted and thus induced to enter, and who are incapable of appreciating the attending dangers.