Contents |
List of types in hyerarchy:
All instances of Class in the dataset MUST have all the predicates of the Frame
A slice is a graph template which selects a subgraph.
Example: a Statement Template:
[ ] predicate [ ]
evaluates to the subgraph matching all triples with the specified predicate. A statement template may also indicate the subject, the object or the object datatype or the object lang.
Other statement templates:
subject predicate [ ]
[ ] predicate object
[ ] predicate [ ]@en
[ ] predicate [ ]^^xsd:string
Example: a Path:
[ ] predicate1 [ ] / [ ] predicate2 [ ] / [ ] predicate3 [ ]
evaluates in the triple collection having all the three predicates in chain.
An Statement Template can include conditions (within [ ] ), for example:
[rdf:type = owl:Class] predicate [ ]
would select all triples with subjects with rdf:type owl:Class
Conditions are evaluated to be TRUE or FALSE with respect to the node to which they apply.
[ condition ] property [ condition ]
Aggregation test functions
Aggregation test functions can be used in any CONDITION, and have as input the value(s) of the selected property.
Operator | Parameters | Returns | Description |
---|---|---|---|
MAX |
| BOOLEAN | Evaluates as TRUE the node with the maximum value from the set of values. |
MIN |
| BOOLEAN | Evaluates as TRUE the node with the minimum value from the set of values. |
Node test functions
Node test functions can be used in any CONDITION, and have as input the currently selected node.
Operator | Parameters | Returns | Description |
---|---|---|---|
EQUALS |
| BOOLEAN | If the value of the property is the given IRI or LITERAL. With policy STRICT, also datatype or lang must match. Default policy is LAZY. |
RANGE |
| BOOLEAN | If the selected literal is in the range given. The min and max parameters are CASTed to the datatype of value. If value does not define a datatype or the datatype is not numeric[1], then xsd:integer is used. |
LANG |
| BOOLEAN | If the given literal is tagged with lang lang |
A sanitized Statement Template results by deleting all conditions from a Statement Template. A Statement Template without conditions is then equal to its sanitized version.