-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce the IDTA Query Language #292
base: IDTA-01002-3-1_preparation
Are you sure you want to change the base?
Conversation
|
Add precedence: AND, OR, NOT Add types and casts: str(), num(), hex(), bool() Add xxx. in FieldIdentifiers, e.g. sm. or sme. Implicit casting to be discussed
This is the first complete grammar for query language and access rules of security.
* improve text * add select explanations * correct comparison operators * remove multilanguage fields * reorder sections * correct examples * add elemMatch * add special functions
…io/aas-specs-api into SeBa/query-language
* minor corrections * fix Typo * fieldIdentifier with <>
@@ -209,7 +209,7 @@ | |||
<FieldIdentifierString> ::= <FieldIdentifierAAS> | <FieldIdentifierSM> | <FieldIdentifierSME> | <FieldIdentifierCD> | <FieldIdentifierAasDescriptor> | <FieldIdentifierSmDescriptor> | |||
<FieldIdentifierAAS> ::= "aas." ( "$idShort" | "$displayName." <MultiLanguageClause> | "$description." <MultiLanguageClause> | "$id" | "$assetInformation.$assetKind" | "$assetInformation.$assetType" | "$assetInformation.$globalAssetId" | "$assetInformation." <SpecificAssetIdsClause> | "$submodel." <ReferenceClause> ) | |||
<FieldIdentifierSM> ::= "sm." ( "$semanticId." <ReferenceClause> | "$idShort" | "$displayName." <MultiLanguageClause> | "description." <MultiLanguageClause> | "$id" ) | |||
<FieldIdentifierSME> ::= "sme." <idShortPath>? ( "$semanticId." <ReferenceClause> | "$idShort" | "$displayName." <MultiLanguageClause> | "$description." <MultiLanguageClause> | "$value" | "$valueType" ) | |||
<FieldIdentifierSME> ::= "sme." ( <idShortPath> ".")? ( "$semanticId." <ReferenceClause> | "$idShort" | "$displayName." <MultiLanguageClause> | "$description." <MultiLanguageClause> | "$value" | "$valueType" ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use [] for optional parts. Do not mix [] and ? notation in AAS specs
<FieldIdentifierSME> ::= "sme." ( <idShortPath> ".")? ( "$semanticId." <ReferenceClause> | "$idShort" | "$displayName." <MultiLanguageClause> | "$description." <MultiLanguageClause> | "$value" | "$valueType" ) | |
<FieldIdentifierSME> ::= "sme." [ <idShortPath> "."] ( "$semanticId." <ReferenceClause> | "$idShort" | "$displayName." <MultiLanguageClause> | "$description." <MultiLanguageClause> | "$value" | "$valueType" ) |
Aorzelski/pr1
No description provided.