DEPRECIATED
        Method takes and executes a generic SPARQL statement and returns
        the result. NOTE: The Fedora 4 supports a limited subset of SPARQL,
        see <https://wiki.duraspace.org/display/FF/RESTful+HTTP+API+-+Search#RESTfulHTTPAPI-Search-SPARQLEndpoint>
        for more information.

        Args:
            statement(string): SPARQL statement
            end_point(string): SPARQL URI end-point, default to fcr:sparql
            accept_format(string): Format for output, defaults to text/csv

        Returns:
            result(string): Raw decoded string of the result from executing the
            SPARQL statement

def sparql(self, statement, end_point='fcr:sparql', accept_format='text/csv'):
        """DEPRECIATED
        Method takes and executes a generic SPARQL statement and returns
        the result. NOTE: The Fedora 4 supports a limited subset of SPARQL,
        see <https://wiki.duraspace.org/display/FF/RESTful+HTTP+API+-+Search#RESTfulHTTPAPI-Search-SPARQLEndpoint>
        for more information.

        Args:
            statement(string): SPARQL statement
            end_point(string): SPARQL URI end-point, default to fcr:sparql
            accept_format(string): Format for output, defaults to text/csv

        Returns:
            result(string): Raw decoded string of the result from executing the
            SPARQL statement
        """
        request = urllib.request.Request(
            '/'.join([self.base_url, 'rest', end_point]),
            data=statement.encode(),
            method='POST',
            headers={"Context-Type": "application/sparql-query",
                     "Accept": accept_format})
        result = urllib.request.urlopen(request)
        return result.read().decode()