def obo(self):
        """str: the synonym type serialized in obo format.
        """
        return ' '.join(['synonymtypedef:', self.name,
                         '"{}"'.format(self.desc),
                         self.scope or '']).strip()