<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def build_all(self, verbose=False, hide_base_schemas=True, hide_implicit_types=True, hide_implicit_preds=True):
 """ Extract all ontology entities from an RDF graph and construct Python representations of them. """

        if verbose:
            printDebug("Scanning entities...", "green")
            printDebug("----------", "comment")

        self.build_ontologies()
        if verbose:
            printDebug("Ontologies.........: %d" % len(self.all_ontologies), "comment")

        self.build_classes(hide_base_schemas, hide_implicit_types)
        if verbose:
            printDebug("Classes............: %d" % len(self.all_classes), "comment")

        self.build_properties(hide_implicit_preds)
        if verbose:
            printDebug("Properties.........: %d" % len(self.all_properties), "comment")
        if verbose:
            printDebug("..annotation.......: %d" % len(self.all_properties_annotation), "comment")
        if verbose:
            printDebug("..datatype.........: %d" % len(self.all_properties_datatype), "comment")
        if verbose:
            printDebug("..object...........: %d" % len(self.all_properties_object), "comment")

        self.build_skos_concepts()
        if verbose:
            printDebug("Concepts (SKOS)....: %d" % len(self.all_skos_concepts), "comment")

        self.build_shapes()
        if verbose:
            printDebug("Shapes (SHACL).....: %d" % len(self.all_shapes), "comment")

        # self.__computeTopLayer()

        self.__computeInferredProperties()

        if verbose:
            printDebug("----------", "comment")