 (ns grafter.rdf.protocols
   "Grafter protocols and types for RDF processing"
+  (:require [grafter.vocabularies.xsd :refer :all]
+            [grafter.url :refer [->java-uri]])
   (:import [java.net URI]
+           [java.util Date]
            [org.openrdf.model Literal]))
 
 (defprotocol IStatement


  IRDFString
  (language [this]
    nil))

(defn- destructure-quad [quad i default]

  (raw-value [this])
  (datatype-uri [this]))

(def rdf:langString (java.net.URI. "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"))

;; TODO add tests to ensure that datatype-uri's etc are right
