{"id":43510328,"url":"https://github.com/cefriel/controlled-vocabulary-template","last_synced_at":"2026-02-03T12:50:26.523Z","repository":{"id":176869092,"uuid":"659668373","full_name":"cefriel/controlled-vocabulary-template","owner":"cefriel","description":"Template repository for controlled vocabularies","archived":false,"fork":false,"pushed_at":"2024-03-19T09:08:53.000Z","size":172,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-09T23:48:07.832Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cefriel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-28T09:59:54.000Z","updated_at":"2024-03-18T18:00:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"1fbabd21-107e-483c-be08-04c17cb9a8af","html_url":"https://github.com/cefriel/controlled-vocabulary-template","commit_stats":null,"previous_names":["cefriel/controlled-vocabulary-template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/cefriel/controlled-vocabulary-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cefriel%2Fcontrolled-vocabulary-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cefriel%2Fcontrolled-vocabulary-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cefriel%2Fcontrolled-vocabulary-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cefriel%2Fcontrolled-vocabulary-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cefriel","download_url":"https://codeload.github.com/cefriel/controlled-vocabulary-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cefriel%2Fcontrolled-vocabulary-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29046488,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T10:09:22.136Z","status":"ssl_error","status_checked_at":"2026-02-03T10:09:16.814Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-03T12:50:25.678Z","updated_at":"2026-02-03T12:50:26.507Z","avatar_url":"https://github.com/cefriel.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# controlled-vocabulary-template\n\nTemplate repository for controlled vocabularies. The example controlled vocabulary is published as https://knowledge.c-innovationhub.com/my-controlled-vocabulary.\n\n\n| Prefix    | IRI |\n| -- | ------- |\n| my-prefix:  | [https://knowledge.c-innovationhub.com/my-controlled-vocabulary#](https://knowledge.c-innovationhub.com/my-controlled-vocabulary)  |\n\n## How to\n\nCreate a repository starting from this template repository. Rename the folders and the repository accordingly to the identifier of the controlled vocabulary. The new controlled vocabulary name should be used to replace `my-controlled-vocabulary` in all the places.\n\n1. The RDF files describing the controlled vocabularies can be defined manually or by modifying the template Excel file [my-controlled-vocabulary.xlsx](.my-controlled-vocabulary/my-controlled-vocabulary.xlsx). Documentation on how to create more advanced Excel files can be found [here](https://xls2rdf.sparna.fr/rest/doc.html).\n\n2. Download the tools as discussed below and put the JARs in the `tools` folder to automatise their execution through the `run.sh` script. A Java installation is required.\n\n### `xls2rdf`: Excel to RDF\nDownload release JAR from [here](https://github.com/sparna-git/xls2rdf/releases) and rename it as `xls2rdf.jar`. You can alternatively use the user interface available at https://skos-play.sparna.fr/play/convert. Documentation for the CLI tool is available [here](https://github.com/sparna-git/xls2rdf/wiki/Command-line-Excel-to-RDF-conversion). The `run.sh` script was tested with version `2.2.0`.\n\n### `widoco`: RDF to HTML\nDownload release JAR from [here](https://github.com/dgarijo/Widoco/releases) and rename it as `widoco.jar`. Documentation for the CLI tool is available [here](https://github.com/dgarijo/Widoco#how-to-use-widoco). The `run.sh` script was tested with version `1.4.21`.\n\n3. Execute the `sh run.sh x.y.z` script providing as argument the correct version number. The version number should be the same declared in the Excel file.\n\n4. Edit the documentation in the [sections](.my-controlled-vocabulary/sections) folder\n\n5. Git commit and push\n\n6. Enable GitHub Pages to host the controlled vocabulary\n\n7. Configure a webserver by using the provided [.htaccess](.my-controlled-vocabulary/.htaccess) file\n\n\n## Additional notes\n\n- If the taxonomy has more than one level, the `skos-play-cli` tool ([link](https://github.com/sparna-git/skos-play)) can be used to generate a hierarchical visualisation of the taxonomy through the following command:\n```bash\njava -jar ./tools/skos-play-cli.jar hierarchical -i ./my-controlled-vocabulary/my-controlled-vocabulary.ttl -o ./my-controlled-vocabulary/hierarchy.html -f html -l en\n```\nThe generated file should be manually added to or referred from the Widoco documentation.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcefriel%2Fcontrolled-vocabulary-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcefriel%2Fcontrolled-vocabulary-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcefriel%2Fcontrolled-vocabulary-template/lists"}