def graph_pattern(self, shorten=False):

        nm = None
        if shorten:
            nm = self.namespace_manager
        return triples_to_bgp(self.triples(), namespace_manager=nm)
this is a debug api for testing, specifically it clears data from the
dataset/ETHPy150Open openworm/PyOpenWorm/PyOpenWorm/dataObject.py/DataObject.graph_pattern--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/api/views.py/api_cleardata