Replies: 1 comment
-
@merelog I'm not sure that I want to make all manufacturers a subclass of authorized party. They are not authorized parties until they get authorization from a regulatory agency for something. So I don't know that I want this to be anything other than a warning, but there could be others over time. One option might be to create a subclass of manufacturer that is both an authorized party and manufacturer, but again they are only authorized in the context of having manufactured a specific drug that is authorized in a given jurisdiction. I think this part of the model will evolve in the next phase, so perhaps "stay tuned"? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In general, if:
then the restricting class (owl:onClass) in ?restriction should be a subclass of ?range.
Currently, IDMP Ontology has one such example:
ManufacturingAuthorization
is restricted by propertyhasAuthorizedParty
and classManufacturer
, which is not a subclass ofhasAuthorizedParty
's range:AuthorizedParty
. Then ifABC
is an instance ofManufacturingAuthorization
, then the restriction implies that there isXYZ
that belongs both toManufacturer
and tohasAuthorizedParty
's range:AuthorizedParty
. Logically, this is possible, but it may also indicate thatManufacturer
should be a subclass ofAuthorizedParty
.The following query should find all such cases:
This should probably be added to hygiene tests.
Note that in principle we could drop
FILTER (?cardinality > 0)
if we want to check also the min 0 restrictions.Beta Was this translation helpful? Give feedback.
All reactions