 
 (defn uuid [] (str "urn:uuid:" (java.util.UUID/randomUUID)))
 
-(def bind (uris "http://logangilmour.com/data-binder#" :rank :root :subject :object  :child :container :relator :contains :projection :path))
+(def bind (uris "http://logangilmour.com/data-binder#" :rank :root :subject :object :child :container :projection :path))
 
 (def funcs
   {:projector


(defn qb [binding model uri] ;; TODO come up with a nice URI aliasing thing
  (let [children (concat
                  (relate-right model (prop (bind :child)) binding)
                  (relate-right model (prop (bind :projection)) binding))

        projector (first (relate-left model (prop (bind :projection)) binding))


ex:person-manager
  rdf:type w:row ;
  bind:child
    [bind:child ex:person-list ;
     rdf:type w:column4 ;
     bind:rank 1] ;
  bind:child ex:person-container .


ex:person-list
  dc:title \"List of People\" ;
  rdf:type w:list ;
  bind:child
    [bind:object rdf:type ;
     bind:child
       [rdf:type w:list-item ;
        bind:path \"test\" ;
        bind:projection ex:person-container ;
        bind:child
          [rdf:type w:projector ;
           bind:child [bind:subject ont:name]]]] .

ex:person-container
  dc:title \"Person\" ;
  rdf:type w:column8 ;
  bind:rank 2 ;
  bind:child
    [dc:title \"Name\" ;
     rdf:type w:text-field ;
     bind:rank 1 ;
     bind:child [bind:subject ont:name]] ,

    [dc:title \"Age\" ;
     rdf:type w:text-field ;
     bind:rank 2 ;
     bind:child [bind:subject ont:age]] ,

    [dc:title \"Remove\" ;
     rdf:type w:deleter ;
     bind:rank 3 ;
     bind:child [bind:subject rdf:type]] .

"))

(def widgets (to-model
              "@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix bind: <http://logangilmour.com/data-binder#> .
@prefix w: <http://logangilmour.com/bootstrap-widgets#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .

dc:title rdf:type bind:parameter .

w:projector rdfs:subClassOf bind:container .

w:column8 rdfs:subClassOf bind:container .

