Skip to content

Commit

Permalink
more details for dataservice
Browse files Browse the repository at this point in the history
  • Loading branch information
wagmarcel committed Mar 31, 2024
1 parent cc146dc commit 89da15f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
13 changes: 13 additions & 0 deletions semantic-model/dataservice/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Dataservice setup

## Setup and Activate Device

## Use Dataservice to send testdata
Start dataservice with `startDataservice.py`:
python3 ./startDataservice.py \<ontology-dir\> \<type\> \<binding-name\>

*\<ontology\>* is supposed to be downloadable from a directory containing different *.ttl files, *\<type\>* is the (in the ontology context) namespaced class (e.g. `ex:MyClass` if `ex:` is defined in the ontologies context) and *\<binding-name\>* is the name of a *.ttl file in the *bindings* subdirectory of the ontoloy.

Example:

python3 ./startDataservice.py https://industryfusion.github.io/contexts/example/v0.1 iffBaseEntity:Cutter base_test.ttl
2 changes: 0 additions & 2 deletions semantic-model/dataservice/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@ bandit==1.7.4
black==22.8.0
pytest==7.1.3
pytest-cov==4.0.0
bunch==1.0.1
# pyshacl==0.20.0 # # disabled due to CWE-918 Reported by Snyk
4 changes: 0 additions & 4 deletions semantic-model/dataservice/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
rdflib==6.2.0
owlrl==6.0.2
pyshacl==0.20.0
ruamel.yaml==0.17.21
click==8.1.3
Jinja2==3.1.3
setuptools>=65.5.1 # not directly required, pinned by Snyk to avoid a vulnerability
apache-flink==1.17.1

0 comments on commit 89da15f

Please sign in to comment.