Difference between
version 78
and
version 77:
Line 55 was replaced by line 55 |
- The annotation language has two forms: a simple "shorthand" syntax, and a more complex, full syntax. For resources and their objects, the simple syntax permits the following two types of expressions given a resource label {{T}} and attribute name {{A}}: |
+ The annotation language has two forms: a simple "shorthand" syntax, and a more complex, full syntax. For resources and their objects, the simple syntax permits the following expressions given a resource label {{T}} and attribute name {{A}}: |
At line 60 added 12 lines. |
+ |
+ T.A. ... .A |
+ }}} |
+ |
+ The expression {{T}} selects corresponding objects of the resource. For example, if the resource is a data set, {{T}} selects the tuple objects of the resource. If the resource is an actor, {{T}} selects instances of the actor. Similarly, the expression {{T.A}} selects the nested {{A}} objects of {{T}}. For {{T}} representing a data set, this expression would select the values of attribute {{A}}. The last expression selects nested attributes for complex structures that can occur in actor input/output ports. For example, if {{T}} represented an input port to some actor, the expression {{T.A1.A2}} selects the {{A2}} objects nested within {{A1}} objects of {{T}} instances. |
+ |
+ In the simple-version of the annotation syntax, we permit the following ontology expressions given ontology concepts {{C}} and roles {{R}} (both resource labels): |
+ |
+ {{{ |
+ C |
+ |
+ C[A=C, ..., A=C] |
Removed line 63 |
- We assume that a resource label denotes the set of corresponding objects satisfying the structural constraints of the resource. For example, if {{T}} is a label for a dataset, the expression {{T}} implicitly denotes the set of tuple objects in the corresponding dataset. Similarly, if {{T}} is a label for an actor, the expression{{T}} implicitly denotes an instance of that actor. |
Removed line 65 |
- Similarly, in the simple-version of the annotation syntax, we permit ontology expressions of the form: |
At line 89 added 7 lines. |
+ |
+ In addition, the label also represents the collection of |
+ |
+ denotes the set of corresponding objects satisfying the structural constraints of the resource. For example, if {{T}} is a label for a dataset, the expression {{T}} implicitly denotes the set of tuple objects in the corresponding dataset. Similarly, if {{T}} is a label for an actor, the expression{{T}} implicitly denotes an instance of that actor. |
+ |
+ |
+ |
Back to KRSMS Semantic Annotation Language,
or to the Page History.
|