simphony-osp icon indicating copy to clipboard operation
simphony-osp copied to clipboard

Using superclass relations overrides specialised ones

Open adhamhashibon opened this issue 1 year ago • 1 comments

If using the foo_individual[namespace.relation ] = bar_individual form, overrides any other relation made with any subclass of namespace.relation.

example, if we refer to city, define and add a Major, then add a neighbourhood part, the relation to major (has major is subclass of has part) is gone. One needs to remember to use the += form, even though logically adding elements at a different level should be independent.

proposal: make the [ ] notation act the same as the one using connect, or discourage using it, or issue clear note in the documentation.

@yoavnash @pablo-de-andres do you know anything about this so far?

adhamhashibon avatar Jun 29 '23 18:06 adhamhashibon

Nope.

yoavnash avatar Jun 30 '23 08:06 yoavnash