Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cmdoret/mtg_ontology
An ontology describing cards in Magic The Gathering.
https://github.com/cmdoret/mtg_ontology
linkml mtg ontology rdf
Last synced: 9 days ago
JSON representation
An ontology describing cards in Magic The Gathering.
- Host: GitHub
- URL: https://github.com/cmdoret/mtg_ontology
- Owner: cmdoret
- License: gpl-3.0
- Created: 2023-02-19T13:22:30.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-20T15:32:20.000Z (almost 2 years ago)
- Last Synced: 2024-11-07T01:39:55.746Z (about 2 months ago)
- Topics: linkml, mtg, ontology, rdf
- Language: Python
- Homepage: https://cmdoret.net/mtg_ontology
- Size: 3.37 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 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/](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
```python
pip install mtg-ontology
```## Website
* [https://cmdoret.net/mtg_ontology](https://cmdoret.net/mtg_ontology)
## Repository Structure
* [examples/](examples/) - example data
* [project/](project/) - project files (do not edit these)
* [src/](src/) - source files (edit these)
* [mtg_ontology](src/mtg_ontology)
* [schema](src/mtg_ontology/schema) -- LinkML schema (edit this)
* [datamodel](src/mtg_ontology/datamodel) -- Generated python datamodel
* [tests](tests/) - python tests## Developer Documentation
Use the `make` command to generate project artefacts:
- `make all`: make everything
- `make deploy`: deploys site## Credits
this project was made with [linkml-project-cookiecutter](https://github.com/linkml/linkml-project-cookiecutter)