-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path03_08_targetPharma_List.ttl
411 lines (390 loc) · 20.8 KB
/
03_08_targetPharma_List.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
@base <http://www.openphacts.org/api> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dcterms: <http://purl.org/dc/terms/>.
@prefix api: <http://purl.org/linked-data/api/vocab#> .
@prefix gc: <http://puelia-php.googlecode.com/svn/trunk/documents/config.ttl#> .
@prefix rel: <http://vocab.org/relationship/> .
@prefix cw: <http://www.conceptwiki.org/concept/> .
@prefix void: <http://rdfs.org/ns/void#> .
@prefix chembl: <http://rdf.ebi.ac.uk/terms/chembl#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix drugbank: <http://bio2rdf.org/drugbank_vocabulary:> .
@prefix ops: <http://www.openphacts.org/api#> .
@prefix sio: <http://semanticscience.org/resource/> .
@prefix chembl-ops: <http://www.openphacts.org/terms/chembl#> .
@prefix obo: <http://purl.obolibrary.org/obo/> .
@prefix cheminf: <http://semanticscience.org/resource/> .
@prefix qudt: <http://qudt.org/1.1/schema/qudt#> .
@prefix bibo: <http://purl.org/ontology/bibo/> .
@prefix cito: <http://purl.org/spar/cito/> .
<#target> a api:API ;
rdfs:label "Target"@en ;
api:sparqlEndpoint <http://alpha.openphacts.org:8890/sparql/> ;
api:contentNegotiation api:parameterBased ;
api:variable _:targetOrganism ;
api:variable <#input> ;
api:variable chembl:standardType;
api:variable chembl:standardValue ;
api:variable chembl:hasQUDT ;
api:variable chembl:standardRelation ;
api:variable chembl:organismName ;
api:variable chembl:pChembl ;
api:variable chembl:dataValidityIssue ;
api:variable chembl:dataValidityComment ;
api:variable chembl:potentialDuplicate ;
api:variable chembl:targetConfScore ;
api:variable chembl:targetRelType ;
api:variable _:type ;
api:dataset <http://www.conceptwiki.org> ;
api:dataset <http://www.ebi.ac.uk/chembl>;
api:dataset <http://www.openphacts.org/bio2rdf/drugbank> ;
api:vocabulary <http://semanticscience.org/resource/> ;
api:vocabulary <http://bio2rdf.org/drugbank_vocabulary:> ;
api:vocabulary <http://www.w3.org/2004/02/skos/core#> ;
api:description "An API configuration to return paginated pharmacology information about a given target." ;
api:endpoint <#targetPharmacologyListEndpoint> .
<http://www.conceptwiki.org> api:label "ConceptWiki" .
<http://www.ebi.ac.uk/chembl> api:label "ChEMBL - RDF" .
<http://www.openphacts.org/bio2rdf/drugbank> api:label "DrugBank" .
<http://www.openphacts.org/units/MicrogramPerMilliliter> api:name "microgram_per_milliliter" .
<http://www.openphacts.org/units/Millimolar> api:name "millimolar" .
<http://www.openphacts.org/units/Nanomolar> api:name "nanomolar" .
<http://qudt.org/vocab/unit#Percent> api:name "percent" .
<http://www.openphacts.org/units/MilligramPerMilliliter> api:name "milligram_per_milliliter" .
<http://qudt.org/vocab/unit#MinuteTime> api:name "minute_time" .
<http://qudt.org/vocab/unit#Gram> api:name "gram" .
<http://www.openphacts.org/units/NanogramPerMilliliter> api:name "nanogram_per_milliliter" .
<http://qudt.org/vocab/unit#Hour> api:name "hour" .
<http://www.openphacts.org/units/PicogramPerMilliliter> api:name "picogram_per_milliliter" .
<http://www.openphacts.org/units/Micromolar> api:name "micromolar" .
<http://www.openphacts.org/units/Molar> api:name "molar" .
<http://www.openphacts.org/units/MilligramPerDeciliter> api:name "milligram_per_deciliter" .
<http://qudt.org/vocab/unit#Day> api:name "day" .
<http://qudt.org/vocab/unit#SecondTime> api:name "second_time" .
<http://www.openphacts.org/units/Picomolar> api:name "picomolar" .
<http://qudt.org/vocab/unit#Centimeter> api:name "centimeter" .
<http://www.openphacts.org/units/GramPerLiter> api:name "gram_per_liter" .
<http://qudt.org/vocab/unit#InternationalUnitPerLiter> api:name "international_unit_per_liter" .
<http://qudt.org/vocab/unit#Kilogram> api:name "kilogram" .
<http://qudt.org/vocab/unit#DegreeCelsius> api:name "degree_celsius" .
<http://qudt.org/vocab/unit#MilliSecond> api:name "milli_second" .
<http://qudt.org/vocab/unit#Millimeter> api:name "millimeter" .
<http://qudt.org/vocab/unit#Micrometer> api:name "micrometer" .
<http://qudt.org/vocab/unit#Liter> api:name "liter" .
<http://rdf.ebi.ac.uk/terms/chembl#SingleProtein> api:name "single_protein" .
<http://rdf.ebi.ac.uk/terms/chembl#ProteinComplexGroup> api:name "protein_complex_group" .
<http://rdf.ebi.ac.uk/terms/chembl#ProteinFamily> api:name "protein_family" .
<http://rdf.ebi.ac.uk/terms/chembl#ProteinSelectivityGroup> api:name "protein_selectivity_group" .
<http://rdf.ebi.ac.uk/terms/chembl#ProteinComplex> api:name "protein_complex" .
<http://rdf.ebi.ac.uk/terms/chembl#Organism> api:name "organism" .
<http://rdf.ebi.ac.uk/terms/chembl#CellLine> api:name "cell_line" .
<http://rdf.ebi.ac.uk/terms/chembl#Tissue> api:name "tissue" .
<http://rdf.ebi.ac.uk/terms/chembl#ProteinProteinInteraction> api:name "ppi" .
<http://rdf.ebi.ac.uk/terms/chembl#UnknownTarget> api:name "unknown" .
<http://rdf.ebi.ac.uk/terms/chembl#NucleicAcid> api:name "nucleic_acid" .
<http://rdf.ebi.ac.uk/terms/chembl#SubCellular> api:name "sub_cellular" .
<http://rdf.ebi.ac.uk/terms/chembl#UnclassifiedTarget> api:name "unclassified" .
<http://rdf.ebi.ac.uk/terms/chembl#ADMET> api:name "admet" .
<http://rdf.ebi.ac.uk/terms/chembl#ChimericProtein> api:name "chimeric_protein" .
<http://rdf.ebi.ac.uk/terms/chembl#Phenotype> api:name "phenotype" .
chembl:targetRelType api:name "target_rel_type" ;
api:label "target_rel_type" ;
api:value "ChEMBL Assay relationship type annotation. A single capital letter as follows. U: Default value - Target has yet to be curated; D: Direct protein target assigned; H: Homologous protein target assigned; M: Molecular target other than protein assigned; N: Non-molecular target assigned; S: Subcellular target assigned" ;
api:filterVariable "?assay_uri";
a rdf:Property .
chembl:organismName api:name "assay_organism" ;
api:label "assay_organism" ;
api:value "A literal organism in ChEMBL." ;
api:filterVariable "?assay_uri";
a rdf:Property .
_:targetOrganism api:name "target_organism" ;
api:label "target_organism" ;
api:value "A literal target organism in ChEMBL." ;
api:filterVariable "?chembl_target_uri";
rdfs:subPropertyOf chembl:organismName ;
a rdf:Property .
chembl:standardType api:name "activity_type" ;
api:label "activity_type" ;
api:filterVariable "?item";
api:value "One of the activity types listed at /pharmacology/filters/activities" ;
a rdf:Property .
chembl:hasQUDT api:name "activity_unit" ;
api:label "activity_unit" ;
api:value "The unit in which {activity_value} is given. See /pharmacology/filters/units/{activity_type} for allowed valued. For e.g. IC50: /pharmacology/filters/units/IC50" ;
api:filterVariable "?item";
a rdf:Property .
chembl:standardValue api:name "activity_value" ;
api:label "activity_value" ;
api:value "Return activity values equal to this number." ;
api:filterVariable "?item";
a rdf:Property .
chembl:standardRelation api:name "activity_relation" ;
api:label "activity_relation" ;
api:value ">, >=,= , < , <=" ;
api:filterVariable "?item";
a rdf:Property .
chembl:pChembl api:name "pChembl" ;
api:label "pChembl" ;
api:filterVariable "?item";
api:value "Return activities with a pChembl value equal to this number." ;
a rdf:Property .
chembl:dataValidityIssue api:name "data_validity_issue" ;
api:label "data_validity_issue" ;
api:filterVariable "?issue" ;
api:value "ChEMBL data validity issue annotation. One of: true, false." ;
rdfs:subPropertyOf api:graphFilter ;
a rdf:Property .
chembl:dataValidityComment api:name "data_validity_comment" ;
api:label "data_validity_comment" ;
api:filterVariable "?item" ;
api:value "ChEMBL data validity issue annotation. One of: 'Manually validated', 'Non standard unit for type','Outside typical range' ,'Potential missing data', 'Potential transcription error', 'Potential author error', 'Author confirmed error'." ;
a rdf:Property .
chembl:potentialDuplicate api:name "potential_duplicate" ;
api:label "potential_duplicate" ;
api:filterVariable "?dup" ;
api:value "ChEMBL potential duplicate annotation. One of: true, false." ;
rdfs:subPropertyOf api:graphFilter ;
a rdf:Property .
chembl:targetConfScore api:name "target_conf_score";
api:label "target_conf_score" ;
api:value "ChEMBL Target confidence score. An integer denoting the confidence of the target assigned. 0: Default value - Target unknown or has yet to be assigned; 1: Target assigned is non-molecular; 2: Target assigned is subcellular fraction; 3: Target assigned is molecular non-protein target; 4: Multiple homologous protein targets may be assigned; 5: Multiple direct protein targets may be assigned; 6: Homologous protein complex subunits assigned; 7: Direct protein complex subunits assigned; 8: Homologous single protein target assigned; 9: Direct single protein target assigned" ;
api:filterVariable "?conf_score" ;
rdfs:subPropertyOf api:graphFilter ;
a rdf:Property .
_:type api:name "target_type" ;
api:label "target_type" ;
api:filterVariable "?chembl_target_uri";
api:value "One of the types listed at /target/types. e.g. single_protein" ;
rdfs:subPropertyOf rdf:type ;
a rdf:Property .
<#input> api:name "uri" ;
api:label "uri";
api:value "A target URI. e.g.: http://www.conceptwiki.org/concept/00059958-a045-4581-9dc5-e5a08bb0c291" ;
rdfs:range rdfs:Resource .
<#targetPharmacologyListEndpoint> a api:IntermediateExpansionEndpoint ;
api:uriTemplate "/target/pharmacology/pages?uri={uri}" ;
api:variable <http://www.openphacts.org/units/MicrogramPerMilliliter> ;
api:variable <http://www.openphacts.org/units/Millimolar> ;
api:variable <http://www.openphacts.org/units/Nanomolar> ;
api:variable <http://qudt.org/vocab/unit#Percent> ;
api:variable <http://www.openphacts.org/units/MilligramPerMilliliter> ;
api:variable <http://qudt.org/vocab/unit#MinuteTime> ;
api:variable <http://qudt.org/vocab/unit#Gram> ;
api:variable <http://www.openphacts.org/units/NanogramPerMilliliter> ;
api:variable <http://qudt.org/vocab/unit#Hour> ;
api:variable <http://www.openphacts.org/units/PicogramPerMilliliter> ;
api:variable <http://www.openphacts.org/units/Micromolar> ;
api:variable <http://www.openphacts.org/units/Molar> ;
api:variable <http://www.openphacts.org/units/MilligramPerDeciliter> ;
api:variable <http://qudt.org/vocab/unit#Day> ;
api:variable <http://qudt.org/vocab/unit#SecondTime> ;
api:variable <http://www.openphacts.org/units/Picomolar> ;
api:variable <http://qudt.org/vocab/unit#Centimeter> ;
api:variable <http://www.openphacts.org/units/GramPerLiter> ;
api:variable <http://qudt.org/vocab/unit#InternationalUnitPerLiter> ;
api:variable <http://qudt.org/vocab/unit#Kilogram> ;
api:variable <http://qudt.org/vocab/unit#DegreeCelsius> ;
api:variable <http://qudt.org/vocab/unit#MilliSecond> ;
api:variable <http://qudt.org/vocab/unit#Millimeter> ;
api:variable <http://qudt.org/vocab/unit#Micrometer> ;
api:variable <http://qudt.org/vocab/unit#Liter> ;
api:variable <http://rdf.ebi.ac.uk/terms/chembl#SingleProtein> ;
api:variable <http://rdf.ebi.ac.uk/terms/chembl#ProteinComplexGroup> ;
api:variable <http://rdf.ebi.ac.uk/terms/chembl#ProteinFamily> ;
api:variable <http://rdf.ebi.ac.uk/terms/chembl#ProteinSelectivityGroup> ;
api:variable <http://rdf.ebi.ac.uk/terms/chembl#ProteinComplex> ;
api:variable <http://rdf.ebi.ac.uk/terms/chembl#Organism> ;
api:variable <http://rdf.ebi.ac.uk/terms/chembl#CellLine> ;
api:variable <http://rdf.ebi.ac.uk/terms/chembl#Tissue> ;
api:variable <http://rdf.ebi.ac.uk/terms/chembl#ProteinProteinInteraction> ;
api:variable <http://rdf.ebi.ac.uk/terms/chembl#UnknownTarget> ;
api:variable <http://rdf.ebi.ac.uk/terms/chembl#NucleicAcid> ;
api:variable <http://rdf.ebi.ac.uk/terms/chembl#SubCellular> ;
api:variable <http://rdf.ebi.ac.uk/terms/chembl#UnclassifiedTarget> ;
api:variable <http://rdf.ebi.ac.uk/terms/chembl#ADMET> ;
api:variable <http://rdf.ebi.ac.uk/terms/chembl#ChimericProtein> ;
api:variable <http://rdf.ebi.ac.uk/terms/chembl#Phenotype> ;
api:name "Target Pharmacology: List" ;
api:description "A page of items corresponding to acitivity values in the LDC for a given target" ;
api:exampleRequestPath "/target/pharmacology/pages?uri=http%3A%2F%2Fwww.conceptwiki.org%2Fconcept%2F9bd09e03-8d88-402b-a1e0-dd6a73964d1c";
api:exampleRequestPath "/target/pharmacology/pages?uri=http%3A%2F%2Fwww.conceptwiki.org%2Fconcept%2F9bd09e03-8d88-402b-a1e0-dd6a73964d1c&activity_type=Potency&activity_unit=nanomolar&maxEx-activity_value=10&minEx-activity_value=1&assay_organism=Mus%20musculus";
api:selector [
api:where "GRAPH <http://www.ebi.ac.uk/chembl> {
?assay_uri chembl:hasTarget ?chembl_target_uri .
?assay_uri chembl:hasActivity ?item .
?item chembl:hasMolecule ?chembl_compound .
?chembl_target_uri a ?target_type .
OPTIONAL { ?item chembl:dataValidityIssue ?issue_tmp }
BIND (IF (BOUND(?issue_tmp) , ?issue_tmp, false) AS ?issue)
OPTIONAL { ?item chembl:potentialDuplicate ?dup_tmp }
BIND (IF (BOUND(?dup_tmp) , ?dup_tmp, false) AS ?dup)
OPTIONAL { ?assay_uri chembl:targetConfScore ?conf_score_tmp }
BIND (IF (BOUND(?conf_score_tmp) , ?conf_score_tmp, 0) AS ?conf_score)
OPTIONAL { ?chembl_target_uri dcterms:title ?target_name_chembl }
OPTIONAL { ?chembl_target_uri chembl:organismName ?target_organism }
OPTIONAL { ?chembl_target_uri chembl:hasTargetComponent ?protein .
GRAPH <http://www.conceptwiki.org> {
?cw_target skos:exactMatch ?protein ;
skos:prefLabel ?protein_name
}
}
OPTIONAL { ?assay_uri chembl:organismName ?assay_organism }
OPTIONAL { ?assay_uri dcterms:description ?assay_description }
OPTIONAL { ?assay_uri chembl:assayTestType ?assay_type }
OPTIONAL { ?assay_uri chembl:targetConfDesc ?conf_desc }
OPTIONAL { ?assay_uri chembl:targetRelType ?rel_type ;
chembl:targetRelDesc ?rel_desc }
OPTIONAL { ?item chembl:publishedType ?published_type }
OPTIONAL { ?item chembl:publishedRelation ?published_relation }
OPTIONAL { ?item chembl:publishedValue ?published_value }
OPTIONAL { ?item chembl:publishedUnits ?published_unit }
OPTIONAL { ?item chembl:standardType ?activity_type }
OPTIONAL { ?item chembl:standardRelation ?activity_relation }
OPTIONAL { ?item chembl:standardValue ?standard_value .
BIND (xsd:decimal(?standard_value) as ?activity_value)}
OPTIONAL { ?item chembl:standardUnits ?activity_unit }
OPTIONAL { ?item chembl:hasQUDT ?qudt_uri }
OPTIONAL { ?item chembl:pChembl ?pChembl }
OPTIONAL { ?item chembl:activityComment ?act_comment }
OPTIONAL { ?item chembl:hasDocument ?doc_uri .
OPTIONAL { ?doc_uri owl:sameAs ?doi }
OPTIONAL { ?doc_uri bibo:pmid ?pmid }
}
OPTIONAL { ?item chembl:dataValidityComment ?comment}
}
OPTIONAL { GRAPH <http://chemistry.openphacts.org> {
?ocrs_compound skos:exactMatch ?chembl_compound .
?ocrs_compound cheminf:CHEMINF_000396 ?inchi;
cheminf:CHEMINF_000399 ?inchi_key;
cheminf:CHEMINF_000018 ?smiles .
OPTIONAL { [] obo:IAO_0000136 ?ocrs_compound ;
a cheminf:CHEMINF_000484 ;
qudt:numericValue ?molweight . }
OPTIONAL { [] obo:IAO_0000136 ?ocrs_compound ;
a cheminf:CHEMINF_000367;
qudt:numericValue ?num_ro5_violations . }
OPTIONAL { GRAPH <http://www.conceptwiki.org> {
?cw_compound skos:exactMatch ?ocrs_compound ;
skos:prefLabel ?compound_name .
} }
} }" ;
api:expansionVariable "chembl_compound" ;
] ;
api:defaultViewer <#targetPharmacologyListViewer> .
<#targetPharmacologyListViewer> a api:Viewer ;
api:name "targetPharmacologyListViewer" ;
api:template
"?item chembl:hasMolecule ?chembl_compound;
chembl:publishedType ?published_type ;
chembl:publishedRelation ?published_relation ;
chembl:publishedValue ?published_value ;
chembl:publishedUnits ?published_unit ;
chembl:standardType ?activity_type ;
chembl:standardRelation ?activity_relation ;
chembl:standardValue ?activity_value ;
chembl:hasQUDT ?qudt_uri;
chembl:hasAssay ?assay_uri ;
chembl:pChembl ?pChembl ;
chembl:activityComment ?act_comment ;
ops:dataValidityIssue ?issue ;
ops:dataValidityComment ?comment ;
ops:potentialDuplicate ?dup ;
bibo:pmid ?pmid ;
chembl:hasDocument ?doi ;
void:inDataset <http://www.ebi.ac.uk/chembl> .
?qudt_uri skos:prefLabel ?activity_unit .
?assay_uri chembl:assayOrganismName ?assay_organism ;
chembl:hasTarget ?chembl_target_uri ;
dcterms:description ?assay_description ;
chembl:targetConfDesc ?conf_desc ;
ops:targetConfScore ?conf_score ;
ops:targetRelType ?rel_type ;
chembl:targetRelDesc ?rel_desc ;
chembl:assayTestType ?assay_type ;
void:inDataset <http://www.ebi.ac.uk/chembl> .
?chembl_target_uri dcterms:title ?target_name_chembl ;
chembl:targetOrganismName ?target_organism ;
chembl:hasTargetComponent ?protein ;
a ?target_type ;
void:inDataset <http://www.ebi.ac.uk/chembl> .
?protein skos:exactMatch ?cw_target .
?chembl_compound skos:exactMatch ?ocrs_compound ;
void:inDataset <http://www.ebi.ac.uk/chembl> ;
skos:exactMatch ?cw_compound .
?cw_target skos:prefLabel ?protein_name ;
void:inDataset <http://www.conceptwiki.org> .
?ims_ocrs_compound_uri ops:smiles ?smiles ;
ops:inchi ?inchi ;
ops:inchikey ?inchi_key;
ops:molweight ?molweight ;
ops:ro5_violations ?num_ro5_violations ;
void:inDataset <http://chemistry.openphacts.org> .
?ims_cw_compound_uri skos:prefLabel ?compound_name ;
void:inDataset <http://www.conceptwiki.org> .
" ;
api:where
"{
GRAPH <http://www.ebi.ac.uk/chembl> {
?assay_uri chembl:hasTarget ?chembl_target_uri .
?assay_uri chembl:hasActivity ?item .
?item chembl:hasMolecule ?chembl_compound .
?chembl_target_uri a ?target_type .
OPTIONAL { ?item chembl:dataValidityIssue ?issue_tmp }
BIND (IF (BOUND(?issue_tmp) , ?issue_tmp, false) AS ?issue)
OPTIONAL { ?item chembl:potentialDuplicate ?dup_tmp }
BIND (IF (BOUND(?dup_tmp) , ?dup_tmp, false) AS ?dup)
OPTIONAL { ?assay_uri chembl:targetConfScore ?conf_score_tmp }
BIND (IF (BOUND(?conf_score_tmp) , ?conf_score_tmp, 0) AS ?conf_score)
OPTIONAL { ?chembl_target_uri dcterms:title ?target_name_chembl }
OPTIONAL { ?chembl_target_uri chembl:organismName ?target_organism }
OPTIONAL { ?chembl_target_uri chembl:hasTargetComponent ?protein .
GRAPH <http://www.conceptwiki.org> {
?cw_target skos:exactMatch ?protein ;
skos:prefLabel ?protein_name
}
}
OPTIONAL { ?assay_uri chembl:organismName ?assay_organism }
OPTIONAL { ?assay_uri dcterms:description ?assay_description }
OPTIONAL { ?assay_uri chembl:assayTestType ?assay_type }
OPTIONAL { ?assay_uri chembl:targetConfDesc ?conf_desc }
OPTIONAL { ?assay_uri chembl:targetRelType ?rel_type ;
chembl:targetRelDesc ?rel_desc }
OPTIONAL { ?item chembl:publishedType ?published_type }
OPTIONAL { ?item chembl:publishedRelation ?published_relation }
OPTIONAL { ?item chembl:publishedValue ?published_value }
OPTIONAL { ?item chembl:publishedUnits ?published_unit }
OPTIONAL { ?item chembl:standardType ?activity_type }
OPTIONAL { ?item chembl:standardRelation ?activity_relation }
OPTIONAL { ?item chembl:standardValue ?standard_value .
BIND (xsd:decimal(?standard_value) as ?activity_value)}
OPTIONAL { ?item chembl:standardUnits ?activity_unit }
OPTIONAL { ?item chembl:hasQUDT ?qudt_uri }
OPTIONAL { ?item chembl:pChembl ?pChembl }
OPTIONAL { ?item chembl:activityComment ?act_comment }
OPTIONAL { ?item chembl:hasDocument ?doc_uri .
OPTIONAL { ?doc_uri owl:sameAs ?doi }
OPTIONAL { ?doc_uri bibo:pmid ?pmid }
}
OPTIONAL { ?item chembl:dataValidityComment ?comment}
} } UNION
{
GRAPH <http://chemistry.openphacts.org> {
?ims_ocrs_compound_uri cheminf:CHEMINF_000396 ?inchi;
cheminf:CHEMINF_000399 ?inchi_key;
cheminf:CHEMINF_000018 ?smiles .
OPTIONAL { [] obo:IAO_0000136 ?ims_ocrs_compound_uri ;
a cheminf:CHEMINF_000484 ;
qudt:numericValue ?molweight . }
OPTIONAL { [] obo:IAO_0000136 ?ims_ocrs_compound_uri ;
a cheminf:CHEMINF_000367;
qudt:numericValue ?num_ro5_violations . }
}} UNION
{
GRAPH <http://www.conceptwiki.org> {
?ims_cw_compound_uri skos:prefLabel ?compound_name .
}}" .