UNPKG

graphdb

Version:

Javascript client library supporting GraphDB and RDF4J REST API.

35 lines (34 loc) 1.07 kB
"use strict"; /** * Supported RDF mime types. * * @readonly * @enum {string} * @author Mihail Radkov * @author Svilen Velikov * @author Teodossi Dossev */ var RDFMimeType = { // MIME types for RDF formats RDF_XML: 'application/rdf+xml', N_TRIPLES: 'text/plain', TURTLE: 'text/turtle', TURTLE_STAR: 'application/x-turtlestar', N3: 'text/rdf+n3', N_QUADS: 'text/x-nquads', JSON_LD: 'application/ld+json', RDF_JSON: 'application/rdf+json', TRIX: 'application/trix', TRIG: 'application/x-trig', TRIG_STAR: 'application/x-trigstar', BINARY_RDF: 'application/x-binary-rdf', // MIME types for variable binding formats SPARQL_RESULTS_XML: 'application/sparql-results+xml', SPARQL_RESULTS_JSON: 'application/sparql-results+json', SPARQL_STAR_RESULTS_JSON: 'application/x-sparqlstar-results+json', SPARQL_STAR_RESULTS_TSV: 'application/x-sparqlstar-results+tsv', BINARY_RDF_RESULTS_TABLE: 'application/x-binary-rdf-results-table', // MIME typE for boolean result formats BOOLEAN_RESULT: 'text/boolean' }; module.exports = RDFMimeType;