Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://doi.org/10.5281/zenodo.8277925
19 March 2025, 10:06:30 UTC
  • Code
  • Branches (0)
  • Releases (7)
  • Visits
    • Branches
    • Releases
      • 7
      • 7
      • 6
      • 5
      • 4
      • 3
      • 2
      • 1
    • c19241d
    • /
    • nfdi4cat-voc4cat-tool-8cf1fde
    • /
    • example
    • /
    • README.md
    Raw File Download
    Permalinks

    To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
    Select below a type of object currently browsed in order to display its associated SWHID and permalink.

    • content
    • directory
    • snapshot
    • release
    origin badgecontent badge Iframe embedding
    swh:1:cnt:ffe3a76b92f4cc97dfa10014517b89a7b06d07f9
    origin badgedirectory badge Iframe embedding
    swh:1:dir:7df96d8c170facfdd2c9853f113cbb9db9b1bc4e
    origin badgesnapshot badge
    swh:1:snp:f74baa1136b7b1b4945ba60db7f8045dea4463d7
    origin badgerelease badge
    swh:1:rel:e8bc433a64a296992f211f09c4910b0225ad1f90
    Citations

    This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
    Select below a type of object currently browsed in order to generate citations for them.

    • content
    • directory
    • snapshot
    • release
    Generate software citation in BibTex format (requires biblatex-software package)
    Generating citation ...
    Generate software citation in BibTex format (requires biblatex-software package)
    Generating citation ...
    Generate software citation in BibTex format (requires biblatex-software package)
    Generating citation ...
    Generate software citation in BibTex format (requires biblatex-software package)
    Generating citation ...
    README.md
    ### Example files that demonstrate typical conversions with voc4cat
    
    For a new vocabulary one would probably start with an xlsx file that does not yet have IRIs.
    In this case hierarchies can be expressed best by indentation:
    
    - `photocatalysis_example_indented_prelim-IDs.xlsx`
      - This file uses Excel/xlsx-indentation to express hierarchy. It does contain temporary IRIs for concepts. At least some preliminary IRIs are required to convert the hierarchy from indentation to children-IRI form. You may also use text-based IRIs as preliminary IRIs.
    - `photocatalysis_example_prelim-IDs.xlsx`
      - This results from processing the previous file with voc4cat using the `--from-indent` option.
    - `photocatalysis_example.xlsx`
      - This results from processing the previous file with voc4cat using the `--make-ids temp 1` option which replaces the temporary "temp:###"-IRIs with IRIs containing numeric IDs starting from 1. The prefix is replaced by the concept scheme IRI from the "concept scheme" sheet and the standard 7-digit IDs are used instead of the 3 digits of the preliminary IRIs.
      - If this file is further processed with voc4cat without options, the SKOS file `photocatalysis_example.ttl` is generated.
      - Running voc4cat on the turtle file generates again the xlsx file. - The conversion works both ways!
    

    Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
    The source code of Software Heritage itself is available on our development forge.
    The source code files archived by Software Heritage are available under their own copyright and licenses.
    Terms of use: Archive access, API— Contact— JavaScript license information— Web API

    back to top