Giter Site home page Giter Site logo

ci-worker's Introduction

CI worker for the OpenCS ontology

The recommended way to use this is via the provided Docker image. Just run: docker run -it --rm ghcr.io/opencs-ontology/ci-worker:main python <script name.py> <args>

If you need an absolute path to the script, then just use /app/<script name.py>.

Scripts

  • split_concepts.py – processes an RDF dump of the core ontology, splits it into individual concept files, and formats them nicely. Args:
    • input file
    • output dir (no trailing slash)
    • whether to fix DBpedia IRIs (0/1) – use when importing broken MAKG dumps
  • to_mediawiki.py – converts Turtle files for concepts (as generated by the split_concepts.py script) into wikitext to be imported into the OpenCS wiki. Args:
    • input dir (no trailing slash)
    • output dir (no trailing slash)
  • package.py – packages the ontology's files for release. Args:
    • input dir – the root of the OpenCS repo (no trailing slash)
    • output dir (no trailing slash)
    • version tag (semver) for the main ontology – the schema is versioned manually in it Turtle file
  • generate_pages.py – generates files from templates for GitHub Pages. Args:
    • current release - version tag for the main ontology
    • repository name - name of the origin repository
    • output path - output directory path
  • validate.py – validates the ontology using SHACL. Args:
    • input dir – the root of the OpenCS

ci-worker's People

Contributors

ostrzyciel avatar wojtas000 avatar aleksanderzawisza avatar azalas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.