-
Notifications
You must be signed in to change notification settings - Fork 0
/
mapping.ttl
79 lines (75 loc) · 2.6 KB
/
mapping.ttl
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
@prefix rr: <http://www.w3.org/ns/r2rml#> .
@prefix rml: <http://semweb.mmlab.be/ns/rml#> .
@prefix ql: <http://semweb.mmlab.be/ns/ql#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rev: <http://purl.org/stuff/rev#> .
@prefix schema: <http://schema.org/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix base: <http://tib.de/ontario/mapping#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix iasis: <http://project-iasis.eu/vocab/> .
@prefix fnml: <http://semweb.mmlab.be/ns/fnml#> .
@prefix fno: <https://w3id.org/function/ontology#> .
@prefix ex: <http://www.example.com/> .
@base <http://MapFun.KG/> .
<#TriplesMap1>
rml:logicalSource [ rml:source "/Users/maria-esthervidal/Downloads/veracity25.csv";
rml:referenceFormulation ql:CSV ];
rr:subjectMap [
rr:template "http://project-iasis.eu/Mutation/{GENOMIC_MUTATION_ID}";
rr:class iasis:Mutation;
];
rr:predicateObjectMap [
rr:predicate owl:sameAs;
rr:objectMap <#FunctionMap1>
];
rr:predicateObjectMap [
rr:predicate iasis:tissue;
rr:objectMap [
rml:reference "Primary site"
]
].
<#TriplesMap2>
rml:logicalSource [ rml:source "/Users/maria-esthervidal/Downloads/veracity25.csv";
rml:referenceFormulation ql:CSV ];
rr:subjectMap [
rr:template "http://project-iasis.eu/Sample/{Sample name}";
rr:class iasis:Sample;
];
rr:predicateObjectMap [
rr:predicate iasis:isAssociatedTo;
rr:objectMap <#FunctionMap1>
].
<#FunctionMap1>
a fnml:FunctionTermMap;
rr:termType rr:IRI;
fnml:functionValue [
rml:logicalSource [ rml:source "/Users/maria-esthervidal/Downloads/veracity25.csv";
rml:referenceFormulation ql:CSV
];
rr:predicateObjectMap [
rr:predicate fno:executes ;
rr:objectMap [
rr:constant ex:variantIdentifier
]
];
rr:predicateObjectMap [
rr:predicate ex:column1;
rr:objectMap [
rml:reference "Mutation CDS"
]
];
rr:predicateObjectMap [
rr:predicate ex:column2;
rr:objectMap [
rml:reference "Gene name";
]
];
rr:predicateObjectMap [
rr:predicate ex:prefix;
rr:objectMap [
rr:constant "http://project-iasis.eu/Variant/";
]
];
].