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 edge IDs when they are missing #71

Open
caufieldjh opened this issue Sep 5, 2024 · 0 comments
Open

Add edge IDs when they are missing #71

caufieldjh opened this issue Sep 5, 2024 · 0 comments

Comments

@caufieldjh
Copy link
Collaborator

Some - but not all - transforms do not get assigned edge IDs.
In BFO, for example:

id	subject	predicate	object	category	relation	knowledge_source
	BFO:0000002	biolink:subclass_of	BFO:0000001		rdfs:subClassOf	BFO_relaxed.owl
	BFO:0000003	biolink:subclass_of	BFO:0000001		rdfs:subClassOf	BFO_relaxed.owl
	BFO:0000004	biolink:subclass_of	BFO:0000002		rdfs:subClassOf	BFO_relaxed.owl
	BFO:0000020	biolink:subclass_of	BFO:0000002		rdfs:subClassOf	BFO_relaxed.owl
	BFO:0000031	biolink:subclass_of	BFO:0000002		rdfs:subClassOf	BFO_relaxed.owl

I'm not sure if I had a solution for this in the previous transform process (https://github.com/ncbo/BioPortal-to-KGX/blob/main/bioportal_to_kgx/functions.py) but in KG-OBO, blank edge IDs are assigned a unique ID.

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

1 participant