Module: RDF::NQuads
- Includes:
- NTriples
- Defined in:
- lib/rdf/nquads.rb
Overview
**‘RDF::NQuads`** provides support for the N-Quads serialization format.
This has not yet been implemented as of RDF.rb 0.3.x.
Defined Under Namespace
Classes: Format, Reader, Writer
Class Method Summary collapse
-
.serialize(value) ⇒ String
Returns the serialized N-Triples representation of the given RDF value.
-
.unserialize(data) ⇒ RDF::Value
Reconstructs an RDF value from its serialized N-Triples representation.
Methods included from NTriples
Class Method Details
.serialize(value) ⇒ String
Returns the serialized N-Triples representation of the given RDF value.
152 153 154 |
# File 'lib/rdf/nquads.rb', line 152 def self.serialize(value) Writer.serialize(value) end |
.unserialize(data) ⇒ RDF::Value
Reconstructs an RDF value from its serialized N-Triples representation.
140 141 142 |
# File 'lib/rdf/nquads.rb', line 140 def self.unserialize(data) Reader.unserialize(data) end |