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 2.2.3 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(2.2.6)
This format has a reader and a writer for application/n-triples, text/plain.
RDF::NQuads(2.2.6)
This format has a reader and a writer for application/n-quads, text/x-nquads.
JSON::LD(2.1.2)
This format has a reader and a writer for application/ld+json, application/x-ld+json.
RDF::JSON(2.0.0)
This format has a reader and a writer for application/rdf+json.
RDF::RDFa(2.2.0)
This format has a reader and a writer for text/html, application/xhtml+xml, image/svg+xml.
RDF::Microdata(2.1.0)
This format has a reader for .
RDF::N3(2.1.0)
This format has a reader and a writer for text/n3, text/rdf+n3, application/rdf+n3.
RDF::Turtle(2.2.0)
This format has a reader and a writer for text/turtle, text/rdf+turtle, application/turtle, application/x-turtle.
RDF::Reasoner(0.4.2)
This format has a writer for .
RDF::RDFXML(2.0.0)
This format has a reader and a writer for application/rdf+xml.
RDF::Tabular(2.2.0)
This format has a reader for text/csv, text/tab-separated-values, application/csvm+json.
RDF::TriG(2.0.0)
This format has a reader and a writer for application/trig, application/x-trig.
RDF::TriX(2.0.0)
This format has a reader and a writer for application/trix.
LD::Patch(0.3.1)
This format has a writer for text/ldpatch.
RDF::Reasoner (0.4.2)
RDF Reasoner
RDF::XSD (2.1.0)
RDF XSD
SPARQL (2.2.0)
SPARQL 1.1 Query
SPARQL::Client (2.1.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.