Skip to content

Commit 3633156

Browse files
committed
add entry to pages list
fix smal typos fix markdown linter issues
1 parent 231be16 commit 3633156

2 files changed

Lines changed: 49 additions & 50 deletions

File tree

docs/explore-and-author/.pages

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ nav:
77
- Thesauri Management: thesauri-management
88
- Vocabulary Catalog: vocabulary-catalog
99
- Charts Catalog: charts-catalog
10+
- Link Rules: link-rules
1011
- Embedding Services via the Integrations Module: embedding-services-via-the-integrations-module
1112

docs/explore-and-author/link-rules/index.md

Lines changed: 48 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,15 @@ Use the Search field (③) to quickly locate an existing link rule by name or ke
3636
Click the arrow icon (④) next to a rule to expand or collapse its details.
3737

3838
In the Details tab (⑦), you’ll find:
39-
- General Information (operators, paths)
40-
- Result Statistics
41-
- Rule Status
42-
- Publication Information
43-
- Activities
44-
- The Custom tab contains any additional user-defined properties.
4539

46-
In the rule execution panel (⑥), you can *Execute* the rule (▶ icon), *Delete* the rule (🗑 icon) and *Clone* (⿻ icon) it or modify its configuration (✏ icon).
40+
- General Information (operators, paths)
41+
- Result Statistics
42+
- Rule Status
43+
- Publication Information
44+
- Activities
45+
- The Custom tab contains any additional user-defined properties.
46+
47+
In the rule execution panel (⑥), you can *Execute* the rule (▶ icon), *Delete* the rule (🗑 icon) and *Clone* (⿻ icon) it or modify its configuration (✎ icon).
4748

4849
### Open the Link Rule editor
4950

@@ -54,7 +55,6 @@ Click on the rule name in the *Linking* column (⑤) to open the link rule edito
5455
To create a new rule, click the blue plus button (⑧) in the bottom-right corner.
5556
Follow the prompts to define the template, connecting predicate, etc.
5657

57-
5858
## Setup
5959

6060
### Template Catalog
@@ -63,16 +63,15 @@ Create a new graph that holds templates for Link Rules. The graph IRI will be ne
6363

6464
!!! info
6565

66-
Suggestion for Template Catalog Graph IRI: ´https://ns.eccenca.com/data/linkruletemplates/´. You may use [this file](./CMEM_Link_Rule_Template_Catalog.ttl) as the graphs content.
66+
Suggestion for Template Catalog Graph IRI: `https://ns.eccenca.com/data/linkruletemplates/`. You may use [this file](./CMEM_Link_Rule_Template_Catalog.ttl) as the graphs content.
6767

6868
!!! info
69-
69+
7070
This graph could be prepared even it is not used in many setups.
7171

7272
!!! info
7373

