Beispiel #1
0
 def __repr__(self):
     return 'Label("{0}", "{1}", "{2}", id={3})'.format(
         smart_encode(self.lang),
         smart_encode(self.type),
         smart_encode(self.literal),
         smart_encode(self.id)
     )
Beispiel #2
0
 def __repr__(self):
     return 'Concept("%s")' % (smart_encode(self.name))
Beispiel #3
0
 def __repr__(self):
     return "Relation('{0}', '{1}')".format(
         smart_encode(self.scheme.id),
         smart_encode(self.name)
     )
Beispiel #4
0
 def __repr__(self):
     return 'ConceptScheme("%s", ("%s", "%s"))' % (
         smart_encode(self.name),
         smart_encode(self.ns_prefix),
         smart_encode(self.ns_url)
     )