1 Definition 2 Functional Requirements 3 Syntax
4 Semantics 5 Conformance Testing 6 Performance Assessment

1 Definition

A Data Type representing what is known of a domain, as items of text: the knowledge that extends the general knowledge of the language model of a machine to the domain in which it operates. It is given by who knows the domain (for a Connected Autonomous Vehicle, the Autonomous Motion Subsystem, from its Offline Map) or is data of the Access of an implementation, and is what Domain Knowledge Retrieval (MMC-DKR) searches and gives.

2 Functional Requirements

Domain Knowledge includes:

  1. What the domain is, in a sentence.
  2. Items, each a piece of what is known, in words.
  3. For an item about something a person names (a place, an instrument, an action that can be asked): its Name, the other words and phrases by which a person says the same (its Synonyms – the vocabulary of the domain, with its synonyms and variations), the Reference by which the application identifies it (a Way Point of an Offline Map, an object of a scene, a command), and its Type: the class, in an ontology, of which it is an instance (for an MPAI class, its identifier at ontologies.mpai.community, such as MMM-TEC Item or M-Location), so that what a person names is tied to what the ontology says of its kind.
  4. Where an item comes from (a document, such as a page of a standard, or a Data Type of the application).
  5. In the Domain Knowledge that Domain Knowledge Retrieval gives, the Relevance of each item to the request: 1 for an item the request names, less than 1 for the others.

A request may be given back to the application as a Domain Knowledge: the items it named, whose References the application gave.

3 Syntax

https://schemas.mpai.community/MMC/V2.5/data/DomainKnowledge.json

4 Semantics

Label Description
Header Domain Knowledge Header – the value “MMC-DKN-V2.5”. Required.
MInstanceID Identifier of the M-Instance.
DomainKnowledgeID Identifier of this Domain Knowledge. Required.
DomainKnowledgeTime Time this Domain Knowledge was produced (Simple Time).
Domain What the knowledge is about, in a sentence: the application and its domain.
Items[] The items of what is known. Required.
– ItemID Identifier of the item within this Domain Knowledge. Required.
– Text What is known, in words. Required.
– Name The name of what the item is about, as a person says it (a place, an instrument).
– Synonyms[] Other words and phrases by which a person says the same as the Name: the vocabulary of the domain, with its synonyms and variations.
– Reference The identifier by which the application identifies what is named (a Way Point of an Offline Map, an Object of a Scene).
– Type The identifier (a URI) of the class, in an ontology, of which what is named is an instance: for an MPAI class, its identifier at ontologies.mpai.community (an Item of an M-Instance: https://ontologies.mpai.community/MMM4/V3.0/mmm#Item).
– Source Where the item comes from (a document, a Data Type of the application).
– Relevance How relevant the item is to the request it was retrieved for, given by Domain Knowledge Retrieval: 1 for an item the request names (its Name or one of its Synonyms), less than 1 for the others. A number from 0 to 1.
DataXMData MPAI-PTF Data Exchange Metadata of this Domain Knowledge.
DescrMetadata Human-readable descriptive metadata of this Domain Knowledge (plain text, max 2048 characters).

5 Conformance Testing

A Data instance Conforms with MPAI-MMC Domain Knowledge (MMC-DKN) if:

  1. The Data validates against the Domain Knowledge JSON Schema.
  2. All Data in the Domain Knowledge JSON Schema
    1. Have the specified type
    2. Validate against their JSON Schemas
    3. Conform with their Data Qualifiers if present.

6 Performance Assessment

Not part of this specification.