-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmeasurements-map.yaml
More file actions
24 lines (24 loc) · 1.22 KB
/
measurements-map.yaml
File metadata and controls
24 lines (24 loc) · 1.22 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
prefixes: {bfo: 'http://purl.obolibrary.org/obo/', csvw: 'http://www.w3.org/ns/csvw#',
data: 'https://raw.githubusercontent.com/Mat-O-Lab/IOFMaterialsTutorial/main/measurements-metadata.json/',
template: 'https://github.com/Mat-O-Lab/IOFMaterialsTutorial/raw/main/LengthMeasurement.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:
annotations: {access: 'https://raw.githubusercontent.com/Mat-O-Lab/IOFMaterialsTutorial/main/measurements-metadata.json',
iterator: '$.notes[*]', referenceFormulation: jsonpath}
columns: {access: 'https://raw.githubusercontent.com/Mat-O-Lab/IOFMaterialsTutorial/main/measurements-metadata.json',
iterator: '$.tables[*].tableSchema.columns[*]', referenceFormulation: jsonpath}
use_template_rowwise: 'false'
mappings:
LengthData:
sources: [columns]
s: $(@id)
condition:
function: equal
parameters:
- [str1, $(name)]
- [str2, LengthMm]
po:
- ['http://purl.obolibrary.org/obo/RO_0010002', 'template:LengthData~iri']