   (:require [clojure.java.io :as io]
             [grafter.tabular :as tab]
             [grafter.rdf.protocols :as pr]
-            [grafter.rdf.sesame :as ses])
+            [grafter.rdf.sesame :as ses]
+            [potemkin.namespaces :refer [import-vars]])
   (:import [grafter.rdf.protocols Triple Quad]
            [grafter.rdf.sesame ISesameRDFConverter])
   (:import [org.openrdf.model Statement Value Resource Literal URI BNode ValueFactory]

           [org.openrdf.rio RDFFormat])
  (:require [grafter.rdf.ontologies.util :as ontutils]))

;; TODO move these into their own grafter.rdf.formats namespace that
;; can be reused from other namespaces.
(def format-rdf-xml RDFFormat/RDFXML)

(def format-rdf-jsonld RDFFormat/JSONLD)
(def format-rdf-trix RDFFormat/TRIX)
(def format-rdf-trig RDFFormat/TRIG)

(defn- make-triples [subject predicate object-or-nested-subject]
  (if (vector? object-or-nested-subject)
