def unary_concept(label, subj, records):
 c = Concept(label, arity=1, extension=set())
 for record in records:
  c.augment(record[subj])
 return c

def unary_concept ( label , subj , records ) : c = Concept ( label , arity = 1 , extension = set ( ) ) for record in records : c . augment ( record [ subj ] ) return c
make a unary concept out of the primary key in a record .