Prefix Generator
Overview
The prefix generator can be used to create a mapping between prefixes and URIs or IRIs. Prefixes
are essentially shorthands or aliases to these longer URIs or IRIs. The aliases and their corresponding
expansions are specified as key value pairs under the prefixes
section of a LinkML schema.
You can read more about prefixes and
URIs, IRIs and CURIEs in the
URIs and Mappings section of
the docs.
Example Output
personinfo.json personinfo.tsv
To generate a JSON style mapping, run:
gen-prefix-map examples/personinfo.yaml --output examples/personinfo.json
To generate a simple TSV style mapping, run:
gen-prefix-map examples/personinfo.yaml --output examples/personinfo.tsv
If you want to simply view the data in the format of your choice, use the --format
option.