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 details)
Built Distribution
File details
Details for the file mtg_ontology-0.3.1.tar.gz
.
File metadata
- Download URL: mtg_ontology-0.3.1.tar.gz
- Upload date:
- Size: 83.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b331f02b0a6ef5b06134f2bb135da79e1359e0cbb7957e00e73830b4d7fbbe5 |
|
MD5 | 242ab80fc51fe4154c00c09a357c5641 |
|
BLAKE2b-256 | e2a0c370001e9a2232fa4df60cd4a6340fdaf247583e5140e0192b098e390314 |
File details
Details for the file mtg_ontology-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: mtg_ontology-0.3.1-py3-none-any.whl
- Upload date:
- Size: 33.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6aedfd439b07348f743265bfbb0560de0a1126abfb220a7c82b6e82d90d987f3 |
|
MD5 | 5e50ce28f2e10f3e4efb69de46b25dce |
|
BLAKE2b-256 | 0c1cc9d8d6d2ff22dbf3f6b932a72e090afd66674b9e1360c8707c9d4e24eb48 |