-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmapping.yml
More file actions
99 lines (93 loc) · 2.67 KB
/
mapping.yml
File metadata and controls
99 lines (93 loc) · 2.67 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
prefixes:
ov: http://open.vocab.org/terms/
kgb: https://kgb-workshop.org/
mappings:
workshops:
sources:
- ['csv/general-info.csv~csv']
s: https://kgb-workshop.org/resources/Event/$(id)
po:
- [a, schema:Event]
- [schema:name, $(title)]
- [schema:duration, $(duration)]
- [schema:startDate, $(startDate)]
- [schema:endDate, $(endDate)]
- [schema:location, $(location)]
- [schema:superEvent, $(superEvent)]
- p: schema:subEvent
o:
mapping: dates
- p: schema:organizer
o:
mapping: organizers
topics:
sources:
- ['csv/topics.csv~csv']
s: https://kgb-workshop.org/resources/Topic/$(id)
po:
- [a, schema:CreativeWork]
- [schema:name, $(name)]
subtopics:
sources:
- ['csv/subtopics.csv~csv']
s: https://kgb-workshop.org/resources/Topic/$(id)
po:
- [schema:keyword, $(subtopic)]
pc:
sources:
- ['csv/pc.csv~csv']
s: https://kgb-workshop.org/resources/ProgramCommittee/$(id)
po:
- [a, schema:Person]
- [schema:performerIn, https://kgb-workshop.org/resources/Event/kgb2019~iri]
- [schema:name, $(name)]
- [schema:memberOf, $(organization)]
dates:
sources:
- ['csv/important-dates.csv~csv']
s: https://kgb-workshop.org/resources/ImportantDates/$(date)
po:
- [a, schema:Event]
- [schema:name, $(event)]
- [schema:startDate, $(date)]
- [schema:description, $(description)]
organizers:
sources:
- ['csv/organizers.csv~csv']
s: https://kgb-workshop.org/resources/Organizer/$(id)
po:
- [a, schema:Person]
- [schema:name, $(name)]
- [schema:sameAs, $(webpage)]
- [ov:twitter-id, $(twitter)]
- [schema:memberOf, $(organization)]
- [schema:image, http://kgb-workshop.org/img/$(photo)]
- [schema:description, $(biography)]
- [schema:email, $(email)]
- [schema:jobTitle, $(role)]
- [http://example.org/linkedin, $(linkedin)]
papers:
sources:
- ['csv/accepted-papers.csv~csv']
s: https://kgb-workshop.org/resources/Article/$(id)
po:
- [a, schema:Article]
- [schema:name, $(title)]
- [schema:review, $(review)~iri]
- [kgb:paperType, $(type)]
authors:
sources:
- ['csv/authors.csv~csv']
s: https://kgb-workshop.org/resources/Author/$(id)
po:
- [a, schema:Person]
- [schema:name, $(name)]
- [kgb:authorOrder, $(authorNumber)]
- p: schema:author
o:
- mapping: papers
condition:
function: equal
parameters:
- [str1, $(paper)]
- [str2, $(id)]