| 17 | | Query 2: find out all the drugs, which are substrate of some enzyme, their category and reaction. |
| | 18 | {{{ |
| | 19 | SELECT * |
| | 20 | WHERE { |
| | 21 | ?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://bio2rdf.org/omim_vocabulary:Phenotype> . |
| | 22 | ?s <http://www.w3.org/2000/01/rdf-schema#label> ?o. |
| | 23 | ?s <http://bio2rdf.org/omim_vocabulary:clinical-features> ?clinicFeature. |
| | 24 | ?s <http://bio2rdf.org/omim_vocabulary:article> ?article. |
| | 25 | ?s <http://bio2rdf.org/omim_vocabulary:x-uniprot> ?protein. |
| | 26 | filter(regex(str(?o),"GLUCOCORTICOID-REMEDIABLE ALDOSTERONISM","i")) |
| | 27 | ?drug <http://bio2rdf.org/drugbank_vocabulary:gene-name> ?geneName. |
| | 28 | ?drug <http://bio2rdf.org/drugbank_vocabulary:x-uniprot> ?protein. |
| | 29 | ?drug <http://bio2rdf.org/drugbank_vocabulary:general-function> ?genFunction. |
| | 30 | ?drug <http://bio2rdf.org/drugbank_vocabulary:specific-function> ?speFunction. |
| | 31 | |
| | 32 | } |
| | 33 | }}} |
| | 34 | |
| | 35 | |
| | 36 | |
| | 37 | Query 3: find out all the drugs, which are substrate of some enzyme, their category and reaction. |