Run the Apache Jena riot tool to validate or convert RDF to RDF.
Use Docker Image from https://hub.docker.com/r/stain/jena
- uses: vemonet/[email protected]
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).
- uses: vemonet/[email protected]
with:
input: my_file.ttl
convert: --output=NQUADS
Jena does not allow to output to file directly. Would need to rewrite entrypoint.