Open stevencox opened 6 years ago
Do we want to propagate these to biolink-model? Wouldn't we rather go ahead and do the long term thing of fixing our stuff? With changing to the concept graph for planning instead of type-graph, I don't think that the .-notation is useful any more.
On Genetic Condition, 2 points:
Expanding on point 2 - I could imagine a couple of different approaches. First, we could add the subclasses and the relationships to the model. Second, we could treat them as attributes of an entity. That is, if you wanted to query for a genetic condition, it could either be done by having a genetic condition node type, or by doing a "where node.is_genetic_condition==True" or similar on a disease type.
Part of the decision may come down to whether we expect that services will want to use this node type to expose something. For instance - there are no services that we use that explicitly return "genetic conditions". They return diseases, and we check to see if we consider them genetic conditions on the client side. However, I think that the drug/substance case is one where particular services like pharos might make such a distinction.
On the . notation thing, yes, it should be very short term. Also, if we go all the way now, all our queries break and we don't yet have concept annotated services or infrastructure to use them.
We used . notation in the prototype. Propagating to biolink model for now. But long term, we do away with these because that's why we have concepts now (?)
genetic condition is not present (add)