Approaching the Symbol Grounding Problem with Probabilistic Graphical Models