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

declare_class() should lookup prefix in JSONLD for CURIEs #9

Closed
dustine32 opened this issue Jan 16, 2019 · 1 comment
Closed

declare_class() should lookup prefix in JSONLD for CURIEs #9

dustine32 opened this issue Jan 16, 2019 · 1 comment

Comments

@dustine32
Copy link
Collaborator

Currently this method just appends input to http://identifiers.org/. A JSONLD (like go_context.jsonld) should be plugged in somewhere and used for when CURIEs are declared.

E.g.

>>> model = GoCamModel("test", context_jsonld="go_context.jsonld")
>>> model.declare_class("PomBase:SPAC19D5.01")
"http://identifiers.org/pombase/SPAC19D5.01"

Hopefully this will help prevent identifier inconsistencies suppressing GP labels.

@dustine32
Copy link
Collaborator Author

Same as #22.

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

No branches or pull requests

1 participant