forked from zazuko/gitpod-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMagazines.xrm
66 lines (50 loc) · 1.72 KB
/
Magazines.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
55
56
57
58
59
60
61
62
63
64
65
66
output r2rml
map Magazine from wikibus.magazines {
subject template magazineId with Slug;
graphs
template magazineId with Slug;
properties
rdf.^type template "api/Periodical" ;
dcterms.title from Name;
dcterms.description from SubName;
wbo.issues template magazineIssues with Slug;
}
map MagazinIssueCollections from wikibus.magazines {
subject template magazineIssues with Slug;
graphs
template magazineIssues with Slug;
properties
rdf.^type template "api/IssueCollection" ;
hydra.memberAssertion template "issue-collection-{0}-member-assersions" with Slug as BlankNode ;
}
map MagazinIssueCollectionMembersAssertions from wikibus.magazines {
subject template "issue-collection-{0}-member-assersions" with Slug as BlankNode ;
graphs
template magazineIssues with Slug;
properties
hydra.property constant schema.isPartOf ;
hydra.object template magazineId with Slug;
}
map MagazineIssue from wikibus.magazineIssues {
subject template magazineIssueId with MagazineSlug Id;
graphs
template magazineIssueId with MagazineSlug Id;
types
bibo.Issue
properties
bibo.pages from Pages;
dcterms.date from YearMonth with datatype xsd.gYearMonth;
dcterms.date from Date with datatype xsd.date;
schema.containedInPlace template storageLocationId with FileCabinet FileOffset;
schema.isPartOf template magazineId with MagazineSlug;
bibo.issue from MagIssueNumber;
schema.image template magazineIssueImageId with MagazineSlug LegacyImage;
}
map MagazineIssueGenerated from wikibus.magazineIssues {
subject template magazineIssueId with MagazineSlug Id;
graphs
template magazineIssueGenerated with MagazineSlug Id;
properties
dcterms.created from DateCreated;
dcterms.modified from DateUpdated;
}