Ingestion Mapping Wizard - ge-semtk/semtk GitHub Wiki
Import mapping wizard will create a default mapping based on the current nodegroup structure and returns.
Nodegroup
Consider this example nodegroup with a chain and two links. Names and the chain description are set to return.
Launch the wizard
The wizard can be launched on the Map Input tab using the wizard button:
Using the wizard
The wizard appears:
Wizard fields:
-
Columns:
- Build from nodegroup will generate an input column for each returned item in the nodegroup
-
Lookup Regex - this regex will be applied to data properties' bindings. Any match will be used to look up it's "parent" class.
-
Lookup Mode - the mode used for any lookups
Results
Resulting lookup mapping:
Note that three properties match the lookup regex: ?chainDesc is used to lookup ?Chain with mode CREATE_IF_MISSING, and this pattern is repeated for ?linkName0 and ?Link0, and with ?linkName1 and ?Link1.
Sample CSV
The sample CSV button will create a template CSV file and download it:
chainDesc, chainName, linkName0, linkName1