Skip to content

Commit 7a8750b

Browse files
committed
small fixes
1 parent 7eb0502 commit 7a8750b

File tree

1 file changed

+32
-31
lines changed

1 file changed

+32
-31
lines changed

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

Lines changed: 32 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
icon: eccenca/application-queries
32
status: new
3+
icon: eccenca/artefact-linking
44
tags:
55
- LinkRules
66
- KnowledgeGraph
@@ -11,7 +11,7 @@ tags:
1111

1212
The Link Rules module provides mechanisms to simplify creating data linking and to imposes role specific workflows over the whole process.
1313

14-
Linking tasks allow the creation of links between resources based on rules in the Corporate Memory Build component. Such a linking task demands the configuration of source and target input resource selections (dataset, resource type or additional restrictions), the link type and an output dataset. These configurations demand a thorough understanding of your knowlege graph internals and may become a repetitive task. The Link rules module allows to streamline this process in a way that also users with limited understanding of the knowledge graph can create link rules based on pre-defined templates.
14+
Linking tasks allow the creation of links between resources based on rules in the Corporate Memory Build component. Such a linking task demands the configuration of source and target input resource selections (dataset, resource type or additional restrictions), the link type and an output dataset. These configurations demand a thorough understanding of your Knowledge Graph internals and may become a repetitive task. The Link rules module allows to streamline this process in a way that also users with limited understanding of the knowledge graph can create link rules based on pre-defined templates.
1515

1616
## Usage
1717

@@ -21,20 +21,20 @@ This guide explains how to navigate, search, create, and manage Link Rules in th
2121

2222
### Open the Link Rules Section
2323

24-
In the main navigation menu, under *BUILD* section, click *Link rules* (①).
24+
In the main navigation menu, under **BUILD** section, click **:eccenca-artefact-linking: Link rules** (①).
2525
This opens the list of existing link rules.
2626

2727
### Manage Templates (Optional)
2828

29-
If you want to work with predefined templates for link rules, click *Manage Templates* in the top right corner (②).
29+
If you want to work with predefined templates for link rules, click **Manage Templates** in the top right corner (②).
3030

3131
### Search for Link Rules
3232

33-
Use the Search field (③) to quickly locate an existing link rule by name or keyword in the description.
33+
Use the **Search** field (③) to quickly locate an existing link rule by name or keyword in the description.
3434

3535
### Expand or Collapse Rule Details
3636

37-
Click the arrow icon (④) next to a rule to expand or collapse its details.
37+
Click the :eccenca-toggler-showmore: toggler icon (④) next to a rule to expand or collapse its details.
3838

3939
In the Details tab (⑦), you’ll find:
4040

@@ -45,22 +45,23 @@ In the Details tab (⑦), you’ll find:
4545
- Activities
4646
- The Custom tab contains any additional user-defined properties.
4747

48-
In the rule execution panel (⑥), you can *Execute* the rule (▶ icon), *Delete* the rule (🗑 icon) and *Clone* (⿻ icon) it or modify its configuration (✎ icon).
48+
In the rule execution panel (⑥), you can **:eccenca-item-start: Execute** the rule, **:eccenca-item-remove: Delete** the rule, **:fontawesome-regular-clone: Clone** the rule, or **:eccenca-item-edit: Modify** its configuration.
4949

5050
### Open the Link Rule editor
5151

5252
Click on the rule name in the *Linking* column (⑤) to open the link rule editor.
5353

5454
### Create a New Link Rule
5555

56-
To create a new rule, click the blue plus button (⑧) in the bottom-right corner.
56+
To create a new rule, click the blue :material-plus-circle-outline: button (⑧) in the bottom-right corner.
5757
Follow the prompts to define the template, connecting predicate, etc.
5858

5959
## Setup
6060

6161
### Template Catalog
6262

63-
Create a new graph that holds templates for Link Rules. The graph IRI will be needed for configuration later on.
63+
Create a new graph that holds templates for Link Rules.
64+
The graph IRI will be needed for configuration later on.
6465

6566
!!! info
6667

@@ -162,29 +163,29 @@ The source / target resources are always referred as variable `a`.
162163

163164
In the example below, resources are selected which are of type variable `class` and are referenced another resource named `subResource` by the property `http://example.com/vocab/hasParent`. The `class` variable is restricted to be one of `http://example.com/vocab/Company` or `http://example.com/vocab/Department`.
164165

165-
```json
166+
``` json
166167
{
167-
"paths": [
168-
{
169-
"subjectVarName": "a",
170-
"predicate": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
171-
"objectVarName": "class"
172-
},
173-
{
174-
"subjectVarName": "subResource",
175-
"predicate": "http://example.com/vocab/hasParent",
176-
"objectVarName": "a"
177-
}
178-
],
179-
"pathFilters": [
180-
{
181-
"varname": "class",
182-
"varIsAnyOneOfResource": [
183-
"http://example.com/vocab/Company",
184-
"http://example.com/vocab/Department"
185-
]
186-
}
187-
]
168+
"paths":[
169+
{
170+
"subjectVarName":"a",
171+
"predicate":"http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
172+
"objectVarName":"class"
173+
},
174+
{
175+
"subjectVarName":"subResource",
176+
"predicate":"http://example.com/vocab/hasParent",
177+
"objectVarName":"a"
178+
}
179+
],
180+
"pathFilters":[
181+
{
182+
"varname":"class",
183+
"varIsAnyOneOfResource":[
184+
"http://example.com/vocab/Company",
185+
"http://example.com/vocab/Department"
186+
]
187+
}
188+
]
188189
}
189190
```
190191

0 commit comments

Comments
 (0)