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