The base URI for LinkML is: https://w3id.org/linkml/
The following entries need to be changed in any LinkML SchemaDefinition source (if present):
prefixes:
meta: https://w3id.org/biolink/biolinkml/meta/
biolinkml: https://w3id.org/biolink/biolinkml/ → linkml: https://w3id.org/linkml/
...
default_prefix: meta → linkml
...
emit_prefixes:
- meta → linkml
- bilinkml → linkml
-
...
imports:
- biolinkml:types → linkml:types
- biolinkml:mappings → linkml:mappings
- biolinkml:extensions → linkml:extensions
- biolinkml:annotations → linkml:annotations
...
Python programs that use LinkML meta.py, types.py, mappings.py, annotations.py and/or extensions.py
will need to make the following changes:
from biolinkml.meta import SchemaDefinition, ... → from linkml_model.meta import SchemaDefinition ...
You will also need to make the following changes:
biolinkml = "*" → linkml = "*"
linkml_model = "*"
To the Pipfile and/or requirements.txt
Note: All of the model artifacts are now available directly in the linkml_model root. The current form:
from linkml_model.meta import SchemaDefinition
from linkml_model.types import Booleancan be replaced with:
from linkml_model import SchemaDefinition, BooleanThe above change, however, is strictly optional. Both forms will work equally well.