DS Specifications
Domain SpecificationsListsVocabularies
main
main
  • DS Specifications Overview
  • Domain Specifications
    • DS-V7
      • DS-V7 - Changelog
      • DS-V7 - Developer Notes
      • DS-V7 - Grammar
        • Domain Specification
          • @Context
          • Domain Specification Node
          • Property Node
          • Class Node
          • DataType Node
          • Enumeration Node
        • Verification Report
          • Verification Report Node
          • Error Entry Node
          • Error List for the domain-specific verification
        • DS-Path
      • DS-V7 - Examples
    • DS-V6
    • DS-V5
      • DS-V5 - Grammar
        • VerificationReport
          • Error List for the basic verification
          • Verification of schema.org annotations
          • Error List for the Meta verification of DS (unfinished)
          • Error List for the DS-based verification
        • Grammar and semantics of Domain Specifications
          • Enumeration Node
          • Property Node
          • Domain Specification Node
          • Class Node
          • Terms used in Domain Specifications
          • @Context
          • DataType Node
      • DS-V5 - Examples
    • DS-V4
    • DS-V3
      • DS-V3 - Examples
      • DS-V3 - Grammar
        • VerificationReport
          • Error List for the basic verification
          • Verification of schema.org annotations
          • Error List for the DS-based verification
          • Error List for the Meta verification of DS
        • Grammar and semantics of Domain Specifications
          • SDO Enumeration
          • SDO Property
          • Domain Specification
          • SDO Class
          • SDO Datatype
          • @Context
    • DS-V2
      • DS-V2 - Grammar
        • Grammar and semantics of Domain Specifications
          • Grammar Documentation for node type "RestrictedEnumeration"
          • Grammar Documentation for node type "CustomEnumerationValue"
          • Grammar Documentation for node type "Enumeration"
          • Grammar Documentation for node type "Property"
          • Grammar Documentation for node type "RestrictedProperty"
          • Grammar Documentation for node type "DomainSpecification"
          • Grammar Documentation for node type "RestrictedClass"
          • Grammar Documentation for node type "EnumerationValue"
          • Grammar Documentation for node type "Class"
          • Grammar Documentation for node type "DataType"
        • Numeric Pattern
        • Grammar Documentation for node type "VerificationReport"
          • Grammar Documentation for node type "Error"
          • Error codes for Verification Reports
        • Rules Grammar
          • Grammar Documentation for node type "ComplexRule"
          • Grammar Documentation for node type "DateRule"
          • Grammar Documentation for node type "TextRule"
          • Grammar Documentation for node type "TimeRule"
          • Grammar Documentation for node type "NumberRule"
          • Grammar Documentation for node type "BooleanRule"
          • Grammar Documentation for node type "DateTimeRule"
      • DS-V2 - Examples
    • DS-V1
      • DS-V1 - Examples
      • DS-V1 - Grammar
  • SDO-Verification
  • Lists
    • List-V1
  • Vocabularies
  • DS-Vocabulary
    • Input
      • Vocabulary for Domain Specifications
      • DS-Vocabulary
    • DS-Vocab-V1
Powered by GitBook
On this page
  1. Domain Specifications
  2. DS-V7
  3. DS-V7 - Grammar
  4. Domain Specification

@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.

{
  "@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"
    }
  }
}
PreviousDomain SpecificationNextDomain Specification Node

Last updated 3 years ago