-
Notifications
You must be signed in to change notification settings - Fork 5
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
Example Query Model Structures for discussion #32
Comments
great, thanks for sharing this @colinveal ! @Relequestual and @fschiettecatte, we reached consensus on this yesterday right? How about we ask Colin to add this directly (or Colin and Ben meet 1-1 teleconf to do that jointly) to draft to keep things moving as we are pretty close to v0.1.0 freeze? |
Fine with me. |
Thanks for these @colinveal Are you happy to close this issue in favour of ga4gh-discovery/data-connect#9 ? The gists should stay around for reference. |
Looking at these updated examples, it looks like this issue is still discussing if we need hierarchical components, and not how the components are referenced (which we have agreed on now I believe). Could you explain in sudo logic the query you're expecting please? Following from my previous experience with the MME API specification, and how we and others represent variants in our database, So, in terms of a I would say
For In "model 2", data is split into components in a too granular way so as they loose meaning, loosing context. For example |
To summarise the previous, I want to combine fields into components which represent different contexts, removing ambiguity. There may be components which have similar fields, but have different contextual meaning. I find that a preferable solution over nesting components. I'm even unhappy about the potential to assign different meanings to components based on how they are combined, which seems to be the suggestion you're putting forward here. |
The query is: I can see how we can use fields to replicate a lot of the hierarchy within a component, however to replicate the complexity available using hierarchies there could be a lot of fields for some components. Also where there are qualifiers that are required for multiple fields, i.e 'ontology', 'operator', 'value', 'source', 'unit' then these would require distinct naming to distinguish which field they apply to, thereby also increasing the overall number of fields in a component. I feel there should be a way that we can take advantage of both ways |
Here's the examples from the teleconference:
Example 1
Example 2
I believe we were leaning towards the hierarchical model with external logic:
Model 1
The text was updated successfully, but these errors were encountered: