-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
201 changed files
with
4,841 additions
and
861 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ name: Build Docs | |
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
- develop | ||
workflow_dispatch: | ||
|
||
|
@@ -50,14 +50,14 @@ jobs: | |
with: | ||
node-version: 16 | ||
registry-url: https://npm.pkg.github.com/ | ||
- run: npm i -g @koumoul/gh-pages-multi | ||
- run: npm i -g @yalz/gh-pages-multi | ||
- run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "VSDS CI" | ||
git config --global url.https://${{ env.PAT }}@github.com/.insteadOf https://github.com/ | ||
env: | ||
PAT: ${{secrets.DEPLOY_DOCS_PAT}} | ||
- run: | | ||
gh-pages-multi deploy --title ${{env.title}} -t ${{steps.version.outputs.version}} -s docs/_site | ||
gh-pages-multi deploy --title "${{env.title}}" -t ${{steps.version.outputs.version}} -s docs/_site | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
layout: default | ||
parent: LDIO Outputs | ||
title: HTTP Sparql Out | ||
--- | ||
|
||
# HTTP Sparql Out | ||
|
||
***Ldio:HttpSparqlOut*** | ||
|
||
The HTTP SPARQL Out component can be used to write data to a SPARQL host, with Virtuoso as the most common known one. | ||
|
||
## Config | ||
|
||
| Property | Description | Required | Default | Example | Supported values | | ||
|:-----------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------|:---------|:--------|:-----------------------------------------|:-----------------| | ||
| _endpoint_ | The url of the sparql host | Yes | N/A | http://localhost:8890/sparql | URL | | ||
| _graph_ | The graph whereto must be written | No | N/A | http://example.graph.com | String | | ||
| _skolemisation.skolemDomain_ | If the skolem domain is set, skolemisation will be triggered before the triples are written to the sparql host | No | N/A | http://example.org | Any valid IRI | | ||
| _replacement.enabled_ | Whether the old nodes must be replaced by the new ones | No | true | false | Boolean value | | ||
| _replacement.depth_ | How deep the default delete query must delete nested nodes from the existing subject, will be ignored if `replacement.deleteFunction`is set | No | 10 | 15 | Integer | | ||
| _replacement.deleteFunction_ | If this property is set, then the default delete function will be overridden with this delete function | No | N/A | `DELETE { ?s ?p ?o} WHERE { ?s ?p ?o }` | String | | ||
|
||
{% include ldio-core/http-requester.md %} | ||
|
||
### Replacement | ||
|
||
Replacement includes that all old nodes from certain subjects must be deleted before the new nodes with the same subject | ||
can be inserted. \ | ||
By default, a delete query is constructed by the service that delete all nodes, including nested nodes to a level, | ||
specified by the `replacement.depth` property, deep. If for some reason, the constructed delete query is not sufficient, | ||
or the query is too complex, a custom delete query can be configured. This query will override the default query created | ||
by the service, which also mean the `replacement.depth` property will be ignored. | ||
|
||
### Skolemisation | ||
|
||
Not all sparql hosts can deal that well with blank nodes, therefore, those nodes can first be skolemised. However, to | ||
skolemise nodes, a skolem domain is required, which can be set by the `skolemisation.skolemDomain` property, which | ||
directly enables the service. More information about skolemisation can be found on | ||
the [skolemisation-transformer page](./../ldio-transformers/ldio-skolemisation-transformer) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
75 changes: 75 additions & 0 deletions
75
docs/_ldio/ldio-transformers/ldio-skolemisation-transformer.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
--- | ||
layout: default | ||
parent: LDIO Transformers | ||
title: Skolemisation Transformer | ||
--- | ||
|
||
# LDIO Skolemisation Transformer | ||
|
||
***Ldio:SkolemisationTransformer*** | ||
|
||
A transformer which skolemises the incoming model. | ||
|
||
## What is Skolemisation | ||
|
||
In the context of Linked Data, Skolemisation is a process used to handle blank nodes or anonymous nodes in RDF | ||
(Resource Description Framework) graphs. | ||
These nodes, which lack unique identifiers, are frequently employed in RDF/S knowledge bases to represent complex | ||
attributes or resources with known properties but unknown identities. | ||
|
||
Skolemisation in Linked Data involves the transformation of these blank nodes into Skolem Uniform Resource Identifiers ( | ||
URIs). | ||
The process enhances the clarity makes it easier to reference these nodes in future datasets. | ||
|
||
This process is particularly useful when dealing with substantial volumes of unstructured data distributed across | ||
diverse sources. | ||
By improving the accuracy and relevance of RDF summaries in relation to original datasets, | ||
Skolemisation enhances the efficiency and effectiveness of subsequent queries against these summaries. | ||
|
||
In summary, Skolemisation in Linked Data provides a way to handle the complexity introduced by blank nodes in RDF | ||
graphs, | ||
thereby enhancing the clarity, interoperability, and usability of the data. | ||
|
||
### Example | ||
|
||
Suppose we have the following RDF triples with a blank node represented as `_:`: | ||
|
||
``` | ||
_:bnode <http://purl.org/dc/terms/title> "The Lord of the Rings" . | ||
_:bnode <http://purl.org/dc/terms/creator> "J.R.R. Tolkien" . | ||
``` | ||
|
||
In this example, `_:` is a blank node that represents a resource (a book in this case) with known properties (title and | ||
creator) but an unknown identity. | ||
|
||
Through Skolemisation, we can replace the blank node with a Skolem URI. | ||
The Skolem URI is typically a URL that is unique to the blank node and is generated by the system handling the RDF data. | ||
Here’s how it might look: | ||
|
||
``` | ||
<http://example.com/.well-known/genid/123456> <http://purl.org/dc/terms/title> "The Lord of the Rings" . | ||
<http://example.com/.well-known/genid/123456> <http://purl.org/dc/terms/creator> "J.R.R. Tolkien" . | ||
``` | ||
|
||
In this Skolemized version, the blank node has been replaced with the Skolem | ||
URI http://example.com/.well-known/genid/123456. | ||
This URI is unique to the resource previously represented by the blank node, and can now be used to reference this | ||
resource in other datasets. | ||
This is a simple example, but it illustrates the basic process of Skolemisation in Linked Data. | ||
|
||
## Config | ||
|
||
| Property | Description | Required | Default | Example | Supported values | | ||
|----------------|----------------------|----------|---------|--------------------|------------------| | ||
| _skolemDomain_ | Skolemisation domain | true | N/A | http://example.com | Any valid URI | | ||
|
||
### Configuration | ||
|
||
The YAML configuration of this example would be as follows: | ||
|
||
```yaml | ||
transformers: | ||
- name: Ldio:SkolemisationTransformer | ||
config: | ||
skolemDomain: http://example.com | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
layout: default | ||
parent: Pipeline Management | ||
title: LDES Client Status | ||
nav_order: 4 | ||
--- | ||
|
||
# LDES Client Status | ||
|
||
Just like the LDIO pipelines have a status, so does the [`Ldio:LdesClient`](../ldio-inputs/ldio-ldes-client). The client | ||
status can be fetched when a pipeline that has a running status, and of course when it contains an LDES client as input | ||
component. | ||
|
||
## Overview Of The Status Flow | ||
|
||
```mermaid | ||
graph LR | ||
; | ||
REPLICATING --> SYNCHRONISING; | ||
REPLICATING --> COMPLETED; | ||
SYNCHRONISING --> COMPLETED; | ||
SYNCHRONISING --> ERROR; | ||
REPLICATING --> ERROR; | ||
``` | ||
|
||
The above diagram shows the flow between the different statuses of the client. | ||
|
||
## REPLICATING | ||
|
||
The startup status of the client. This status indicates that the LDES client have not yet fetched all the available | ||
fragments of a view (or views if so configured) | ||
|
||
## SYNCHRONISING | ||
|
||
This status indicates that all the fragments of the configured view(s) have been fetched at least once, and there is at | ||
least one fragment that does not have an immutable state yet. | ||
|
||
## ERROR | ||
|
||
This status indicates that an error has occurred somewhere while `REPLICATING` or `SYNCHRONISING` | ||
|
||
## COMPLETED | ||
|
||
This status indicates that all the fragments of the configured view has been fetched at least once and all those have an | ||
immutable state, or in other words, the end of the LDES has been reached. |
Oops, something went wrong.