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.1.tar.gz
(83.6 kB
view hashes)
Built Distribution
Close
Hashes for mtg_ontology-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6aedfd439b07348f743265bfbb0560de0a1126abfb220a7c82b6e82d90d987f3 |
|
MD5 | 5e50ce28f2e10f3e4efb69de46b25dce |
|
BLAKE2b-256 | 0c1cc9d8d6d2ff22dbf3f6b932a72e090afd66674b9e1360c8707c9d4e24eb48 |