changed templated and type attributes and fixed curies