-
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
Problem with adding ORCIDs as data_list_vars #418
Comments
‘contributor’ is not a key defined in the DOSDP schema <https://github.com/INCATools/dead_simple_owl_design_patterns/blob/master/docs/dosdp_schema.md>. You need to add this under annotations.
This should work:
… On 27 Jun 2022, at 15:02, Ray Stefancsik ***@***.***> wrote:
I am trying to add a list of ORCIDs 'data_list_vars' without success.
It seems to me that only the DOS-DP OBO fields work with data_list_vars. Adding a list of contributors using data_list_vars did not work for me.
files to reproduce problem: test_data.zip <https://github.com/INCATools/dosdp-tools/files/8992158/test_data.zip>
—
Reply to this email directly, view it on GitHub <#418>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAA3RR22GNMYVTVNPMLJYRTVRGQ6PANCNFSM5Z6NVZ2A>.
You are receiving this because you are subscribed to this thread.
|
Test DOS-DP pattern files:
Adding data_list_vars
works all right.
Adding another annotation type does not seem to work.
|
I have updated the test files to help reproduce the problem and tried to clarify the issue in the description above. |
@rays22 are you defining the prefix |
I am not sure if I understand your question @balhoff .
Here is the relevant part of my yaml:
|
If you look for the command line that is executed when dosdp-tools is run by your makefile, you can see if it has some options like |
Sorry for my quick reply by email earlier. Screenshot fix didn't make it into the comment. This fail is due to the fact there is not contributor key in the spec:
Looks like you fixed that subsequently and are now correctly using they
This should work, but as Jim pointed out, you need to define a prefix for dcterms so that this can be read:
IIRC, you don't need one for oio because its defined in the default prefix set for OBO. |
Thanks for the explanation @balhoff . |
@rays22 thanks, I ran your test file and I now see that this is a bug that was fixed a while back in #405. It seems to work fine in the current release. Put some pressure on @matentzn to make an ODK release including this PR: INCATools/ontology-development-kit#575 😛 |
@rays22 oh by the way the prefix issue still stands; if you don't provide it you will get incorrect expansions for
dosdp-tools should keep a list of OBO prefixes instead of defaulting to that when you pass that option. |
@rays22 I forgot, there WAS an ODK release recently: https://github.com/INCATools/ontology-development-kit/releases/tag/v1.3.1 So you just need to update to the latest version (sorry @matentzn) |
I can confirm that my |
I am trying to add a list of ORCIDs 'data_list_vars' without success.
It seems to me that only the DOS-DP OBO fields work with
data_list_vars
. Adding a list of contributors usingdata_list_vars
did not work for me.files to reproduce the problem: issue418-test-files.zip
When I check
definitions.owl
after turning the template table into OWL axioms, I do not find any of thedcterms:contributor
ORCID data, or the synonyms from the tsv table that I am trying to add under annotations.Please, note that I can add synonyms as
data_list_vars
in another way ( seesyns2
and the comments in 'test_data_list_vars.yaml').The text was updated successfully, but these errors were encountered: