rdf12conv: A lightweight RDF 1.2 converter for N-Triples, N-Quads, Turtle, and TriG
rdf12conv is a lightweight Python command-line tool and importable module for parsing, validating, converting, and serializing RDF 1.2 data across N-Triples, N-Quads, Turtle, and TriG. The implementation is self-contained, batch-oriented, and in-memory; it does not require rdflib for runtime conversion, which makes it suitable for small to medium RDF files, lightweight automation pipelines, regression tests, standards-oriented validation, and educational use rather than very large RDF dumps or high-throughput ingestion. The software supports both graph-level and dataset-level workflows, including explicit policies for lossy dataset-to-graph projections. Version 0.3.0 was validated against W3C RDF 1.1/1.2 manifest tests for all four supported formats, and it is distributed on PyPI as the rdf12conv package.
Authors
- Dominik Tomaszuk (ORCID: https://orcid.org/0000-0003-1806-067X)
Institutions
- University of Białystok (PL)
Publication Details
- Journal
- SoftwareX
- Published
- 2026-05-30
- DOI
- https://doi.org/10.1016/j.softx.2026.102753
- Primary Topic
- Graph Theory and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00