While building a cross product template from DNG to Design manager, the derived by attribute links to model diagram from Design Manager. How do you know whether it is a use case diagram or sequence diagram or something else?
If you make a GET request to DM model OSLC / permanent URL (https://server:9443/dm/models/_Eea40KY8EeWtTLergOJe7g~OLDID__6018453__1) with Accept header as application/rdf+xml, you get OSLC representation of the resource. Looking at RDF/Description/type@resource attribute mentions whether the model is a use case or sequence diagram or etc.Include DM OSLC schema (which I built manually) and add query from it to understand the type of the model as in the below screen capture.
The sample template could be downloaded from here. I’ve used RPE 2.1 and CLM 6.0.2 for building and testing the template.