The option VariableName => q changes the symbol used for intedeterminates in a polynomial ring created with markovRing.
The object VariableName is a symbol.
The source of this document is in GraphicalModels.m2:1888:0.