Title: A semantic modelling approach to knowledge based statistical software