> For the complete documentation index, see [llms.txt](https://gitbook.semantify.it/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.semantify.it/domainspecifications/ds-v7/grammar/domainspecification/context.md).

# @Context

In the past, we have tried to use a standard `@context` for Domain Specifications that would work in all tools and use-cases. In **DS-V7** a minimal `@context` is provided, which (1) omits the explicit `@id` for specified terms and (2) omits the terms `sh:property` and `sh:node`. If a tool needs further changes to the @context, they should be done in a pre-processing step for that tool (most tools only have to 'read' Domain Specifications).

Additionally, some new term entries are introduced. Keep in mind that external vocabularies could introduce vocabulary namespaces to the `@context`.

```json
{
  "@context": {
    "ds": "https://vocab.sti2.at/ds/",
    "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
    "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
    "schema": "https://schema.org/",
    "sh": "http://www.w3.org/ns/shacl#",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "ds:propertyDisplayOrder": {
      "@container": "@list",
      "@type": "@id"
    },
    "ds:subDSOf": {
      "@type": "@id"
    },
    "ds:usedVocabulary": {
      "@type": "@id"
    },
    "sh:targetClass": {
      "@type": "@id"
    },
    "sh:targetObjectsOf": {
      "@type": "@id"
    },
    "sh:targetSubjectsOf": {
      "@type": "@id"
    },
    "sh:class": {
      "@type": "@id"
    },
    "sh:path": {
      "@type": "@id"
    },
    "sh:datatype": {
      "@type": "@id"
    },
    "sh:equals": {
      "@type": "@id"
    },
    "sh:disjoint": {
      "@type": "@id"
    },
    "sh:lessThan": {
      "@type": "@id"
    },
    "sh:lessThanOrEquals": {
      "@type": "@id"
    },
    "sh:in": {
      "@container": "@list"
    },
    "sh:languageIn": {
      "@container": "@list"
    },
    "sh:or": {
      "@container": "@list"
    }
  }
}
```


---

# 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://gitbook.semantify.it/domainspecifications/ds-v7/grammar/domainspecification/context.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.
