Skip to content
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

update dependencies #163

Merged
merged 6 commits into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ version: '3'
vars:
PUBLIC_BRANCH: published
CURRENT_VERSION: 24.2
MATERIAL_TAG: 9.5.17
MATERIAL_INSIDER_TAG: 9.5.17-insiders-4.53.6
MATERIAL_TAG: 9.5.31
MATERIAL_INSIDER_TAG: 9.5.31-insiders-4.53.12

tasks:

Expand Down
2 changes: 1 addition & 1 deletion docs/automate/cmemc-command-line-interface/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ tags:

---

Battle tested in many projects to **:simple-powerautomate: Automate Activities** and **:material-remote: Remote Control** eccenca Corporate Memory instances.
Battle tested in many projects to **:other-powerautomate: Automate Activities** and **:material-remote: Remote Control** eccenca Corporate Memory instances.

``` shell-session title="Example: List datasets with a specific tag and project."
$ cmemc -c prod.knowledge.company.org # (1)!
Expand Down
2 changes: 1 addition & 1 deletion docs/build/kafka-consumer/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ The message content is captured as plain text. In order to process complex messa

![](demo-wf-3.png){ class="bordered" }<!-- 24.1 -->

Any modifications to the message set, such as filtering, can be done prior to parsing the content. One could for example remove duplicates (according to the message key) from the messages by using the [Distinct-by task](../../deploy-and-configure/configuration/dataintegration/plugin-reference/index.md#distinct-by).
Any modifications to the message set, such as filtering, can be done prior to parsing the content. One could for example remove duplicates (according to the message key) from the messages by using the [Distinct-by task](../../deploy-and-configure/configuration/dataintegration/plugin-reference/index.md).

![](demo-wf-4.png){ class="bordered" }<!-- 24.1 -->

Expand Down
2 changes: 1 addition & 1 deletion docs/consume/consuming-graphs-in-power-bi/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
icon: simple/powerbi
icon: other/powerbi
tags:
- Dashboards
- KnowledgeGraph
Expand Down
2 changes: 1 addition & 1 deletion docs/consume/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Since not all applications allow the direct use of SPARQL, this section includes

<div class="grid cards" markdown>

- :simple-powerbi: [Power BI](consuming-graphs-in-power-bi/index.md)
- :other-powerbi: [Power BI](consuming-graphs-in-power-bi/index.md)

---

Expand Down
20 changes: 10 additions & 10 deletions docs/develop/python-plugins/development/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -572,16 +572,16 @@ class EntitiesProducer(WorkflowPlugin):

Code explanation:

1. Provide a label, description and short documentation for the plugin. [(#17-27)](#__codelineno-10-17)
2. Define the parameters of the plugin. Here, two parameters are defined, where one specifies the number of `rows` and the other acthe number of `columns`. [(#24-41)](#__codelineno-10-24)
3. Intialise the parameters of the plugin. Additionally, you can validate and raise exceptions from `init()`. [(#46-54)](#__codelineno-10-46)
4. To return Entities we have to create a list of `entities` and its `schema`. As a first step, declare entities as an empty list. [(#62)](#__codelineno-10-62)
5. As previously mentioned, each `Entity` should have a `URI` and it can have sequence of `values`. Here, a list of entities is created with random UUIDs based on rows and values are created based on columns. After each entity is created it is appended to the entities list. [(#64-78)](#__codelineno-10-64)
6. To generate a `schema` (which is of type `EntitySchema`), which should have a `type_uri` and a sequence of `paths`, define an empty list of paths. [(#79)](#__codelineno-10-79)
7. Based on the columns, each unique path is appended to the paths list. Once all paths are added, the schema is updated with `type_uri` and `paths` respectively. [(#80-86)](#__codelineno-10-80)
8. Once the entities and the schema are generated you can return them. [(#101)](#__codelineno-10-101)
9. Update plugin logs using `PluginLogger` which is available as a default logger. [(#87-91)](#__codelineno-10-87)
10. To make your plugin more user-friendly you can use the Context API `report.update()` to update the workflow report. [(#91-100)](#__codelineno-10-86)
1. Provide a label, description and short documentation for the plugin. (#17-27)
2. Define the parameters of the plugin. Here, two parameters are defined, where one specifies the number of `rows` and the other acthe number of `columns`. (#24-41)
3. Intialise the parameters of the plugin. Additionally, you can validate and raise exceptions from `init()`. (#46-54)
4. To return Entities we have to create a list of `entities` and its `schema`. As a first step, declare entities as an empty list. (#62)
5. As previously mentioned, each `Entity` should have a `URI` and it can have sequence of `values`. Here, a list of entities is created with random UUIDs based on rows and values are created based on columns. After each entity is created it is appended to the entities list. (#64-78)
6. To generate a `schema` (which is of type `EntitySchema`), which should have a `type_uri` and a sequence of `paths`, define an empty list of paths. (#79)
7. Based on the columns, each unique path is appended to the paths list. Once all paths are added, the schema is updated with `type_uri` and `paths` respectively. (#80-86)
8. Once the entities and the schema are generated you can return them. (#101)
9. Update plugin logs using `PluginLogger` which is available as a default logger. (#87-91)
10. To make your plugin more user-friendly you can use the Context API `report.update()` to update the workflow report. (#91-100)

### Consuming Entities

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ The `GraphResourcePattern` object reference is provided in different ways depend
value: Literal;
};
```

