forked from zazuko/gitpod-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBrochures.xrm
54 lines (44 loc) · 1.58 KB
/
Brochures.xrm
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
output r2rml
map Brochure from wikibus.brochures {
subject template brochureId with Id;
graphs
template brochureId with Id;
properties
rdf.^type template "api/Brochure" ;
bibo.pages from Pages;
dcterms.date from Year with datatype xsd.gYear;
dcterms.date from YearMonth with datatype xsd.gYearMonth;
dcterms.date from Date with datatype xsd.date;
schema.containedInPlace template storageLocationId with FileCabinet FileOffset;
dcterms.language template languageId with Language;
dcterms.title from FolderName;
dcterms.description from Notes;
dcterms.identifier from FolderCode;
schema.contributor template userId with User;
schema.associatedMedia template brochurePdfId with AssociatedMedia;
schema.image template imageId with SourceType LegacyImage;
schema.image template imageId with SourceType Image;
schema.identifier from Id;
}
map BrochureGenerated from wikibus.brochures {
subject template brochureId with Id;
graphs
template brochureGenerated with Id;
properties
dcterms.created from DateCreated;
dcterms.modified from DateUpdated;
wbo.migrated constant "true";
}
map BrochureFile from wikibus.brochures_files {
subject template brochurePdfId with Id;
graphs
template brochurePdfId with Id;
types
schema.MediaObject
properties
schema.contentSize from ContentSize;
dcat.byteSize from ByteSize with datatype xsd.long;
schema.encodingFormat constant "application/pdf";
schema.contentUrl template "https://wikibus.blob.core.windows.net/sources{0}/{1}" with Id ContentName;
schema.encodesCreativeWork template brochureId with Id;
}