Skip to content
check-square

GitHub Action

Validate RDF with Jena

v3.14 Latest version

Validate RDF with Jena

check-square

Validate RDF with Jena

Run the Apache Jena riot tool to validate or convert RDF to RDF

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Validate RDF with Jena

uses: vemonet/jena-riot-action@v3.14

Learn more about this action in vemonet/jena-riot-action

Choose a version

Run the Apache Jena riot tool to validate or convert RDF to RDF.

Use Docker Image from https://hub.docker.com/r/stain/jena

Usage

Validate RDF

- uses: vemonet/jena-riot-action@v3.14
  with:
    input: my_file.ttl

If the RDF is not valid the job will fail and the error message displayed to standard output (workflow logs).

Convert RDF to RDF

- uses: vemonet/jena-riot-action@v3.14
  with:
    input: my_file.ttl
    convert: --output=NQUADS

Jena does not allow to output to file directly. Would need to rewrite entrypoint.