-
Notifications
You must be signed in to change notification settings - Fork 0
/
ingest.ttl
62 lines (55 loc) · 1.71 KB
/
ingest.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
@prefix rml: <http://w3id.org/rml/>.
@prefix js: <https://w3id.org/conn/js#>.
@prefix ws: <https://w3id.org/conn/ws#>.
@prefix : <https://w3id.org/conn#>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix rml: <https://w3id.org/conn/rml#>.
@prefix ql: <http://semweb.mmlab.be/ns/ql#>.
<> owl:imports <../node_modules/@ajuvercr/js-runner/ontology.ttl>.
<> owl:imports <../node_modules/@ajuvercr/js-runner/channels/file.ttl>.
<> owl:imports <../node_modules/@ajuvercr/js-runner/channels/http.ttl>.
<> owl:imports <../node_modules/ldes-client/processor.ttl>.
<> owl:imports <../node_modules/@treecg/sds-storage-writer-mongo/step.ttl>.
<> owl:imports <server.ttl>.
<writer> a js:JsWriterChannel.
<reader> a js:JsReaderChannel.
[ ] a js:JsChannel;
:reader <reader>;
:writer <writer>.
[ ] a js:LdesClient;
js:output <writer>;
js:url <MRGID-LDES-export.ttl>;
js:ordered "none";
js:follow false;
js:interval 5000;
js:shapeFile <shape.ttl>;
js:loose false;
js:urlIsView true;
js:verbose false.
<metadata/in> a :FileReaderChannel;
:fileReadFirstContent "true";
:fileOnReplace "true";
:filePath <./metadataIn.ttl>.
[ ] a js:Ingest;
js:dataInput <reader>;
js:metadataInput <metadata/in>;
js:database [
js:metadata "META";
js:data "DATA";
js:index "INDEX";
js:url "mongodb://mongodb:27017/maregraph";
];
js:pageSize 150.
[ ] a js:SolidServer;
js:database [
js:metadata "META";
js:data "DATA";
js:index "INDEX";
js:url "mongodb://mongodb:27017/maregraph";
];
js:view [
js:prefix "default";
js:stream "http://marineregions.org/feed";
js:description "http://localhost:3000/ldes/#timestampFragmentation";
].