.trig TriG RDF document

Text & source code

MIME typeapplication/trig
DescriptionTriG RDF document
AcronymTriG – TriG RDF Graph Triple Language
CategoryText & source code
Based ontext/plain

Frequently asked questions

What is a .trig file?

A .trig file is a “TriG RDF document” (MIME type application/trig). TriG stands for TriG RDF Graph Triple Language.

How do I open a .trig file?

With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.

How can you tell a genuine .trig file?

No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.trig shows the guessed type.

Which format is .trig based on?

Technically a .trig file is a subtype of “Plain text document” (text/plain), so programs for that base format can often read it too.

Which MIME type belongs to .trig?

The MIME type is application/trig. In the Apache web server: AddType application/trig .trig; in nginx: types { application/trig trig; }.

Nearby entries