@@ -91,7 +91,8 @@ map:pharmgxGeneSymbol a d2rq:PropertyBridge;
91
91
d2rq:belongsToClassMap map:FDAPharmgxTable;
92
92
d2rq:property linkedspls_vocabulary:HGNCGeneSymbol;
93
93
d2rq:join " FDAPharmgxTable.biomarker => FDAPharmgxTableToOntologyMap.HGNCGeneSymbol" ;
94
- d2rq:uriSqlExpression " CONCAT('http://bio2rdf.org/hugo:', FDAPharmgxTableToOntologyMap.HGNCGeneSymbol)" ;
94
+ # d2rq:uriSqlExpression "CONCAT('http://bio2rdf.org/hugo:', FDAPharmgxTableToOntologyMap.HGNCGeneSymbol)"; ## contains whitespace
95
+ d2rq:column " FDAPharmgxTableToOntologyMap.HGNCGeneSymbol" ;
95
96
d2rq:propertyDefinitionLabel " HGNCGeneSymbol" @en;
96
97
d2rq:propertyDefinitionComment " The official gene symbol from the HUGO Gene Nomenclature Committee (HGNC) <www.genenames.org/> for a string that the FDA provides for the biomarker in its pharmacogenomic biomarker table <http://www.fda.gov/Drugs/ScienceResearch/ResearchAreas/Pharmacogenetics/ucm083378.htm>" @en;
97
98
.
@@ -109,29 +110,31 @@ map:pharmgxPharmgkb a d2rq:PropertyBridge;
109
110
d2rq:belongsToClassMap map:FDAPharmgxTable;
110
111
d2rq:property foaf:homepage;
111
112
d2rq:join " FDAPharmgxTable.biomarker => FDAPharmgxTableToOntologyMap.HGNCGeneSymbol" ;
112
- d2rq:uriSqlExpression " CONCAT('http://pharmgkb.org/gene/', FDAPharmgxTableToOntologyMap.Pharmgkb)" ;
113
+ d2rq:uriSqlExpression " CONCAT('http://pharmgkb.org/gene/', FDAPharmgxTableToOntologyMap.Pharmgkb)" ; # # there are empty value in Pharmgkb mapping
114
+ # d2rq:sqlExpression "CONCAT('http://pharmgkb.org/gene/', FDAPharmgxTableToOntologyMap.Pharmgkb)";
113
115
.
114
116
115
117
map:pharmgxBio2rdf a d2rq:PropertyBridge;
116
118
d2rq:belongsToClassMap map:FDAPharmgxTable;
117
119
d2rq:property linkedspls_vocabulary:pharmgxXref;
118
120
d2rq:join " FDAPharmgxTable.biomarker => FDAPharmgxTableToOntologyMap.HGNCGeneSymbol" ;
119
- d2rq:uriSqlExpression " CONCAT('http://bio2rdf.org/pharmgkb:', FDAPharmgxTableToOntologyMap.Pharmgkb)" ;
121
+ d2rq:uriSqlExpression " CONCAT('http://bio2rdf.org/pharmgkb:', FDAPharmgxTableToOntologyMap.Pharmgkb)" ; # # there are empty value in Pharmgkb mapping
122
+ # d2rq:sqlExpression "CONCAT('http://bio2rdf.org/pharmgkb:', FDAPharmgxTableToOntologyMap.Pharmgkb)";
120
123
d2rq:propertyDefinitionLabel " pharmgxXref" @en;
121
124
d2rq:propertyDefinitionComment " A URI that links a biomarker present in the FDA pharmacogenomic biomarker table <http://www.fda.gov/Drugs/ScienceResearch/ResearchAreas/Pharmacogenetics/ucm083378.htm> to an external Semantic Web source" @en;
122
125
.
123
126
124
127
map:pharmgxPRoEntity a d2rq:PropertyBridge;
125
128
d2rq:belongsToClassMap map:FDAPharmgxTable;
126
129
d2rq:property owl:sameAs;
127
- d2rq:join " FDAPharmgxTable.biomarker => FDAPharmgxTableToOntologyMap.HGNCGeneSymbol" ;
130
+ d2rq:join " FDAPharmgxTable.biomarker => FDAPharmgxTableToOntologyMap.HGNCGeneSymbol" ;
128
131
d2rq:uriColumn " FDAPharmgxTableToOntologyMap.URI" ;
129
132
.
130
133
131
134
map:pharmgxComment a d2rq:PropertyBridge;
132
135
d2rq:belongsToClassMap map:FDAPharmgxTable;
133
136
d2rq:property rdfs:comment;
134
- d2rq:join " FDAPharmgxTable.biomarker => FDAPharmgxTableToOntologyMap.HGNCGeneSymbol" ;
137
+ d2rq:join " FDAPharmgxTable.biomarker => FDAPharmgxTableToOntologyMap.HGNCGeneSymbol" ;
135
138
d2rq:column " FDAPharmgxTableToOntologyMap.CuratorComments" ;
136
139
.
137
140
@@ -146,7 +149,7 @@ map:pharmgxActiveMoiety a d2rq:PropertyBridge;
146
149
map:pharmgxTherAppl a d2rq:PropertyBridge;
147
150
d2rq:belongsToClassMap map:FDAPharmgxTable;
148
151
d2rq:property linkedspls_vocabulary:therapeuticApplication;
149
- d2rq:uriColumn " FDAPharmgxTable.therapeuticApplication" ;
152
+ d2rq:column " FDAPharmgxTable.therapeuticApplication" ;
150
153
d2rq:translateWith map:pharmgxTherAppTranslate;
151
154
d2rq:propertyDefinitionLabel " therapeuticApplication" @en;
152
155
d2rq:propertyDefinitionComment " The therapeutic application that the FDA provides in its pharmacogenomic biomarker table <http://www.fda.gov/Drugs/ScienceResearch/ResearchAreas/Pharmacogenetics/ucm083378.htm>" @en;
@@ -156,7 +159,7 @@ map:pharmgxRxCuiActiveMoiety a d2rq:PropertyBridge;
156
159
d2rq:belongsToClassMap map:FDAPharmgxTable;
157
160
d2rq:property linkedspls_vocabulary:activeMoietyRxCUI;
158
161
d2rq:join " FDAPharmgxTable.activeMoiety <= FDAPreferredSubstanceToRxNORM.PreferredSubstance" ;
159
- d2rq:uriColumn " FDAPreferredSubstanceToRxNORM.RxNORM" ;
162
+ d2rq:uriSqlExpression " CONCAT('http://purl.bioontology.org/ontology/RXNORM/', CAST( FDAPreferredSubstanceToRxNORM.RxNORM AS CHAR)) " ;
160
163
.
161
164
162
165
map:pharmgxSetId a d2rq:PropertyBridge;
@@ -168,7 +171,7 @@ map:pharmgxSetId a d2rq:PropertyBridge;
168
171
map:pharmgxSection a d2rq:PropertyBridge;
169
172
d2rq:belongsToClassMap map:FDAPharmgxTable;
170
173
d2rq:property linkedspls_vocabulary:pharmgxSPLSection;
171
- d2rq:uriColumn " FDAPharmgxTable.SPLSection" ;
174
+ d2rq:column " FDAPharmgxTable.SPLSection" ;
172
175
d2rq:translateWith map:pharmgxSectionTranslate;
173
176
.
174
177
@@ -348,8 +351,8 @@ map:routeOfAdministration a d2rq:PropertyBridge;
348
351
d2rq:belongsToClassMap map:structuredProductLabelMetadata;
349
352
d2rq:property linkedspls_vocabulary:routeOfAdministration;
350
353
351
- # d2rq:uriPattern "routeOfAdministration/@@ structuredProductLabelMetadata.routeOfAdministration|urlify@@";
352
- d2rq:uriSqlExpression " CONCAT('http://bio2rdf.org/linkedspls_vocabulary:routeOfAdministration#', structuredProductLabelMetadata.routeOfAdministration) " ;
354
+ # d2rq:uriSqlExpression "CONCAT('http://bio2rdf.org/linkedspls_vocabulary:routeOfAdministration#', structuredProductLabelMetadata.routeOfAdministration)"; ## white space in column routeOfAdministration
355
+ d2rq:column " structuredProductLabelMetadata.routeOfAdministration" ;
353
356
d2rq:propertyDefinitionLabel " routeOfAdministration" @en;
354
357
d2rq:propertyDefinitionComment " The route by which a drug product is taken into the body" @en;
355
358
.
0 commit comments