The following shows the query syntax:
is_relationship_of(’object_name’)
has_relationship(’object_name’)
For example, to find the successors of cosine.c-1, use the following command:
> ccm query "is_successor_of(’cosine.c-1:csrc:1’)"
To find the objects that have cosine.c-2 as a successor, use the following command:
> ccm query "has_successor(’cosine.c-2:csrc:1’)"
These functions also work for user-defined relationships. For example, to find the objects that are associated with cosine.c-2 with relationship associated_spec, use the following command:
> ccm query "is_associated_spec_of(’cosine.c-2:csrc:1’)"