linkml
Contents:
LinkML at a glance
Quick Install Guide
Using LinkML
How to install LinkML
Models
Metadata
Inheritance
Slots
URIs and Mappings
Generators
Inlining objects
Data Validation
Working with RDF and LinkML
CSVs and Tabular Data
Generated Python Code
Generators
Examples of use
FAQ
API reference:
Code
linkml
»
Using LinkML
View page source
Using LinkML
Introduction to the key parts of LinkML that you need to know:
Contents:
How to install LinkML
Install Python
Install LinkML
Models
Model metadata and directives
Classes
Slots
Types
Enums
Subsets
Metadata
aliases
description
Inheritance
Inheritance Related Slots
Slots
slot_usage
required
Slots Relating to Constraints on Slot Composition
Slots Relating Semantic Mappings and Anchoring to External Ontology
URIs and Mappings
exact_mappings
close_mappings
narrow_mappings
broad_mappings
related_mappings
slot_uri
id_prefixes
Generators
Inlining objects
Example
No inlining, reference by key
Inlining as a list
Inlining as a dictionary
Inlining a single-valued object
Inlining with non-JSON serializations
When should inlining be used
Data Validation
Working with RDF and LinkML
JSON-LD
Difference from OWL
ShEx
SHACL
SPARQL Validation
CSVs and Tabular Data
Mapping
Denormalization
Generated Python Code
generator
pydantic