-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmapping.xrm
44 lines (31 loc) · 920 Bytes
/
mapping.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
output r2rml
template employeeIRI "http://data.example.com/employee/{0}"
template departmentIRI "http://data.example.com/department/{0}"
template locationIRI "http://data.example.com/location/{0}"
map Employee from exampledatabase.employee {
subject template employeeIRI with EMPNO;
types
ex.Employee
properties
ex.name from ENAME;
}
map Department from exampledatabase.department {
subject template departmentIRI with DEPTNO;
types
ex.Department
properties
ex.name from DNAME with language-tag en;
schema.location template locationIRI with LOC;
}
map Employee2Department from exampledatabase.employee_department {
subject template employeeIRI with EMPNO;
properties
ex.department template departmentIRI with DEPTNO;
}
map Location from exampledatabase.department {
subject template locationIRI with LOC;
types
schema.Place
properties
schema.name from LOC with language-tag en;
}