=== "JSON Schema"

```json
Expand Down Expand Up @@ -189,7 +188,7 @@ The `GraphResourcePattern` object reference is provided in different ways depend
| ------------------------- | ------------------------------------------------------- |
| **Type** | `object` |
| **Required** | No |
| **Additional properties** | [[Not allowed]](# "Additional Properties not allowed.") |
| **Additional properties** | Not allowed |
| **Defined in** | #/definitions/GraphResourcePattern |

**Description:** Description of the GraphResourcePattern JSON data structure
Expand All @@ -216,15 +215,15 @@ The `GraphResourcePattern` object reference is provided in different ways depend

| Each item of this array must be | Description |
| ---------------------------------------- | ----------- |
| [PathVariableFilter](#pathFilters_items) | - |
| PathVariableFilter | - |

### <a name="autogenerated_heading_2"></a>PathVariableFilter

| | |
| ------------------------- | ------------------------------------------------------- |
| **Type** | `object` |
| **Required** | No |
| **Additional properties** | [[Not allowed]](# "Additional Properties not allowed.") |
| **Additional properties** | Not allowed |
| **Defined in** | #/definitions/PathVariableFilter |

| Property | Pattern | Type | Deprecated | Definition | Title/Description |
Expand Down Expand Up @@ -253,15 +252,15 @@ The `GraphResourcePattern` object reference is provided in different ways depend

| Each item of this array must be | Description |
| --------------------------------------------------- | ----------- |
| [Literal](#pathFilters_items_isNoneOfLiteral_items) | - |
| Literal | - |

##### <a name="autogenerated_heading_3"></a>Literal

| | |
| ------------------------- | ------------------------------------------------------- |
| **Type** | `object` |
| **Required** | No |
| **Additional properties** | [[Not allowed]](# "Additional Properties not allowed.") |
| **Additional properties** | Not allowed |
| **Defined in** | #/definitions/Literal |

| Property | Pattern | Type | Deprecated | Definition | Title/Description |
Expand Down Expand Up @@ -308,7 +307,7 @@ The `GraphResourcePattern` object reference is provided in different ways depend

| Each item of this array must be | Description |
| ------------------------------------------------------------------- | ----------- |
| [isNoneOfResource items](#pathFilters_items_isNoneOfResource_items) | - |
| isNoneOfResource items | - |

##### <a name="autogenerated_heading_4"></a>isNoneOfResource items

Expand All @@ -334,21 +333,21 @@ The `GraphResourcePattern` object reference is provided in different ways depend

| Each item of this array must be | Description |
| -------------------------------------------------------------------- | ----------- |
| [PathVariableLiteralFilter](#pathFilters_items_literalFilters_items) | - |
| PathVariableLiteralFilter | - |

##### <a name="autogenerated_heading_5"></a>PathVariableLiteralFilter

| | |
| ------------------------- | ------------------------------------------------------- |
| **Type** | `object` |
| **Required** | No |
| **Additional properties** | [[Not allowed]](# "Additional Properties not allowed.") |
| **Additional properties** | Not allowed |
| **Defined in** | #/definitions/PathVariableLiteralFilter |

| Property | Pattern | Type | Deprecated | Definition | Title/Description |
| ----------------------------------------------------------------- | ------- | ---------------- | ---------- | -------------------------------------------------------------------------------------------- | ----------------- |
| + [operation](#pathFilters_items_literalFilters_items_operation ) | No | enum (of string) | No | - | - |
| + [value](#pathFilters_items_literalFilters_items_value ) | No | object | No | Same as [pathFilters_items_isNoneOfLiteral_items](#pathFilters_items_isNoneOfLiteral_items ) | - |
| + [value](#pathFilters_items_literalFilters_items_value ) | No | object | No | Same as pathFilters_items_isNoneOfLiteral_items | - |

###### <a name="pathFilters_items_literalFilters_items_operation"></a>operation

Expand All @@ -373,8 +372,8 @@ The `GraphResourcePattern` object reference is provided in different ways depend
| ------------------------- | ----------------------------------------------------------------------------------- |
| **Type** | `object` |
| **Required** | Yes |
| **Additional properties** | [[Not allowed]](# "Additional Properties not allowed.") |
| **Same definition as** | [pathFilters_items_isNoneOfLiteral_items](#pathFilters_items_isNoneOfLiteral_items) |
| **Additional properties** | Not allowed |
| **Same definition as** | pathFilters_items_isNoneOfLiteral_items |

#### <a name="pathFilters_items_varIsAnyOneOfLiteral"></a>varIsAnyOneOfLiteral

Expand All @@ -393,16 +392,16 @@ The `GraphResourcePattern` object reference is provided in different ways depend

| Each item of this array must be | Description |
| -------------------------------------------------------- | ----------- |
| [Literal](#pathFilters_items_varIsAnyOneOfLiteral_items) | - |
| Literal | - |

##### <a name="autogenerated_heading_6"></a>Literal

| | |
| ------------------------- | ----------------------------------------------------------------------------------- |
| **Type** | `object` |
| **Required** | No |
| **Additional properties** | [[Not allowed]](# "Additional Properties not allowed.") |
| **Same definition as** | [pathFilters_items_isNoneOfLiteral_items](#pathFilters_items_isNoneOfLiteral_items) |
| **Additional properties** | Not allowed |
| **Same definition as** | pathFilters_items_isNoneOfLiteral_items |

#### <a name="pathFilters_items_varIsAnyOneOfResource"></a>varIsAnyOneOfResource

Expand All @@ -421,7 +420,7 @@ The `GraphResourcePattern` object reference is provided in different ways depend

| Each item of this array must be | Description |
| ----------------------------------------------------------------------------- | ----------- |
| [varIsAnyOneOfResource items](#pathFilters_items_varIsAnyOneOfResource_items) | - |
| varIsAnyOneOfResource items | - |

##### <a name="autogenerated_heading_7"></a>varIsAnyOneOfResource items

Expand Down Expand Up @@ -454,15 +453,15 @@ The `GraphResourcePattern` object reference is provided in different ways depend

| Each item of this array must be | Description |
| ------------------------------- | ----------- |
| [Path](#paths_items) | - |
| Path | - |

### <a name="autogenerated_heading_8"></a>Path

| | |
| ------------------------- | ------------------------------------------------------- |
| **Type** | `object` |
| **Required** | No |
| **Additional properties** | [[Not allowed]](# "Additional Properties not allowed.") |
| **Additional properties** | Not allowed |
| **Defined in** | #/definitions/Path |

| Property | Pattern | Type | Deprecated | Definition | Title/Description |
Expand Down Expand Up @@ -538,3 +537,4 @@ This configuration produces the following result, it only shows results where:

- `resource` is of type `http://example.com/vocab/Company`
- a `subResource` exists which is related to `resource` via the `http://example.com/vocab/hasParent` property

Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title" : "GraphResourcePattern",
"description" : "Description of the GraphResourcePattern JSON data structure",
"properties": {
"pathFilters": {
"items": {
"properties": {
"isNoneOfLiteral": {
"items": {
"properties": {
"datatype": {
"type": "string"
},
"lang": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"isNoneOfResource": {
"items": {
"type": "string"
},
"type": "array"
},
"literalFilters": {
"items": {
"properties": {
"operation": {
"enum": [
"Contains",
"GreaterEqualsThan",
"GreaterThan",
"LessEqualThan",
"LessThan",
"NotEquals",
"Regex"
],
"type": "string"
},
"value": {
"properties": {
"datatype": {
"type": "string"
},
"lang": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"varIsAnyOneOfLiteral": {
"items": {
"properties": {
"datatype": {
"type": "string"
},
"lang": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"varIsAnyOneOfResource": {
"items": {
"type": "string"
},
"type": "array"
},
"varname": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"paths": {
"items": {
"properties": {
"inverted": {
"type": "boolean"
},
"objectVarName": {
"type": "string"
},
"predicate": {
"type": "string"
},
"subjectVarName": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
Loading