Supported specifications
On this page
This page summarizes the specifications Comunica implements.
Query standards
The following standard query specifications are supported:
The following notable specifications are not supported yet:
Description |
---|
SPARQL 1.1 Entailment Regimes |
SPARQL 1.1 Graph Store HTTP Protocol |
Serializing SPARQL results
SPARQL query results can be serialized in different formats. For all of these supported formats, the following are standards:
Media type | Description |
---|---|
application/sparql-results+json | The SPARQL/JSON results format. |
application/sparql-results+xml | The SPARQL/XML results format. |
text/csv | The SPARQL/CSV results format. |
text/tab-separated-values | The SPARQL/TSV results format. |
All serializers work in a streaming manner.
Next to these, RDF serializations are supported, as shown below.
Serializing RDF
RDF triples/quads can be serialized via the following RDF serializations:
Media type | Description |
---|---|
application/trig | The TriG RDF serialization. |
application/n-quads | The N-Quads RDF serialization. |
text/turtle | The Turtle RDF serialization. |
application/n-triples | The N-Triples RDF serialization. |
text/n3 | The Notation3 serialization. |
application/ld+json | The JSON-LD RDF serialization. |
All serializers work in a streaming manner.
Parsing RDF
RDF triples/quads can be provided as input via the following RDF serializations:
Name | Media type | Extensions |
---|---|---|
TriG | application/trig | .trig |
N-Quads | application/n-quads | .nq , .nquads |
Turtle | text/turtle | .ttl , .turtle |
N-Triples | application/n-triples | .nt , .ntriples |
Notation3 | text/n3 | .n3 |
JSON-LD | application/ld+json , application/json | .json , .jsonld |
RDF/XML | application/rdf+xml | .rdf , .rdfxml , .owl |
RDFa and script RDF data tags HTML/XHTML | text/html , application/xhtml+xml | .html , .htm , .xhtml , .xht |
RDFa in SVG/XML | image/svg+xml ,application/xml | .xml , .svg , .svgz |
Microdata | text/html , application/xhtml+xml | .html , .htm , .xhtml , .xht |
All parsers work in a streaming manner.
RDF/JS
Alignment with other JavaScript libraries is achieved via the following RDF/JS specifications:
Description |
---|
RDF/JS Query specification |
RDF/JS Stream interfaces specification |
RDF/JS Data model specification |