    :transformers [{:csv {:separator "\t"}}
                   {:vertex {:class "MetadataValue"}}
                   {:edge
-                   {:class                "InCategory"
+                   {:class                "HasMetadataValue"
                     :lookup               "MetadataCategory.corpus_cat"
                     :joinValue            "###CORPUS###_tid"
+                    :direction            "in"
                     :unresolvedLinkAction "HALT"}}]
    :loader       {:orientdb
                   {:dbURL               "remote:localhost/Glossa"

                                                                       cat
                                                                       (str cat ":string")))
                                                           cats))
                            (update-in [:transformers] concat cat-edges field-removals)
                            (cheshire/generate-string {:pretty true})
                            (str/replace "###TSV-PATH###" orig-tsv-path)
                            (str/replace "###CORPUS###" corpus))))))

                         :columns   ["corpus_cat:string" "value:string"]}}
                  {:vertex {:class "MetadataValue"}}
                  {:edge
                   {:class                "HasMetadataValue"
                    :lookup               "MetadataCategory.corpus_cat"
                    :joinFieldName        "corpus_cat"
                    :direction            "in"
                    :unresolvedLinkAction "HALT"}}]
   :loader       {:orientdb
                  {:dbURL               "remote:localhost/Glossa"
