From the Languages of Art to mathematical languages, and back