         (= (:type command) "create")
         (if reversed
           (simple-update "INSERT DATA { ?s ?p ?o }"
-                         ()
+                         (res (:value command))
                          (prop (:predicate command))
                          (res (:uri command)))
           (simple-update "INSERT DATA { ?s ?p ?o }"
                          (res (:uri command))
                          (prop (:predicate command))
-                         (plit (:value command))))
+                         (res (:value command))))
+
+        (= (:type command) "delete")
+        (if reversed
+          (simple-update "DELETE DATA { ?s ?p ?o }"
+                         (res (:value command))
+                         (prop (:predicate command))
+                         (res (:uri command)))
+          (simple-update "DELETE DATA { ?s ?p ?o }"
+                         (res (:uri command))
+                         (prop (:predicate command))
+                         (res (:value command))))
+
        ))
 
 (comment (if reversed

                          (map literalize related)
                          (map seq (apply map vector (map (fn [sub-call]
                                                            (map
                                                             (partial sub-call data)
                                                             related))
                                                          sub-calls)))))))))))


               dc:title \"List of People\" ;
               dc:description \"A list of people contained within the application\" .

ex:person-list data:haschild ex:person-name , ex:person-age , ex:pets-list ,  ex:person-deleter .

ex:person-deleter rdf:type data:deleter ;
                  data:bindo rdf:type ;
                  dc:title \"Remove\" ;
                  dc:description \"Permanently delete a person from the database\" .

ex:person-name rdf:type data:text-field ;
               data:rank 5 ;
               data:bindo ont:name ;
               dc:title \"Name\" ;
               dc:description \"The name of a person\" .

ex:person-age rdf:type data:text-field ;
              data:rank 4 ;
              data:bindo ont:age ;
              dc:title \"Age\" ;
              dc:description \"The age of a person\".
