diff --git a/README.md b/README.md index 78849bf..4eeecc4 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ This processor takes a stream of YARRRML mapping files as input and converts the ### [`js:RMLMapperReader`](https://github.com/julianrojas87/rml-mapper-processor-ts/blob/main/processors.ttl#L44) -This processor is executes RML mapping rules using the Java-based [RMLMapper engine](https://github.com/RMLio/rmlmapper-java). A mapping process can be defined within a Connector Architecture (CA) pipeline, by defining an input stream of RML mappings, which will be executed sequentially. A set of logical sources (`js:rmlSource`) and targets (`js:rmlTarget`) can be optionally declared to make them visible to the CA pipeline. Otherwise a default output (`js:output`) needs to be defined, pointing to a file where all produced RDF triples/quads will be collected. +This processor executes RML mapping rules using the Java-based [RMLMapper engine](https://github.com/RMLio/rmlmapper-java). A mapping process can be defined within a Connector Architecture (CA) pipeline, by defining an input stream of RML mappings, which will be executed sequentially. A set of logical sources (`js:rmlSource`) and targets (`js:rmlTarget`) can be optionally declared to make them visible to the CA pipeline. Otherwise a default output (`js:output`) needs to be defined, pointing to a file where all produced RDF triples/quads will be collected. Logical sources can be marked as trigger-based (`js:trigger`) to indicate that they will be updated in the future and therefore, triggering new mapping executions. Finally, a path (`js:rmlJar`) to a local RMLMapper can be given. An example definition of the processor is shown next: diff --git a/src/voc.ts b/src/voc.ts index 5743ede..724ccdb 100644 --- a/src/voc.ts +++ b/src/voc.ts @@ -102,7 +102,7 @@ export const GREL = createUriAndTermNamespace( ); export const IDLAB_FN = createUriAndTermNamespace( - "http://example.com/idlab/function/", + "https://w3id.org/imec/idlab/function#", "iri", "explicitCreate", "implicitUpdate", diff --git a/test/processors.test.ts b/test/processors.test.ts index 46a7df6..9ac2d4d 100644 --- a/test/processors.test.ts +++ b/test/processors.test.ts @@ -109,15 +109,15 @@ describe("Tests for RML-related processors", async () => { js:lifeCycleConfig [ js:predicate ; js:create [ - js:function ; + js:function ; js:type ]; js:update [ - js:function ; + js:function ; js:type ]; js:delete [ - js:function ; + js:function ; js:type ] ];