Crate json2rdf

Source
Expand description

§JSON2RDF Converter Library

This library provides functionality for converting JSON data into RDF format. It uses serde_json for JSON parsing and oxrdf to build and manage RDF graphs.

§Overview

  • Converts JSON data structures into RDF triples, generating a graph representation.
  • Supports blank nodes for nested structures and maps JSON properties to RDF predicates.

§Features

  • Handles JSON Objects, Arrays, Booleans, Numbers, and Strings as RDF triples.
  • Allows specifying a custom RDF namespace for generated predicates and objects.
  • Outputs the RDF data to a specified file or prints it to the console.

Functions§

json_to_rdf
Converts JSON data to RDF format.