13 lines
588 B
Markdown
13 lines
588 B
Markdown
# mdm2neo4j - Technical Documentation
|
|
|
|
Why do I do the things the way I do them?
|
|
|
|
## Postprocessing
|
|
|
|
### connect postcoordinated aliases
|
|
1. `create_fancy_dict` stores data in dictionary from Alias Context, Context follows the pattern
|
|
`(.*)\[([0-9],[0-9])\]` with first group () is a string describing the ontology,
|
|
second group () is [x,y] where x and y are integers between 0 and 9.
|
|
2. `dict_to_list_of_tuples` transforms dictionary to list of tuples such that Cypher can process it
|
|
3. `postprocess_connect_postcoord_aliases` creates COMPOSITE-relationships according to list of tuples
|