From 77b3d272edbd2deb3c3b29f575a79c59108761e0 Mon Sep 17 00:00:00 2001 From: Charles Tapley Hoyt Date: Thu, 27 Nov 2025 16:03:55 +0100 Subject: [PATCH] Update --- src/bioregistry/data/bioregistry.json | 66 ++++++++++++++++++++++++++ src/bioregistry/data/collections.json | 1 + src/bioregistry/data/metaregistry.json | 2 +- tests/test_data.py | 6 --- tests/test_data_slow.py | 7 +++ 5 files changed, 75 insertions(+), 7 deletions(-) diff --git a/src/bioregistry/data/bioregistry.json b/src/bioregistry/data/bioregistry.json index c03e343d63..cbd23c7206 100644 --- a/src/bioregistry/data/bioregistry.json +++ b/src/bioregistry/data/bioregistry.json @@ -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" @@ -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", @@ -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" @@ -93879,6 +93943,7 @@ "orcid": "0000-0003-3722-5564" }, "description": "OEO is a domain reference ontology for energy system modeling.", + "download_owl": "https://openenergyplatform.org/ontology/oeo/dev/oeo-full.owl", "example": "00030015", "fairsharing": { "abbreviation": "OEO", @@ -93918,6 +93983,7 @@ }, "name": "Open Energy Ontology", "pattern": "^\\d+$", + "preferred_prefix": "OEO", "publications": [ { "doi": "10.1016/j.egyai.2021.100074", diff --git a/src/bioregistry/data/collections.json b/src/bioregistry/data/collections.json index e6874a3828..bb58842252 100644 --- a/src/bioregistry/data/collections.json +++ b/src/bioregistry/data/collections.json @@ -977,6 +977,7 @@ "digitalconstruction.energy", "dogont", "energymarketroles", + "meno", "oeo", "openadr", "saref.ener", diff --git a/src/bioregistry/data/metaregistry.json b/src/bioregistry/data/metaregistry.json index b43c4d1f11..422162f656 100644 --- a/src/bioregistry/data/metaregistry.json +++ b/src/bioregistry/data/metaregistry.json @@ -1448,7 +1448,7 @@ "status": "active" }, "homepage": "https://terminology.tib.eu", - "license": "https://github.com/TIBHannover/TIB-Terminology-Service-Frontend-2.0/issues/3", + "license": "CCO", "logo_url": "https://terminology.tib.eu/TIB_Logo_W_W.SVG", "name": "TIB Terminology Service", "prefix": "tib", diff --git a/tests/test_data.py b/tests/test_data.py index e8bd234a89..8c86ded4b5 100644 --- a/tests/test_data.py +++ b/tests/test_data.py @@ -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, @@ -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(): diff --git a/tests/test_data_slow.py b/tests/test_data_slow.py index 525f04226c..2ffdfff05e 100644 --- a/tests/test_data_slow.py +++ b/tests/test_data_slow.py @@ -6,6 +6,7 @@ import pytest import bioregistry +from bioregistry import get_obo_context_prefix_map class TestDataSlow(unittest.TestCase): @@ -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))