RDF Quad
A convenience constructor for RDF quads based on string-based terms, as done by RDF-String.
If the value in the object position is not a string, then it will be automatically converted to the proper RDF datatype using RDF Literal.
This produces quads according to the RDFJS specification.
Usage
const quad = ; // Object is an IRI; // Object is a variable; // Object is a string literal; // Object is an integer; // Object is a boolean; // Subject is a nested quad;
License
This software is written by Ruben Taelman.
This code is released under the MIT license.