Is it a good idea to extend the standard AS2 type
Relationship, i.e. define a new type that is a subtype/subclass of it?
Relationship is kind of like RDF statement reification, so in a sense, you could just always use
Relationship itself for all relationships, and detect the type of relationship using the
relationship property, just like you detect object types using the
Hmm but could there be benefits to extending the
- Have properties whose domain or range is the custom extended type
- Make it very clear right in the
typethat this is a specific kind of relationship
- Allow the custom extended type to be used with multiple properties, possibly even allowing any of their potential subproperties. And under the open world assumption etc. there can be flexibility there, and using a custom extended type would allow to recognize all those properties under 1 well known title.
Relationship with a custom type, should we still set the
type of relationship objects to e.g.
["Relationship", "CustomType"] to allow generic AP implementations to recognize that it’s a relationship type, even without knowing what CustomType is?