|
5 | 5 | --- |
6 | 6 | # Mapping Creator |
7 | 7 |
|
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. |
9 | 9 |
|
10 | | - |
| 10 | +{ class="bordered" } |
11 | 11 |
|
12 | 12 | The Mapping Creator is split into three parts: |
13 | 13 |
|
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. |
17 | 17 |
|
18 | 18 | You can move, connect or disconnect, and inspect each element visually. |
19 | 19 |
|
20 | 20 | ## Manual creation |
21 | 21 |
|
22 | 22 | Every mapping begins by selecting or creating a target class. This defines where your data will be be mapped in the knowledge graph. |
23 | 23 |
|
24 | | -### Edit saved mapping rule |
| 24 | +### Add properties |
| 25 | + |
| 26 | +{ 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 | +{ 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. |
25 | 42 |
|
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 | +{ 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 |
27 | 51 |
|
28 | 52 | ### Create direct mappings |
29 | 53 |
|
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 | +{ 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. |
31 | 61 |
|
32 | 62 | ## Smart suggestions |
33 | 63 |
|
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. |
35 | 68 |
|
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. |
40 | 70 |
|
41 | | - |
| 71 | +{ class="bordered" } |
42 | 72 |
|
43 | 73 | Once the smart suggestions have been generated, you need do two steps: |
44 | 74 |
|
45 | 75 | 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. |
0 commit comments