About the Ruby Linked Data Service

RDF.rb is a suite of Ruby Gems providing classes that implement elements of the Resource Description Framework in Ruby.

About RDF

Short for Resource Description Framework, RDF is the language of the Semantic Web. It provides for a number of machine-readable formats for expressing meta-data.

Developed under the guidance of the World Wide Web Consortium (W3C), RDF was designed to create a machine-readable graph of information about different entities called Resources.

Resources are defined by a URI(Universal Resource Identifier) and are defined by a series of statements relating a Subject resource using a Predicate to an Object resource or a literal, such as a string or date.

RDF is based on the idea of making statements about resources in the form of subject-predicate-object expressions, known as Statements in RDF terminology. Subjects represent resources, typically associated with a URI. Predicates are also represented as URIs, and refer to a particular defined Ontology relative to a namespace. Objects are either other URI resources or literals, such as strings or typed scalar data types such as dates and durations.

About the RDF.rb service

The service provides a means of manipulating RDF resources as a web service using the linkeddata gem, based on RDF.rb and related gems. The service includes Readers and Writers for the following RDF serialization formats:

This is version 3.3.1 of the RDF Distiller. The source for this site is maintained on GitHub and is freely available to be copied and extended with or without attribution.

RDF::NTriples(3.3.1)
This format has a reader and a writer for application/n-triples .
RDF::NQuads(3.3.1)
This format has a reader and a writer for application/n-quads .
JSON::LD(3.3.1)
This format has a reader and a writer for application/ld+json, application/x-ld+json .
LD::Patch(3.3.0)
This format has neither a reader nor a writer for text/ldpatch .
RDF::JSON(3.3.0)
This format has a reader and a writer for application/rdf+json .
RDF::RDFa(3.3.0)
This format has a reader and a writer for text/html, application/xhtml+xml, image/svg+xml .
RDF::Microdata(3.3.0)
This format has a reader .
RDF::N3(3.3.0)
This format has a reader and a writer for text/n3, text/rdf+n3, application/rdf+n3 .
RDF::Normalize(0.7.0)
This format has a reader and a writer for application/canonical+n-quads, application/x-canonical+n-quads .
RDF::Canonicalize(0.7.0)
This format has a reader and a writer for application/canonical+n-quads, application/x-canonical+n-quads .
RDF::Reasoner(0.9.0)
This format has neither a reader nor a writer .
RDF::RDFXML(3.3.0)
This format has a reader and a writer for application/rdf+xml .
RDF::Tabular(3.3.0)
This format has a reader for text/csv, text/tab-separated-values, application/csvm+json .
RDF::Turtle(3.3.0)
This format has a reader and a writer for text/turtle, text/rdf+turtle, application/turtle, application/x-turtle .
RDF::TriG(3.3.0)
This format has a reader and a writer for application/trig, application/x-trig .
RDF::TriX(3.3.0)
This format has a reader and a writer for application/trix .
RDF::Vocabulary(3.3.1)
This format has a writer .
SHACL(0.4.1)
This format has neither a reader nor a writer .
ShEx(0.8.0)
This format has neither a reader nor a writer for application/shex .
YAML_LD(0.0.3)
This format has a reader and a writer for application/ld+yaml .
RDF::XSD (3.3.0)
RDF XSD
SPARQL (3.3.1)
SPARQL 1.1 Query
SPARQL::Client (3.3.0)
SPARQL Client

The distiller can be used to read existing web resources, or data from an input form and generate the output in an alternative format.