The official ontology produced in the context of the STREAM project. The documentation of the MatVoc concepts could be found under stream-project.github.io. There exists also a link from w3id.org/STREAM/MatVoc to the documentation and the RDF files.
This repository does contain:
- turtle file of the MatVoc vocabulary
- owl files of the MSLE vocabulary
- a set of competency questions used in the project
- a Jenkinsfile for detecting basic problems in the MatVoc.ttl file
- scripts in the Jenkins folder for the Jenkins CI execution
- (old) a datasets folder
- basic inferred classification in the infered_classes.owl file
This pipeline is also an artifact of the STREAM project but the server used will not be available after the project. For future development we propose to switch to another CI like Github Actions. The Ci has the following steps:
- Stop if the current commit was already verified
- Execute RDFUnit to detect basic errors in the owl and rdfs use
- Call the OOPS common pitfall scanner
- Create an email out of the two reports
- Start HermiT to generate a basic classification
- If all of the above steps didn't create an error, the commit gets a verified tag and the tag plus the classification is pushed to this repository
- sending an email to the author of the commit
In order to publish the ontology on the official website of the STREAM project, the following steps should be taken:
- Log in to the server
- SSH to
stream-ontology.com
using proper credentials.
- SSH to
- Install prerequisites
apt-get update
apt-get install unzip
sudo apt-get install docker
- Install the ontology visulization and documentation tool (VoCol)
mkdir stream
cd stream
git clone https://github.com/tibhannover/vocol.git
cd /vocol
docker build -t tib/vocol .
Watch the tailing dot.docker run --name streamOntoVocol --restart=always -d -p 8081:3000 tib/vocol
- Deploy and run NginX from its offical image
docker run -it -d -p 80:80 --network=ontologyNetwork --name ontologyReverseProxy nginx
- Prepare the Docker network and add the Nginx and the Vocol conatiners to it
docker network create ontologyNetwork
docker network connect ontologyNetwork ontologyReverseProxy
docker network connect ontologyNetwork streamOntoVocol
- Log into the NginX container and set it to serve the ontology
docker exec -it ontologyReverseProxy "/bin/bash"
apt-get update
apt-get install nano
nano /etc/nginx/conf.d/default.conf
server_name stream-ontology.com;
location / { proxy_pass http://streamOntoVocol:3000/; }
Watch the tailing slash.- Save and exit editor (nano: Ctrl+X, Y, Enter)
nginx -s reload
exit
- Visit the VoCol instance at
stream-ontology.com
and configure the tool to install the ontology on it.