> For the complete documentation index, see [llms.txt](https://iea-task-43.gitbook.io/iea-task-43-glossary/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://iea-task-43.gitbook.io/iea-task-43-glossary/terms/syntax.md).

# Syntax

A set of rules that defines the combinations of symbols that are considered to be correctly structured statements or expressions in a language or data format. Syntax therefore refers to the form of the data or code, and is contrasted with [semantics](https://github.com/IEA-Task-43/glossary/blob/main/terms/collections.md) – the meaning.

## Examples

We can express semantically identical data (in this case metadata for a webpage header) using different syntaxes.

{% tabs %}
{% tab title="HTML" %}
In HTML (HyperText Markup Language) with opengraph attributes:

```html
<head>
    <meta property="og:type" content="article">
    <meta name="description" content="Science to build on">
</head>
```

{% endtab %}

{% tab title="JSON" %}
In JSON (JavaScript Object Notation):

```json
{
  "type": "article",
  "description": "Science to build on",
}
```

{% endtab %}
{% endtabs %}

## Useful syntaxes for metadata

We think the following syntaxes will be useful for definition of [metadata](https://github.com/IEA-Task-43/glossary/blob/main/terms/live-edit-and-locked-edits.md) (but this is by no means an exhaustive list:

* [OWL (Web Ontology Language)](https://www.w3.org/TR/owl-semantics/syntax.html)
* [JSON (Javascript Object Notation)](https://www.json.org/json-en.html)
* [OpenGraph](https://ogp.me)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://iea-task-43.gitbook.io/iea-task-43-glossary/terms/syntax.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
