Learn R Programming

roxigraph (version 0.1.1)

rdf_serialize: Serialize RDF Data

Description

Serializes the store contents to a string.

Usage

rdf_serialize(store, format = "turtle")

Value

The serialized RDF data as a character string

Arguments

store

An RDF store handle

format

RDF format: "turtle", "ntriples", "rdfxml", "nquads", or "trig"

Examples

Run this code
store <- rdf_store()
rdf_load(store, '  "value" .', format = "ntriples")
rdf_serialize(store, format = "turtle")

Run the code above in your browser using DataLab