added mapping from RDF to TraitTemplate