Can I use as a key to association list strings or atoms?

I’m using: SWI-Prolog version 6.6.6

What have you tried?

So did you try it out yet?