Tools#
Generating keywords file for Tripper#
To generate the keywords file for [Tripper], run the file scripts/generate_tripper_keywords.py.
This requires that [Tripper] is installed in your python environment.
A few considerations when running the script:
First and foremost, when the keywords are generated from the ontology the argument redefine is set to allow.
This means that terms already defined in Tripper’s default keywords will be overwritten if they match prefLabels in the SSbD Core Ontology.
In addition, when turning on logging a few extra notifications are printed.
Missing classes, i.e. classes that are not already defined, are added in the Keywords. This happens for
http://www.w3.org/ns/prov#Entityandhttp://www.w3.org/ns/prov#Entity.documentationis redefined fromfoaf:pagetossbd:documentationbecause SSbD specifies that this is the documentation of a Resource. Note that ssbd:documentation is a subproperty of foaf:page.hasPartis redefined fromdcterms:hasParttossbd:hasPartbecause hasPart in SSbD is further refined to be a subproperty ofssbd:overlaps.conformanceis redefined fromddoc:conformancetossbd:conformancebecause additional requirements are added in SSbD on top of dcat-ap, which is the default in Tripper.wasGeneratedByis redefined fromprov:wasGeneratedBytossbd:wasGeneratedBybecause it is further refined in SSbD as a subproperty ofprov:wasGeneratedBy.