https://github.com/noeldemartin/vocab
My custom RDF ontologies
https://github.com/noeldemartin/vocab
crdt ontology rdf
Last synced: 5 months ago
JSON representation
My custom RDF ontologies
- Host: GitHub
- URL: https://github.com/noeldemartin/vocab
- Owner: NoelDeMartin
- License: agpl-3.0
- Created: 2022-12-06T07:07:10.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-24T12:06:59.000Z (9 months ago)
- Last Synced: 2025-05-08T01:44:34.518Z (5 months ago)
- Topics: crdt, ontology, rdf
- Language: PHP
- Homepage: https://vocab.noeldemartin.com
- Size: 196 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Noel De Martin's Vocabulary 
This repository contains the source for custom RDF ontologies I've created for my apps. I try to use existing vocabs when possible, but sometimes I've had to create my own.
You can find the vocabularies themselves under [resources/ontologies/](resources/ontologies/). If there is something that is not implemented properly for RDF consumption, please let me know!
If you want to create your own vocabs, you're also welcome to clone this repository. It's not coupled to my vocabs, so you should be able to use it by updating some files. The code is written with PHP using [Laravel](https://laravel.com).
## Development
For development, you can clone the repository and serve it using [Laravel Sail](https://laravel.com/docs/sail). Make sure to also compile assets with `npm` and add the domain to `/etc/hosts`.
```sh
git clone git@github.com:NoelDeMartin/vocab.git vocab
cd vocab
cp .env.example .env
docker run --rm -u '$(id -u):$(id -g)' -v '$(pwd):/var/www/html' -w /var/www/html laravelsail/php82-composer:latest composer install --ignore-platform-reqs
./vendor/bin/sail up -d
./vendor/bin/sail artisan key:generate
sudo -- sh -c -e "echo '127.0.0.1 vocab.test' >> /etc/hosts"
npm install
npm run build
```After running these commands, you should be able to use the app on [http://vocab.test](http://vocab.test).
## Production
This can be deployed using [kanjuro](https://github.com/NoelDeMartin/kanjuro) and [nginx-agora](https://github.com/NoelDeMartin/nginx-agora).
```sh
git clone https://github.com/NoelDeMartin/vocab.git --branch kanjuro --single-branch
cd vocab
kanjuro install
kanjuro start
nginx-agora start
```