-
Notifications
You must be signed in to change notification settings - Fork 3
Declare which Classes are Stereotypes #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The same is valid for schema:DefinedTerm. |
Exactly, the information shown in both boxes is redundant
I would say so, yes. I have mostly seen and used UML stereotypes to simplify class diagrams. Here's an example taken from http://www.omg.org/cgi-bin/doc?formal/05-07-04 The stereotypes are "Clock" and "Creator". I have mostly seen the presentation option that is shown on the left side.
I would say so, yes. I think it would be good to validate these assumptions with other concrete datamodels and we should also think about the handling of subclass relationships. The delineation between the handling of this two concerns is not clear to me |
I see a lot of question marks too. what may help in the discussion are we talking about top down or bottom up. top down (ViewPoints ?):
bottom up:
"The delineation between the handling of this two concerns is not clear to me" - YES I suggest to proceed we focus right now on the top down view of this problem. It's less complicated. |
"I think it would be good to validate these assumptions with other concrete datamodels and we should also think about the handling of subclass relationships. The delineation between the handling of this two concerns is not clear to me" @mchlrch A big YES. The title of this issue is "Declare which Classes are Stereotypes". Which is a sulution and not a problem. Maybe "Stereotypes" is a way to solve it. I saw the "Composite Structure Diagram" (https://www.visual-paradigm.com/guide/uml-unified-modeling-language/what-is-composite-structure-diagram/). I would try to focus and what is the problem. |
Maybe what's important to talk about is the metamodel. For example, a meta-model can have UI elements that describe A diagram is built using the metamodel. I think Archimate is a good source of inspiration for metamodels since they have been doing it for years. https://pubs.opengroup.org/architecture/archimate3-doc/chap04.html This link has use-cases: https://www.hosiaisluoma.fi/blog/archimate-metamodel/
|
The question is can we reverse these models. e.g right now a schema:DefinedTerm is the UNION of everything that has rdf:type schema:DefinedTerm . That looks like this then. This should be reduces to what predicates a DefinedTerm really has. The same do we have for SKOS. The irony is that skos:Concept or schema:DefinedTerm are normally "small" with not many predicates. But because it's attached to many instances with many rdf:types they explode with many predicates. we can try to unwrap this hairball with information from the ontology (domain and range or domainIncludes and rangeIncludes). but this information may not be stored with the data. The same applies for the class hierarchy. It may be part of the dataset or not. Many times it's not. I suggest we focus on drawing the solution to find out what we want. And then maybe SPEX can implement something. |
I see what you mean; well that diagram shows what the data declares. You are right drawing a solution first. To disentangle hairballs is a different problem, that might need some introspection heuristics, for example, count each instance only in their most specialized class and so on, I'm sure there are some heuristics in the wild. |
@mchlrch
See also: https://en.wikipedia.org/wiki/Stereotype_(UML)
I would like to be able to declare which classes are stereotypes in order to:
Example
For example I would like to declare
skos:Concept
as being a stereotype in the following:https://spex.zazuko.com/#/?sparqlEndpoint=https://seco-bdb-integ.zazukoians.org/query&forceIntrospection=false&namedGraph&prefixes=admin:https://schema.ld.admin.ch/&prefixes=jolux:http://data.legilux.public.lu/resource/ontology/jolux%23&prefixes=pub:http://publications.europa.eu/resource/authority/language/
Example data sample https://permits.zazukoians.org/professions/220:
the type is https://permits.ld.admin.ch/schema/Profession
the stereotype is http://www.w3.org/2004/02/skos/core#Concept
The text was updated successfully, but these errors were encountered: