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

Adding the OBI import module #294

Closed
wants to merge 1 commit into from
Closed

Adding the OBI import module #294

wants to merge 1 commit into from

Conversation

matentzn
Copy link
Contributor

@jamesaoverton the extraction code in cob.Makefile is a draft proposal for you to check and rework the way that you want.

Right now, the seed is extracted using the default ODK strategy, which is looking at all of COB, finding any mentions of OBI terms and trying to extract them. If you want another behaviour (like extracting from that table as you suggested), we will have to overwrite this make target: imports/obi_terms_combined.txt.

Let me know how you would like to proceed!

query --update ../sparql/inject-subset-declaration.ru --update ../sparql/inject-synonymtype-declaration.ru \
remove --base-iri $(OBOBASE)/OBI --axioms external --preserve-structure false --trim false \
remove $(patsubst %, --term %, $(ANNOTATION_PROPERTIES)) --term rdfs:label --term IAO:0000115 -T $(IMPORTDIR)/obi_terms_combined.txt --select complement --select "classes individuals annotation-properties" \
$(ANNOTATE_CONVERT_FILE); fi
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of this is custom, feel free to change to whatever why you want!

@matentzn
Copy link
Contributor Author

Not anymore needed.

@matentzn matentzn closed this Mar 10, 2025
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

Successfully merging this pull request may close these issues.

1 participant