Skip to content

Making a new subset

Pier Luigi Buttigieg edited this page Sep 6, 2019 · 3 revisions

We export subsets of ENVO for users that need a slimmed down, but still logically sound version of the ontology.

Look for the clusters of similar prose and ...

Declare the Annotation Property

Declaration(AnnotationProperty(<http://purl.obolibrary.org/obo/envo#envoMeo>))

Add Annotation Property

# Annotation Property: <http://purl.obolibrary.org/obo/envo#envoEOVs> (<http://purl.obolibrary.org/obo/envo#envoEOVs>)

AnnotationAssertion(rdfs:comment <http://purl.obolibrary.org/obo/envo#envoEOVs> "envoEOVs"^^xsd:string)
SubAnnotationPropertyOf(<http://purl.obolibrary.org/obo/envo#envoEOVs> <http://www.geneontology.org/formats/oboInOwl#SubsetProperty>)

Update SLIM list in Makefile

# ----------------------------------------
# SLIMS
# ----------------------------------------
# These all depend on envo-basic, which is the whole ontology (ie all classes), minus non-basic axioms (e.g. complex owl axioms, some relations)

# Update to use full ENVO graph, as other ontology terms may be included

subsets/envoNceas.owl: subsets/envo-basic.obo
	$(OWLTOOLS) $< --extract-ontology-subset --fill-gaps --subset envoNceas --iri $(OBO)/envo/$@ -o $@
subsets/envoNceas.obo: subsets/envoNceas.owl
	$(OWLTOOLS) $< -o -f obo $@