Skip to content
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

Turn kg-registry into the OBO for KGs #888

Open
kevinschaper opened this issue Nov 9, 2024 · 4 comments
Open

Turn kg-registry into the OBO for KGs #888

kevinschaper opened this issue Nov 9, 2024 · 4 comments
Assignees

Comments

@kevinschaper
Copy link
Member

We need to update https://github.com/Knowledge-Graph-Hub/kg-registry so that we can better track knowledge graphs and modular graph components.

We should stick with the registry.yaml as the foundation, but expand with a LinkML schema that will allow for validation and documentation of the fields.

We need to add some kind of a type/category field that captures the distinction between an aggregated graph, a single source graph and a graph component (just edges, just nodes). We could also consider splitting this out into separate boolean fields. (Is it aggregated? is it a complete graph? )

There should be a products section, like OBO, we might want to use an enum for product types, but allow some kind of "other" so that we're flexible. The motive there is that some types might be especially nice for doing some computational work to produce a dashboard, or a giant merge of all kgx archives, etc.

  preferredPrefix: GO
  products:
  - description: The main ontology in OWL. This is self contained and does not have
      connections to other OBO ontologies
    id: go.owl
    ontology_purl: http://purl.obolibrary.org/obo/go.owl
    page: http://geneontology.org/page/download-ontology
    title: GO (OWL edition)
  - description: Equivalent to go.owl, in obo format
    id: go.obo
    ontology_purl: http://purl.obolibrary.org/obo/go.obo
    page: http://geneontology.org/page/download-ontology
    title: GO (OBO Format edition)
  - description: Equivalent to go.owl, in obograph json format
    id: go.json
    ontology_purl: http://purl.obolibrary.org/obo/go.json
    page: https://github.com/geneontology/obographs/
    title: GO (JSON edition)

There should be an optional infores ID field for the graph itself. homepage, description, other good ideas borrowed from https://obofoundry.org/registry/ontologies.yml

@kevinschaper
Copy link
Member Author

(I set a 2024-12 release milestone just to keep this on the radar, this actually has nothing at all to do with the monarch-app release cycle)

@caufieldjh
Copy link
Member

kg-registry hasn't been updated for a while.
The KG-Hub manifest file is updated as part of the docs website (https://kghub.org/) build, or at least it would be if that script wasn't broken.
Example: https://kghub.io/MANIFEST.yaml
Schema: https://github.com/Knowledge-Graph-Hub/knowledge-graph-hub.github.io/blob/master/utils/models/datasets.yaml
(KG-OBO has its own manifest, updated here: https://kghub.io/kg-obo/tracking.yaml)

Definitely needs some attention and reworking!

@justaddcoffee
Copy link
Member

HIgh-level notes from our discussion at KG construction crew mtg:

Tentative plan for next generation of KG registry

  • source of truth for registry currently lives (and will continue to live) here:

  • there is also a schema for this MANIFEST file

  • KG Hub periodically runs CI on github to programmatically update this file

  • Outside groups or others can update via a github PR, which would suggest changes to the MANIFEST.yaml

  • We can also build CI / github actions to automatically generate changes to

@caufieldjh @kevinschaper @ptgolden @kcortes133 please edit the above if I missed or misunderstood anything

@caufieldjh
Copy link
Member

Initial schema for this here: https://github.com/Knowledge-Graph-Hub/kg-registry/blob/main/src/kg_registry/kg_registry_schema/schema/kg_registry_schema.yaml
This isn't too far off from what the MANIFEST.yaml is currently using, but makes more space for alternate sources/frameworks, etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants