   (stop)
   (refresh :after 'user/go))
 
-(def data-clojure (parse-string (slurp conceptnet-clojure-file) true))
-
 (defn import-sample-data
   "Transacts the sample data from `data/sample.jsons` into current
-  system's database connection. Assumes top-level system var has an active
-  database connection."
+      system's database connection. Assumes top-level system var has an active
+      database connection."
   []
-  { :pre (:conn (:db system)) }
+  {:pre (:conn (:db system))}
   (let [conn (-> system :db :conn)
         concepts (parse-string (slurp "data/sample.jsons") true)]
-    @(d/transact conn concepts)
+    (add-cn-records conn concepts)
     :ok))
            [conceptnet-clj.system :as sys]
            [conceptnet-clj.expunge]
            [conceptnet-clj.core :refer :all]
            [conceptnet-clj.search :refer :all]))

(defonce system nil)


    (alter-var-root #'system sys/stop)))

(defn go
    "Initializes the current development system and starts it running."
  []
  (init)
  (start))
