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

add model copy operation #464

Closed
balhoff opened this issue Mar 11, 2022 · 2 comments
Closed

add model copy operation #464

balhoff opened this issue Mar 11, 2022 · 2 comments

Comments

@balhoff
Copy link
Member

balhoff commented Mar 11, 2022

This will support geneontology/noctua#606.

  • Extend batch API with a COPY operation
    • Possibly also expose as an additional REST endpoint (requested by @tmushayahama)
  • Perform copy:
    • Create new model
    • Copy all axioms from copied model to new model
    • Remove evidence from all edges
    • Replace contributor and provider on model and all nodes and edges with the user performing the operation
    • Add annotation assertion to new model node: <NEW_MODEL_IRI> prov:wasDerivedFrom <OLD_MODEL_IRI>
@tmushayahama
Copy link
Contributor

Thanks @balhoff . On a parallel @vanaukenk do you have a workflow in mind from the Noctua Form and Landing Page how this will work?

@vanaukenk
Copy link

Closing this as the first pass on shallow model copy is done.

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

No branches or pull requests

3 participants