> For the complete documentation index, see [llms.txt](https://fairsharing.gitbook.io/fairsharing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fairsharing.gitbook.io/fairsharing/fair-assistance/fair-support-and-definitions/syntactic-vs-semantic-knowledge-representation-languages.md).

# Syntactic vs Semantic knowledge representation languages

FAIR I1 requires that metadata use a formal, accessible, shared and broadly applicable language for knowledge representation. The purpose of this principle is to ensure that metadata is expressed in a standardised format that can be interpreted and exchanged across systems.

FAIRsharing provides an API query that allows users to determine whether the formats associated with a database registered in FAIRsharing are syntactic or semantic. This information can be used by communities who wish to evaluate the FAIR-enabling qualities of a database in a more granular fashion, as grounded/linked data formats are considered more FAIR than syntactic ones. Syntactic formats (like CSV or  XML) only provide basic structure, allowing a machine to parse rows and columns. Semantic formats (like JSON-LD or RDF) embed the meaning directly into the data.&#x20;

This page lists those core/generic formats and languages that are considered syntactic and semantic. If a database record has a relationship to a model/format that is based on one of these generic formats, it will be assigned to the appropriate syntactic/semantic category.

To discover a database's relationship to a syntactic/semantic model/format, traverse the hierarchy of each model/format directly linked to the database record to identify the underlying generic format (for example RDF, XML, or JSON). The syntactic or semantic classification of that generic format is then inherited by the community-specific model/format, enabling the database to be classified according to the type of knowledge representation language it uses.

| Syntactic                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | Semantic                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>JSON: <a href="https://fairsharing.org/FAIRsharing.5bbab9"><https://fairsharing.org/FAIRsharing.5bbab9></a><br>HTML: <a href="https://fairsharing.org/FAIRsharing.YugnuL"><https://fairsharing.org/FAIRsharing.YugnuL></a><br>XML: <a href="https://fairsharing.org/FAIRsharing.b5cc91"><https://fairsharing.org/FAIRsharing.b5cc91></a><br>CSV: <a href="https://fairsharing.org/FAIRsharing.1943d4"><https://fairsharing.org/FAIRsharing.1943d4></a><br>YAML: <a href="https://fairsharing.org/FAIRsharing.288192"><https://fairsharing.org/FAIRsharing.288192></a><br>TSV: <a href="https://fairsharing.org/FAIRsharing.a978c9"><https://fairsharing.org/FAIRsharing.a978c9></a><br>HDF5: <a href="https://fairsharing.org/FAIRsharing.wvgta9"><https://fairsharing.org/FAIRsharing.wvgta9></a></p><p><br></p> | <p>JSON-LD: <a href="https://fairsharing.org/FAIRsharing.8f9bbb"><https://fairsharing.org/FAIRsharing.8f9bbb></a><br>RDF: <a href="https://fairsharing.org/FAIRsharing.p77ph9"><https://fairsharing.org/FAIRsharing.p77ph9></a><br>RDF/XML: <a href="https://fairsharing.org/FAIRsharing.5cae72"><https://fairsharing.org/FAIRsharing.5cae72></a><br>TriG: <a href="https://fairsharing.org/7816"><https://fairsharing.org/7816></a><br>N-Quads: <a href="https://fairsharing.org/7817"><https://fairsharing.org/7817></a><br>RDFa: <a href="https://fairsharing.org/663"><https://fairsharing.org/663></a><br>OWL: <a href="https://fairsharing.org/FAIRsharing.atygwy"><https://fairsharing.org/FAIRsharing.atygwy></a><br>OBO: <a href="https://fairsharing.org/FAIRsharing.aa0eat"><https://fairsharing.org/FAIRsharing.aa0eat></a><br>TTL: <a href="https://fairsharing.org/FAIRsharing.3e194c"><https://fairsharing.org/FAIRsharing.3e194c></a><br>N-triples: <a href="https://fairsharing.org/7815"><https://fairsharing.org/7815></a></p> |

If you would like a format adding to this list, please get in touch with us.
