The following MIME types are usable at one point or another when interacting with Quaestor:
application/rdf+xmlapplication/sparql-querytext/turtletext/turtle is being requested; Turtle has also been served
with the MIME type application/x-turtle.application/xmlapplication/sparql-query
should generally be preferred, as being more specific.text/csv (SELECT query responses only)Content-Type of the response is
text/csv;header=present, indicating that the first line
of the response consists of 'column headings', consisting of the
substitution variables in the input query. These are not guaranteed
to be in the same order as they were listed in the input query.text/plainThis MIME type means various different things in different contexts.
Annotating a SPARQL response, this indicates that the content is in a human-readable format, intended to look roughly like the usual result of a SQL query. It is not intended to be machine-parseable.
The MIME type of the N-triple
format is also text/plain; however N-triple format is
intended only for the RDF test cases, and is not expected to be useful
otherwise (that's the party line, though in fact N-triple format can
be quite useful when you need something that's trivial to parse, or
when you want, say, to check how base-URIs have been resolved).
When retrieving an ontology (using the GET
HTTP method) or uploading one (using PUT), you can use
text/plain to indicate N-triples (but don't tell W3C).
text/rdf+n3application/n3 MIME type is recognised but
deprecated (see W3
discussion), since its IANA registration was never completed;
text/rdf+n3 is the preferred MIME type for Notation3.text/tab-separated-values (SELECT query responses only)