10 | | ?reaction <http://bio2rdf.org/kegg_vocabulary:enzyme> ?enzyme. |
11 | | ?reaction <http://bio2rdf.org/kegg_vocabulary:reaction> ?equation. |
12 | | ?drug <http://bio2rdf.org/drugbank_vocabulary:category> ?category. |
13 | | ?drug <http://purl.org/dc/terms/description> ?desc. |
14 | | ?drug <http://bio2rdf.org/drugbank_vocabulary:x-kegg> ?cpd. |
| 14 | ?reaction kegg:enzyme ?enzyme. |
| 15 | ?reaction kegg::reaction ?equation. |
| 16 | ?drug kegg::category ?category. |
| 17 | ?drug dcterms:description ?desc. |
| 18 | ?drug drugbank:x-kegg ?cpd. |
| 22 | Query 3: |
| 23 | |
| 24 | {{{ |
| 25 | |
| 26 | PREFIX dcterms: <http://purl.org/dc/terms/> |
| 27 | PREFIX sider: <http://bio2rdf.org/sider:> |
| 28 | PREFIX sider_vocab: <http://bio2rdf.org/sider_vocabulary:> |
| 29 | PREFIX sider_resource: <http://bio2rdf.org/sider_resource:> |
| 30 | PREFIX drugbank: <http://bio2rdf.org/drugbank_vocabulary:> |
| 31 | PREFIX pubchem: <http://bio2rdf.org/pubchem.compound:> |
| 32 | PREFIX dbowl: <http://dbpedia.org/ontology/> |
| 33 | |
| 34 | select * |
| 35 | where{ |
| 36 | |
| 37 | ?drug sider_vocab:generic-name ?generic; |
| 38 | dcterms:title ?drug_name; |
| 39 | sider_vocab:side-effect ?side. |
| 40 | ?drug sider_vocab:pubchem-flat-compound-id ?cpd. |
| 41 | ?generic dcterms:title ?generic_name. |
| 42 | ?side dcterms:title ?side_effect.} |
| 43 | |
| 44 | ?drug2 drugbank:category drugbank:Anti-Allergic-Agents. |
| 45 | ?drug2 drugbank:x-pubchemcompound ?cpd. |
| 46 | |
| 47 | |
| 48 | } |
| 49 | |
| 50 | |
| 51 | }}} |