-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfetch.ttl
35 lines (26 loc) · 1.08 KB
/
fetch.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
@prefix js: <https://w3id.org/conn/js#>.
@prefix : <https://w3id.org/conn#>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix tree: <https://w3id.org/tree#>.
@prefix sh: <http://www.w3.org/ns/shacl#>.
<> owl:imports <./node_modules/@rdfc/js-runner/ontology.ttl>.
<> owl:imports <./node_modules/@rdfc/js-runner/channels/file.ttl>.
<> owl:imports <./node_modules/ldes-client/processor.ttl>.
# This imports our current processor’s SHACL shape
<> owl:imports <processor.ttl>.
<feed/writer> a js:JsWriterChannel .
<feed/reader> a js:JsReaderChannel .
[ ] a js:LdesClient;
js:output <feed/writer>;
js:url <https://waterkwaliteit-brugge-ldes.kindflower-25e41809.westeurope.azurecontainerapps.io/Waterkwaliteit/latestView>; # ldes-server or localhost
js:savePath <test.json>.
<feed/channel> a :Channel;
:writer <feed/writer> ;
:reader <feed/reader> .
[ ] a js:DataReaderWriter;
js:incoming <feed/reader>;
js:outgoing <feed/filewriter> .
<feed/filewriter> a :FileWriterChannel ;
:fileOnReplace false;
:filePath <test.ttl> .