src/lib/Repositories/SolidUploaderRepository.js
/**
     * This method executes an SPARQL update on a file.
     * @param url: the url of the file that needs to be updated.
     * @param query: the SPARQL update query that needs to be executed.
     * @returns {Promise}: the promise from auth.fetch().
     */
This method executes an SPARQL update on a file.
@param url: the url of the file that needs to be updated.
@param query: the SPARQL update query that needs to be executed.
@returns {Promise}: the promise from auth.fetch().
This method executes an SPARQL update on a file . @param url : the url of the file that needs to be updated . @param query : the SPARQL update query that needs to be executed . @returns { Promise } : the promise from auth . fetch () .
executeSPARQLUpdateForUser(url, query) {
        return this.fetch(url, {
            method: "PATCH",
            body: query,
            headers: {
                "Content-Type": "application/sparql-update"
            }
        });
    }
executeSPARQLUpdateForUser ( url , query ) { return this . fetch ( url , { method : "PATCH" , body : query , headers : { "Content-Type" : "application/sparql-update" } } ) ; }
This method executes an SPARQL update on a file.
This method executes an SPARQL update on a file .