-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcsvw-template-map.yaml
More file actions
84 lines (84 loc) · 2.73 KB
/
csvw-template-map.yaml
File metadata and controls
84 lines (84 loc) · 2.73 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
prefixes: {bfo: 'http://purl.obolibrary.org/obo/', csvw: 'http://www.w3.org/ns/csvw#',
data: 'https://github.com/Mat-O-Lab/CSVToCSVW/raw/main/examples/example-metadata.json/',
template: 'https://github.com/Mat-O-Lab/MSEO/raw/main/methods/DIN_EN_ISO_527-3.drawio.ttl/',
owl: 'http://www.w3.org/2002/07/owl#', rdf: 'http://www.w3.org/1999/02/22-rdf-syntax-ns#',
rdfs: 'http://www.w3.org/2000/01/rdf-schema#', xml: 'http://www.w3.org/XML/1998/namespace',
xsd: 'http://www.w3.org/2001/XMLSchema#'}
base: http://purl.matolab.org/mseo/mappings/
sources:
columns: {access: 'https://github.com/Mat-O-Lab/CSVToCSVW/raw/main/examples/example-metadata.json',
iterator: '$..columns[*]', referenceFormulation: jsonpath}
annotations: {access: 'https://github.com/Mat-O-Lab/CSVToCSVW/raw/main/examples/example-metadata.json',
iterator: '$.notes[*]', referenceFormulation: jsonpath}
use_template_rowwise: 'false'
mappings:
SpecimenID:
sources: [annotations]
s: $(@id)
condition:
function: equal
parameters:
- [str1, $(label)]
- [str2, aktuelle Probe]
po:
- ['http://purl.obolibrary.org/obo/RO_0010002', 'template:SpecimenID~iri']
WidthMeasurement:
sources: [annotations]
s: $(@id)
condition:
function: equal
parameters:
- [str1, $(label)]
- [str2, Probenbreite b0]
po:
- ['http://purl.obolibrary.org/obo/RO_0010002', 'template:WidthMeasurement~iri']
ThicknessMeasurement:
sources: [annotations]
s: $(@id)
condition:
function: equal
parameters:
- [str1, $(label)]
- [str2, Probendicke a0]
po:
- ['http://purl.obolibrary.org/obo/RO_0010002', 'template:ThicknessMeasurement~iri']
ForceMeasurement:
sources: [columns]
s: $(@id)
condition:
function: equal
parameters:
- [str1, $(name)]
- [str2, Standardkraft]
po:
- ['http://purl.obolibrary.org/obo/RO_0010002', 'template:ForceMeasurement~iri']
LengthMeasurement:
sources: [columns]
s: $(@id)
condition:
function: equal
parameters:
- [str1, $(name)]
- [str2, Standardweg]
po:
- ['http://purl.obolibrary.org/obo/RO_0010002', 'template:LengthMeasurement~iri']
CrossheadSpeedSetPointValue:
sources: [annotations]
s: $(@id)
condition:
function: equal
parameters:
- [str1, $(label)]
- [str2, Prüfgeschwindigkeit]
po:
- ['http://purl.obolibrary.org/obo/RO_0010002', 'template:CrossheadSpeedSetPointValue~iri']
PreLoadSetPointValue:
sources: [annotations]
s: $(@id)
condition:
function: equal
parameters:
- [str1, $(label)]
- [str2, Vorkraft]
po:
- ['http://purl.obolibrary.org/obo/RO_0010002', 'template:PreLoadSetPointValue~iri']