Skip to content

Commit 499062b

Browse files
committed
1 parent 18f4933 commit 499062b

6 files changed

Lines changed: 46 additions & 15 deletions

File tree

docs/build/mapping-creator/index.md

Lines changed: 45 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,42 +5,72 @@ tags:
55
---
66
# Mapping Creator
77

8-
Use the Mapping Creator to connect your data to semantic models. Using visual tools, drag-and-drop, and suggestions, you’ll create mappings between your source data and knowledge graph classes.
8+
Use the Mapping Creator to connect your data to semantic models. Using visual tools, drag-and-drop, and suggestions, you’ll create mappings between your source data and knowledge graph classes as well as their properties.
99

10-
![Mapping Creator](mapping-creator.png)
10+
![Mapping Creator](mapping-creator.png){ class="bordered" }
1111

1212
The Mapping Creator is split into three parts:
1313

14-
- The left sidebar shows the source schema
15-
- The right sidebar shows the target schema
16-
- Mappings between elements in the source schema and elements in the target schema.
14+
- The left sidebar shows the source schema
15+
- The right sidebar shows the target schema
16+
- Mappings between elements in the source schema and elements in the target schema.
1717

1818
You can move, connect or disconnect, and inspect each element visually.
1919

2020
## Manual creation
2121

2222
Every mapping begins by selecting or creating a target class. This defines where your data will be be mapped in the knowledge graph.
2323

24-
### Edit saved mapping rule
24+
### Add properties
25+
26+
![Resource edit actions](mapping-creator-edit-actions.png){ class="bordered" }
27+
28+
To complete a mapping properties need to be added to complete your desired target schema (i.e. the graph fragment that your transformation shall yield).
29+
The following two options exist to add properties.
30+
31+
#### During class selection
32+
33+
![Properties option in the class selection dialog](mapping-creator-class-selection.png){ class="bordered" }
34+
35+
In the _add target class_ dialog you may select different kind of properties:
36+
37+
- class properties - properties defined in the domain of the selected class or its super-classes
38+
- default properties - typical well knows like `rdfs:label` or `rdfs:comment`
39+
- generic properties - properties defined with no explicit domain (or in domain of `owl:Thing`)
40+
41+
The property preview helps to confirm your choice.
2542

26-
Click on an already saved target element to show more details. With the Pencil icon you can edit the mapping rule and rename elements, or adjust configurations. Advanced users can refine transformation logic here.
43+
#### By adding a property from your vocabularies
44+
45+
![Adding a property from your vocabulary](mapping-creator-property-selection.png){ class="bordered" }
46+
47+
The _add property from vocabularies_ dialog allows to search and select a property and to configure it in the desired way:
48+
49+
- redefine the role of a property, to use a DatatypeProperty in the role of an ObjectProperty, or vice versa
50+
- define the _direction_ an ObjectProperty should be used in
2751

2852
### Create direct mappings
2953

30-
Drag from a property in your source data to a class or property in the canvas to create your mapping. This is helpful when suggestions are not sufficient.
54+
Drag from a property in your source data to a class or property in the canvas to create your mapping. This is helpful when smart suggestions are not sufficient.
55+
56+
### Edit saved mapping rule
57+
58+
![Editing a saved rule](mapping-creator-edit-rule.png){ class="bordered" }
59+
60+
Click on an already saved target element to show more details. With the :eccenca-item-edit: Pencil icon you can edit the mapping rule and rename elements, or adjust configurations. Advanced users can refine transformation logic here.
3161

3262
## Smart suggestions
3363

34-
Click the Magic Wand to automatically generate mapping suggestions based on your data and the selected class. Accept or reject each suggestion as needed.
64+
Click the :eccenca-application-ai-suggestion: Magic Wand to automatically generate mapping suggestions based on your data and the selected class. Accept or reject each suggestion as needed.
65+
66+
- **Class Suggestions:** If you haven't selected a target class yet, the AI tries to suggest classes from the selected vocabularies that fits your source data the most. You can also search manually for classes by typing text into the search field.
67+
- **Property Suggestions:** Property suggestions are generated that map your source data to elements of the selected target vocabularies. You can accept or reject each suggestion.
3568

36-
* **Class Suggestions:** If you haven't selected a target class yet, the AI tries to suggest classes from the selected vocabularies that fits your source data the most. You can also search manually for classes by typing text into the search field.
37-
* **Property Suggestions:** Property suggestions are generated that map your source data to elements of the selected target vocabularies. You can accept or reject each suggestion.
38-
39-
Note that this feature is only available if a Large Language Model is configured.
69+
Note that this feature is only available if a Large Language Model is configured.
4070

41-
![Smart suggestions](smart-suggestions.png)
71+
![Smart suggestions](smart-suggestions.png){ class="bordered" }
4272

4373
Once the smart suggestions have been generated, you need do two steps:
4474

4575
1. For each property, decide whether to accept or reject the AI-generated mapping. Use the checkmark to accept or the cross to reject.
46-
2. Once you have completed your mapping, click ‘Update Mapping’ to apply and save your changes to the knowledge graph.
76+
2. Once you have completed your mapping, click ‘Update Mapping’ to apply and save your changes to the knowledge graph.
148 KB
Loading
47.5 KB
Loading
150 KB
Loading
80.5 KB
Loading
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)