     (alter-var-root #'system sys/stop)))
 
 (defn go
-  "Initializes the current development system and starts it running."
+    "Initializes the current development system and starts it running."
   []
   (init)
   (start))

            [conceptnet-clj.system :as sys]
            [conceptnet-clj.expunge]
            [conceptnet-clj.core :refer :all]
            [conceptnet-clj.search :refer :all]))

(defonce system nil)


  (stop)
  (refresh :after 'user/go))

(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."
  []
  {:pre (:conn (:db system))}
  (let [conn (-> system :db :conn)
        concepts (parse-string (slurp "data/sample.jsons") true)]
    (add-cn-records conn concepts)
    :ok))