====== Model graph ====== This section presents the model graphs. Model graphs (or query graphs) are used at runtime to perform queries onto a [[:01_user_documentation:06_graph|data graph]]. The query graph is responsible for matching the pattern on the data graph and executing the production statements. Each instance of a model graph is linked to a data graph, thus, it is possible to use different model graph of the same type, to run rules on different data graphs. Also, several model graph can be linked to the same data graph. It is possible to specify which model graph is to be used for a given rule with the syntax: RGGGraph qgraph = rgggraph(); // get or create a rgggraph qgraph.[ /* a rule block */]; // to use the model graph on the rule block qgraph.(* /* a query expr */ *); // or on a query expression ====== ====== {{namespace>:01_user_documentation:07_rgg_xl:03_query_graph}}