74-
If there is no Shape for Link Rule Template load this file as a `New Shape Catalog` (Graph label: Link Rules Shape Catalog, Graph IRI: ´https://vocab.eccenca.com/shacl/link_rules/´).
75-
74+
If there is no Shape for Link Rule Template load [this file](./linkruletheme.shapes.ttl) as a `New Shape Catalog` (Graph label: Link Rules Shape Catalog, Graph IRI: `https://vocab.eccenca.com/shacl/link_rules/`).
7675

7776
### Link Rules Build project
7877

@@ -86,11 +85,13 @@ Inside this project create a new workflow that will be used to register all publ
8685

8786
![](create_wf.png){ class="bordered" }
8887

89-
Inside this project create *Knowledge Graph datasets* for these graphs you want to use for linking.
88+
!!! warning
9089

91-
!!! info
90+
This project is managed by the *Link Rules module*. **You should not alter elements inside the project unless you know what you are doing.**
9291

93-
This project is managed by the *Link Rules module*. You should not alter elements inside the project unless you know what you are doing.
92+
#### Create Knowledge Graph Datasets used for Linking
93+
94+
Inside this project you need to create *Knowledge Graph datasets* for every graph that will be used in a linking rule (i.e., the source / target graphs that hold your resources to be linked).
9495

9596
### Access condition
9697

@@ -100,45 +101,42 @@ This access conditions is used by the Link Rules module to grant write access to
100101

101102
!!! info
102103

103-
It is currently not possible to set a *Access Condition Identifier* nor to simply retrieve the IRI of an existing access condition. Hence the admin needs to retrieve the IRI of this access condition from the CMEM Access Conditions graph.
104+
It is currently not possible to set a *Access Condition Identifier* nor to simply retrieve the IRI of an existing access condition. Hence the admin needs to retrieve the IRI of this access condition from the CMEM Access Conditions graph.
104105

105106
### Workspace configuration
106107

107108
Enable the *Link Rules* module.
108109

109110
In the following let us walk through the configuration options.
110111

111-
- **Order**: The position of the Link Rules module in the menu.
112-
- **Template Catalog IRI**: The IRI of the template catalog we just created. As the name implies, the Template Catalog holds all templates for usage in the Link Rules module. Templates allow preselecting patterns for easier rule creation.
113-
- **Project ID**: The *Project Identifier* of the Link Rules Build project we just created. Link Rules will be managing this project and add the rules to it. To get the id of a project, open the project in the build component, select the project and choose 'Show identifier' in the context menu, in the top right. The project needs to have a workflow, which is used to execute the rules and has to be configured in this section. Furthermore, the projects needs one or more Datasets, which can be selected in the templates.
114-
115-
116-
- **Published Rules Workflow ID**: The *Item Identifier* of the workflow in the Link Rules Build project we just created.
117-
- **Access Condition IRI**: The IRI of the Access Condition we just created.
118-
- **Output Graph Template**: A template for graph IRIs which will hold the results of a linking rule. It needs to include the placeholder `{name}`, for example `http://eccenca.com/user_rules/result_{name}`.
119-
- **Publication Graph Template**: A template for graph IRIs which will import the result graph once the results are published. This can be a simple graph IRI, for example `http://eccenca.com/user_rules/results_published`.
120-
- **Result Download Query**: A query that will be used to download the results of a linking rule. By default all resource IRIs will be listed as `resource1` and `resource2`. Whenever you want to provide other data via the *Download results* function, such as a specific identifier or a label instead of the IRI, this query can be adopted here.
121-
- **Annotation Class IRI** (optional): Rule results can be enriched with annotations. Instances of this class can be selected in the link rules interface. Instances have both a connection to the rule and the result. The connection is defined by the *Annotation Link Property IRI*. The values of the annotation are defined by the *Annotation Value Property IRI*. This relation is materialized as `rdf:value` in the output graph upon execution.
122-
- **Annotation Value Property IRI** (optional): Values of sub-properties of this property are actually connected as `rdf:values` to the generated links of a rule.
123-
- **Annotation Link Property IRI** (optional): The connection between a rule and an annotation resource (i.e. instance of *Annotation Class IRI*) is defined by this property.
124-
- **Annotation Graph IRI** (optional): The IRI of the graph, from which instances of the *Annotation Class IRI* are selected.
112+
- **Order**: The position of the Link Rules module in the menu.
113+
- **Template Catalog IRI**: The IRI of the template catalog we just created. As the name implies, the Template Catalog holds all templates for usage in the Link Rules module. Templates allow preselecting patterns for easier rule creation.
114+
- **Project ID**: The *Project Identifier* of the Link Rules Build project we just created. Link Rules will be managing this project and add the rules to it. To get the id of a project, open the project in the build component, select the project and choose 'Show identifier' in the context menu, in the top right. The project needs to have a workflow, which is used to execute the rules and has to be configured in this section. Furthermore, the projects needs one or more Datasets, which can be selected in the templates.
115+
- **Published Rules Workflow ID**: The *Item Identifier* of the workflow in the Link Rules Build project we just created.
116+
- **Access Condition IRI**: The IRI of the Access Condition we just created.
117+
- **Output Graph Template**: A jinja template for the graph IRIs which will hold the results of a linking rule. It needs to include the placeholder `{name}`, for example `http://eccenca.com/user_rules/result_{name}`.
118+
- **Publication Graph Template**: A jinja template, that generates the IRI of the graph, into which the output graph is imported via an `owl:imports`. This can be a simple graph IRI, for example `http://eccenca.com/user_rules/results_published`.
119+
- **Result Download Query**: A query that will be used to download the results of a linking rule. By default all resource IRIs will be listed as `resource1` and `resource2`. Whenever you want to provide other data via the *Download results* function, such as a specific identifier or a label instead of the IRI, this query can be adapted here.
120+
- **Annotation Class IRI** (optional): Rule results can be enriched with annotations. Instances of this class can be selected in the link rules interface. Instances have both a connection to the rule and the result. The connection is defined by the *Annotation Link Property IRI*. The values of the annotation are defined by the *Annotation Value Property IRI*. This relation is materialized as `rdf:value` in the output graph upon execution.
121+
- **Annotation Value Property IRI** (optional): Values of sub-properties of this property are actually connected as `rdf:values` to the generated links of a rule.
122+
- **Annotation Link Property IRI** (optional): The connection between a rule and an annotation resource (i.e. instance of *Annotation Class IRI*) is defined by this property.
123+
- **Annotation Graph IRI** (optional): The IRI of the graph, from which instances of the *Annotation Class IRI* are selected.
125124

126125
When the configuration is saved the *Link Rules module* should appear in the *Build* section of the menu.
127126

128-
129127
### Create a Link Rule Template
130128

131129
Templates can be managed at *Link Rules module* -> *Manage Templates*.
132130

133131
Create a new Link Rule Template. Such a template describes an abstract link rule with pre-defined settings.
134132

135-
- **Label**: A mandatory label for the template.
136-
- **Target Property**: The (default) connecting property for the derived link rules. The property can be individually set for each link rule later on.
137-
- **Input** group: The datasets which hold the subjects (source) and objects (target) to link.
138-
- **Source/Target Dataset**: The dataset holding the resources to link.
139-
- **Source/Target Resource Pattern**: A filter description template for the resources to link. This is a JSON object as described in [Graph Resource Pattern](#graph-resource-pattern). When creating a Link Rule based on this template these resource patterns can be altered. So this template may remain simple, but should provide sufficient help for the end user to define a proper resource selection.
140-
- **Output** group: The dataset which will hold the Link Rule results.
141-
- **Output Graph**: The graph IRI where to write the Link Rule results. Available placeholders: `{name}` for the Link Rules name.
133+
- **Label**: A mandatory label for the template.
134+
- **Target Property**: The (default) connecting property for the derived link rules. The property can be individually set for each link rule later on.
135+
- **Input** group: The datasets which hold the subjects (source) and objects (target) to link.
136+
- **Source/Target Dataset**: The dataset holding the resources to link.
137+
- **Source/Target Resource Pattern**: A filter description template for the resources to link. This is a JSON object as described in [Graph Resource Pattern](#graph-resource-pattern). When creating a Link Rule based on this template these resource patterns can be altered. So this template may remain simple, but should provide sufficient help for the end user to define a proper resource selection.
138+
- **Output** group: The dataset which will hold the Link Rule results.
139+
- **Output Graph**: The graph IRI where to write the Link Rule results. Available placeholders: `{name}` for the Link Rules name.
142140

143141
##### <a name="graph-resource-pattern"></a> Graph Resource Pattern
144142

@@ -179,15 +177,15 @@ In the `paths` section triple patterns are defined using `subjectVarName`, `pred
179177
The `pathFilters` section defines restrictions on the variables defined above.
180178
The following path filter properties can be used:
181179

182-
- `isNoneOfLiteral`
183-
- `isNoneOfResource`
184-
- `varIsAnyOneOfLiteral`
185-
- `varIsAnyOneOfResource`
186-
- `literalFilters`
187-
- `GreaterThan`
188-
- `LessThan`
189-
- `GreaterEqualsThan`
190-
- `LessEqualThan`
191-
- `NotEquals`
192-
- `Contains`
193-
- `Regex`
180+
- `isNoneOfLiteral`
181+
- `isNoneOfResource`
182+
- `varIsAnyOneOfLiteral`
183+
- `varIsAnyOneOfResource`
184+
- `literalFilters`
185+
- `GreaterThan`
186+
- `LessThan`
187+
- `GreaterEqualsThan`
188+
- `LessEqualThan`
189+
- `NotEquals`
190+
- `Contains`
191+
- `Regex`

0 commit comments

Comments
 (0)