Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions src/bioregistry/data/bioregistry.json
Original file line number Diff line number Diff line change
Expand Up @@ -44136,6 +44136,21 @@
"homepage": "https://op.europa.eu/en/web/eu-vocabularies/dataset/-/resource?uri=http://publications.europa.eu/resource/dataset/euvoc",
"name": "European Science Vocabulary Ontology"
},
"eurovoc": {
"contributor": {
"email": "cthoyt@gmail.com",
"github": "cthoyt",
"name": "Charles Tapley Hoyt",
"orcid": "0000-0003-4423-4370"
},
"description": "EuroVoc is the EU's multilingual and multidisciplinary thesaurus. It contains keywords, organized in 21 domains and 127 sub-domains, which are used to describe the content of documents in EUR-Lex. [from homepage]",
"example": "1837",
"homepage": "https://eur-lex.europa.eu/browse/eurovoc.html",
"name": "EuroVoc",
"pattern": "^\\d+$",
"rdf_uri_format": "http://eurovoc.europa.eu/$1",
"uri_format": "http://eurovoc.europa.eu/$1"
},
"ev": {
"appears_in": [
"cl"
Expand Down Expand Up @@ -77149,6 +77164,31 @@
}
]
},
"meno": {
"contact": {
"email": "mirjam.stappel@uni-osnabrueck.de",
"github": "stap-m",
"name": "Mirjam Stappel",
"orcid": "0000-0003-3722-5564"
},
"contributor": {
"email": "cthoyt@gmail.com",
"github": "cthoyt",
"name": "Charles Tapley Hoyt",
"orcid": "0000-0003-4423-4370"
},
"description": "The midlevel energy ontology (MENO) is a BFO-based midlevel ontology. It comprises the concepts for energy qualities, energy-based dispositions and energy-driven transformation and transfer processes and their interrelations. It has the goal to provide an upper level structure for these concepts for energy-related domain ontologies.",
"download_owl": "https://github.com/stap-m/midlevel-energy-ontology/raw/refs/heads/dev/ontology/src/midlevel-energy.owl",
"example": "01013",
"homepage": "https://github.com/stap-m/midlevel-energy-ontology",
"license": "CC-BY-4.0",
"name": "Mid-level Energy Ontology",
"pattern": "^\\d+$",
"references": [
"https://www.utwente.nl/en/eemcs/fois2024/resources/papers/stappel-neuhaus-representing-energy-in-the-midlevel-energy-ontology-meno.pdf"
],
"repository": "https://github.com/stap-m/midlevel-energy-ontology"
},
"merckindex.monograph": {
"contributor": {
"email": "cthoyt@gmail.com",
Expand Down Expand Up @@ -90183,6 +90223,30 @@
"name": "Networked Knowledge Organization Systems/Services/Structures",
"uri_format": "http://w3id.org/nkos/$1"
},
"nlcd": {
"appears_in": [
"envo"
],
"contributor": {
"email": "cthoyt@gmail.com",
"github": "cthoyt",
"name": "Charles Tapley Hoyt",
"orcid": "0000-0003-4423-4370"
},
"description": "A vocabulary for describing the usage of land cover (e.g., pasture, wetlands, barren, forest, water) extended from the original 16 land cover classes proposed by the [Anderson Level II classification system](https://doi.org/10.3133/pp964) in 1976",
"example": "12",
"homepage": "https://www.mrlc.gov/data/type/land-cover",
"keywords": [
"environment",
"forestry"
],
"name": "United States Geological Survey - National Land Cover Database",
"pattern": "^\\d+$",
"references": [
"https://www.mrlc.gov/data/legends/national-land-cover-database-class-legend-and-description",
"https://www.usgs.gov/centers/eros/science/national-land-cover-database"
]
},
"nlfff": {
"mappings": {
"miriam": "nlfff"
Expand Down Expand Up @@ -93919,6 +93983,7 @@
},
"name": "Open Energy Ontology",
"pattern": "^\\d+$",
"preferred_prefix": "OEO",
"publications": [
{
"doi": "10.1016/j.egyai.2021.100074",
Expand Down
1 change: 1 addition & 0 deletions src/bioregistry/data/collections.json
Original file line number Diff line number Diff line change
Expand Up @@ -977,6 +977,7 @@
"digitalconstruction.energy",
"dogont",
"energymarketroles",
"meno",
"oeo",
"openadr",
"saref.ener",
Expand Down
6 changes: 0 additions & 6 deletions tests/test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
from bioregistry.constants import BIOREGISTRY_PATH, DISALLOWED_EMAIL_PARTS, EMAIL_RE
from bioregistry.export.rdf_export import resource_to_rdf_str
from bioregistry.license_standardizer import REVERSE_LICENSES, standardize_license
from bioregistry.resolve import get_obo_context_prefix_map
from bioregistry.resource_manager import MetaresourceAnnotatedValue
from bioregistry.schema.struct import (
SCHEMA_PATH,
Expand Down Expand Up @@ -661,11 +660,6 @@ def test_default_prefix_map_no_miriam(self):
self.assert_no_idot(bioregistry.get_prefix_map())
# self.assert_no_idot(bioregistry.get_prefix_map(include_synonyms=True))

def test_obo_prefix_map(self):
"""Test the integrity of the OBO prefix map."""
obofoundry_prefix_map = get_obo_context_prefix_map()
self.assertIn("FlyBase", set(obofoundry_prefix_map))

def assert_no_idot(self, prefix_map: Mapping[str, str]) -> None:
"""Assert none of the URI prefixes have identifiers.org in them."""
for prefix, uri_prefix in prefix_map.items():
Expand Down
7 changes: 7 additions & 0 deletions tests/test_data_slow.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import pytest

import bioregistry
from bioregistry import get_obo_context_prefix_map


class TestDataSlow(unittest.TestCase):
Expand Down Expand Up @@ -98,3 +99,9 @@ def test_unique_iris(self):

x[iri] = parts, unmapped, canonical_target, all_targets
self.assertEqual({}, x)

@pytest.mark.slow
def test_obo_prefix_map(self):
"""Test the integrity of the OBO prefix map."""
obofoundry_prefix_map = get_obo_context_prefix_map()
self.assertIn("FlyBase", set(obofoundry_prefix_map))
Loading