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

Set up NMDC environmental context subsets with Protege 5.6.4 #1598

Open
turbomam opened this issue Jan 15, 2025 · 2 comments · May be fixed by #1599
Open

Set up NMDC environmental context subsets with Protege 5.6.4 #1598

turbomam opened this issue Jan 15, 2025 · 2 comments · May be fixed by #1599
Assignees

Comments

@turbomam
Copy link
Contributor

turbomam commented Jan 15, 2025

To see if that eliminates the creation of new class declarations

AnnotationAssertion(rdfs:seeAlso <http://purl.obolibrary.org/obo/ENVO_03605013> <https://microbiomedata.github.io/submission-schema/EnvBroadScaleSoilEnum/>)

@turbomam turbomam self-assigned this Jan 15, 2025
@turbomam
Copy link
Contributor Author

Next step in consuming the output of ROBOT template execution?

$(SRC): $(PRE_SRC)
	$(OWLTOOLS) $(USECAT) $<  $(patsubst %, --remove-import-declaration $(OBO)/envo/modules/%.owl, $(MODS)) -o $@.tmp
	$(OWLTOOLS) $(USECAT) $@.tmp  $(ALL_MODS_OWL) --merge-support-ontologies -o $@

@turbomam turbomam changed the title Try creating the new see_also from PR #1597 with Protege 5.6.4 Set up NMDC environmental context subsets with Protege 5.6.4 Jan 16, 2025
@turbomam
Copy link
Contributor Author

I added this to src/envo/Makefile

modules/nmdc_env_context_subset_membership.owl: modules/nmdc_env_context_subset_membership.csv # this CSV will be built in https://github.com/microbiomedata/submission-schema
	$(ROBOT) template --template $< -o $@.tmp.owl && mv $@.tmp.owl $@ # why not just output to $@ ?

It compiles when called explicitly, but not as part of ./run/sh make all yet

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 a pull request may close this issue.

1 participant