Spec-driven attributes
A spec-driven attribute is a user-defined attribute. It
is defined by a user data spec using the following format: [protocol:'/attribute
path']
Where, 'protocol:' is optional; a node path can be the node name
or the node name with grouping information. For example,
[‘Search Ctg Spec/string-RTS']
[‘Search Ctg Spec/link-str']
[‘Search Ctg Spec/relationship']
[‘Search Ctg Spec/lookup']
[‘Search Ctg Spec/grouping/string-RTS']
A spec-driven attribute can be an object, or terminal. In the following examples, 1, 2, and 3 are terminal attributes; 4 and 5 are object attributes.
If 'protocol:' is omitted. The spec-driven attribute is a global
attribute by default, for example, 1–5. The query language supports
three protocols:
- global:
- location:
- location.override:
In the following examples, 1 is a global attribute, 2 is a location-specific
attribute, and 3 is a location-specific attribute for the override
value.
[‘global:Search Ctg Spec/string']
[‘location:Search Ctg Spec/string']
[‘location.override:Search Ctg Spec/string']