| rule MergeEntityWithTerm | |
| merge s : Source!Entity | |
| with t : Vocabulary!Term | |
| into m : Target!Entity { | |
| m.name = t.name; | |
| m.inDomain = true; | |
| } | |
| rule MergeSystemWithVocabulary | |
| merge s : Source!System | |
| with v : Vocabulary!Vocabulary | |
| into t : Target!System { | |
| t.entity = s.entity.equivalent(); | |
| } | |
| rule TransformEntity | |
| transform s : Source!Entity | |
| to t : Target!Entity { | |
| t.name = s.name; | |
| t.inDomain = false; | |
| } |