An ontology describing Magic: The Gathering.
Project description
mtg-ontology
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
Website
Repository Structure
- 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
Developer Documentation
Use the `make` command to generate project artefacts:
make all
: make everythingmake deploy
: deploys site
Credits
this project was made with linkml-project-cookiecutter
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mtg_ontology-0.3.2.tar.gz
(83.6 kB
view hashes)
Built Distribution
Close
Hashes for mtg_ontology-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52724cc6b6651dffee2d6d71240afff82b878239409ca93c7c00d7d139395b91 |
|
MD5 | 7757659fe6de8bb056e9a0d64bc97428 |
|
BLAKE2b-256 | 7837eb5292a5f6244beb971924966e81e2e2bb7a6dfbad3207fd5767d3720649 |