Skip to content

Commit

Permalink
Update to new FnO prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
julianrojas87 committed Nov 23, 2023
1 parent 766c06f commit abfcc91
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion src/voc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions test/processors.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@ describe("Tests for RML-related processors", async () => {
js:lifeCycleConfig [
js:predicate <http://ex.org/lifeCycleProp>;
js:create [
js:function <http://example.com/idlab/function/explicitCreate>;
js:function <https://w3id.org/imec/idlab/function#explicitCreate>;
js:type <https://www.w3.org/ns/activitystreams#Create>
];
js:update [
js:function <http://example.com/idlab/function/implicitUpdate>;
js:function <https://w3id.org/imec/idlab/function#implicitUpdate>;
js:type <https://www.w3.org/ns/activitystreams#Update>
];
js:delete [
js:function <http://example.com/idlab/function/implicitDelete>;
js:function <https://w3id.org/imec/idlab/function#implicitDelete>;
js:type <https://www.w3.org/ns/activitystreams#Delete>
]
];
Expand Down

0 comments on commit abfcc91

Please sign in to comment.