User Tools

Site Tools


01_user_documentation:07_rgg_xl:02_xl:03_query:02_query_variable:02_identifier

This is an old revision of the document!


Identifier on implicit QV

It is possible to associate a query variable declared implicitly with an identifier. This, enables the manual usage of that query variable, like any other final variable in the scope. The most common approach is: n:Node, where n is the query variable.

Node

When a Node variable is assigned to an identifier.

n1:Node  n2:Node n 
<code>
 
It is also possible to assign a identifier from the ''default'' Node type of the current graph, with the ''.'' (dot):  (n represent any Node)
 
<code java>
 n:. 

Argument

When the argument of a Node is assigned to an identifier:

 Sphere(r)

r is the query variable assigned to the first argument in the node pattern of the sphere. It is also possible to “skip” some of the arguments by either: a dot, or by omitting them:

 N(,.,.,a,b,,)

In the example above a and b are assigned to the 4th and 5th arguments of the node pattern of N.

01_user_documentation/07_rgg_xl/02_xl/03_query/02_query_variable/02_identifier.1755773826.txt.gz · Last modified: 2025/08/21 12:57 by gaetan