(self)
return [scheme.property2label.get(e.get("kbID", "")[:-1], {}).get("label", base_objects.unknown_el).split()
                # + " ".join(wdaccess.property2label.get(e.get("kbID", "")[:-1],{}).get("altlabel", [])).split()
                for index in self._get_sample_indices(self._questions_train)
                for g in self._silver_graphs[index] for e in g[0].get('edgeSet', []) if 'kbID' in e]
Retrieve a list of property tokens that appear in the training data.

        :return: a list of lists of property tokens
Retrieve a list of property tokens that appear in the training data.
Retrieve a list of property tokens that appear in the training data .
def get_training_properties_tokens(self):
        """
        Retrieve a list of property tokens that appear in the training data.

        :return: a list of lists of property tokens
        """
        return [scheme.property2label.get(e.get("kbID", "")[:-1], {}).get("label", base_objects.unknown_el).split()
                # + " ".join(wdaccess.property2label.get(e.get("kbID", "")[:-1],{}).get("altlabel", [])).split()
                for index in self._get_sample_indices(self._questions_train)
                for g in self._silver_graphs[index] for e in g[0].get('edgeSet', []) if 'kbID' in e]
def get_training_properties_tokens ( self ) : return [ scheme . property2label . get ( e . get ( "kbID" , "" ) [ : - 1 ] , { } ) . get ( "label" , base_objects . unknown_el ) . split ( ) # + " ".join(wdaccess.property2label.get(e.get("kbID", "")[:-1],{}).get("altlabel", [])).split() for index in self . _get_sample_indices ( self . _questions_train ) for g in self . _silver_graphs [ index ] for e in g [ 0 ] . get ( 'edgeSet' , [ ] ) if 'kbID' in e ]