An ontology describing Magic: The Gathering. It provides a data model to represent cards, their costs and rules.
The ontology is available in multiple representations in the project/ folder. It is also distributed as a python package providing dataclasses for the different concepts, and helpers to convert them to RDF graphs.
It can be installed wjth
pip install mtg-ontology
- examples/ - example data
- project/ - project files (do not edit these)
- src/ - source files (edit these)
- mtg_ontology
- schema -- LinkML schema (edit this)
- mtg_ontology
- datamodel -- Generated python datamodel
- tests - python tests
Use the `make` command to generate project artefacts:
make all
: make everythingmake deploy
: deploys site
this project was made with linkml-project-cookiecutter