diff --git a/src/Saft/Sparql/Query.php b/src/Saft/Sparql/Query.php
index <HASH>..<HASH> 100644
--- a/src/Saft/Sparql/Query.php
+++ b/src/Saft/Sparql/Query.php
@@ -550,6 +550,16 @@ class Query
 
         return $result;
     }
+    
+    /**
+     * Returns raw query, if available.
+     * 
+     * @return string
+     */
+    public function getQuery()
+    {
+        return $this->query;
+    }
 
     /**
      * Parsing the given queryand extract its parts.
@@ -672,6 +682,36 @@ class Query
             $this->setOffset($parts['offset'][1][0]);
         }
     }
+    
+    /**
+     * Checks if query is a DELETE query.
+     * 
+     * @return boolean
+     */
+    public function isDeleteQuery()
+    {
+        return false !== strpos($this->getProloguePart(), 'DELETE');
+    }
+    
+    /**
+     * Checks if query is an INSERT query.
+     * 
+     * @return boolean
+     */
+    public function isInsertQuery()
+    {
+        return false !== strpos($this->getProloguePart(), 'INSERT');
+    }
+    
+    /**
+     * Checks if query is SPARQL UPDATE by checking if its either an insert- or delete query.
+     * 
+     * @return boolean
+     */
+    public function isUpdateQuery()
+    {
+        return $this->isInsertQuery() || $this->isDeleteQuery();
+    }
 
     public function getProloguePart()
     {
Add isDeleteQuery, isInsertQuery, isUpdateQuery, getQuery

These helper functions check which type the query is. A delete
query contains DELETE in the prologue part, same for INSERT.
An update query is either a delete- or insert query.