In the city screen, on the side, there is a specialist menu. For example, if you have a library, it will display the library on the side of the screen with its two specialist slots. You can have citizens work as specialists (such as artists, merchants, scientists, engineers) in these slots...