replace prefixes (using vectors) with namespaces (using map) in the triplestore module