Multi label feature supported?

Can we have multiple labels for a vertex?
ex: Suppose we have Vertex named Person, can we give another label to that vertex like ‘Director’
or 'actor ’ .

TigerGraph’s core way of classifying vertices is by type, not by label.
A Person vertex type would be defined in the schema as having a certain set of attributes (properties).
Every Person instance will/must have those properties. Each vertex belongs to only one type.

A “label”, on the other have, is just that: a string-like tag you put on an object instance. Putting the tag there means nothing in terms of properties, though a user could write an application program that enforces some rules.

If you want to emulate a multi-label-like behavior, you can include a SET attribute on your vertices. You can add or remove string labels to this attribute.

2 Likes