code: public Set<Tag> getAncestorTags(Tag tag)
      {
          Set<Tag> ancestors = new HashSet<>();
          getAncestorTags(tag, ancestors);
          return ancestors;
      }
docs: Returns all tags that designate this tag. E.g., for "tesla-model3", this would return "car", "vehicle", "vendor-tesla" etc.