Module nanopub::utils

source ·

Functions§

  • Return a Nanopub server, the main one or one picked randomly from the list of available servers
  • Get the prefixes of a Nanopub
  • Get a namespace commonly used in nanopub manipulation
  • The JSON-LD parser uses futures::block_on which creates conflict when running in tokio runtime, so we need to spawn a separate thread
  • Parse RDF from various format to a LightDataset (trig, nquads, JSON-LD)
  • Serialize RDF dataset to Trig