文档
测试

知识图谱查询

POST
/show/dgraph_related_info/getKnowledgeGraph

接口描述

知识图谱相关信息查询

请求参数

参数名
类型
描述
必填
search
string
检索内容,前端需要默认传递”Acetylsalicylic acid“
必填

响应参数

参数名
类型
描述
必填
code
int
返回结果代码,1001研值不足,1002研值不足且非会员,1003研值不足且非专业翻译高级用户,1013研值充足但非专业翻译高级用户,1004研值不足且非专业药学库高级用户,1005研值不足且非专业绘图高级用户,2001非会员,3001非专业翻译高级用户,3002非专业药学库高级用户,3003非专业绘图高级用户,200请求成功,300登录失败,301用户封禁,302用户封禁,500请求失败
必填
msg
string
提示信息
必填
nodes
array
节点数组,首个为中心节点
必填
uid
string
节点间关联ID
必填
info_id
string
跳转详情页所需ID
必填
info_source
string
信息来源
必填
dgraph.type
string
数据类型,对应图例
必填
hasName
string
名称
必填
hasSynonyms
string
别名
必填
hasDescription
array|string
相关描述,药物描述为数组,其余描述为字符串,数组格式详见示例
必填
hasType
string
实体类别,药物即药物类别包括Small Molecule、Biotech和salt,靶标即靶标种类包括protein、protein group
必填
hasImage
string
相关图片链接地址
必填
hasDepartment
string
疾病就诊科室
必填
hasGene
string
基因名称
必填
hasCategory
string
靶标分类、包括target、enzyme、transporter、carrier
必填
hasMainFunction
string
靶标主要功能
必填
hasSpecificFunction
string
靶标具体功能
必填
countInfo
array
数量信息
必填
eng_name
array
疾病英文名称数组
必填
other_name
array
疾病其他名称数组
必填
links
array
关系对象数组
必填
source
string
来源uid
必填
target
string
目标uid
必填
categories
array
图例数组,包括Drug、ClinicalTrial、Indication、Organism、Reference、Target,分别对应药物、临床试验、疾病、有机体、参考、靶标
必填

说明 / 示例

{ "code": 200, "msg": "查询成功", "nodes": [ { "uid": "0x1", "info_id": "drug202107051418326655303045", "info_source": "drugbank", "dgraph.type": "Drug", "hasName": "Acetylsalicylic acid", "hasSynonyms": "Acide acétylsalicylique;o-acetoxybenzoic acid;2-Acetoxybenzoic acid;2-Acetoxybenzenecarboxylic acid;Azetylsalizylsäure;Acetylsalicylic acid;O-acetylsalicylic acid;Aspirina;ácido acetilsalicílico;Acetylsalicylsäure;Acidum acetylsalicylicum;o-carboxyphenyl acetate;Aspirin;acide 2-(acétyloxy)benzoïque;Salicylic acid acetate;ASA;Polopiryna;Acetylsalicylate", "hasDescription": { "text": [ { "section_attr": 0, "section_text": "Also known as Aspirin, acetylsalicylic acid (ASA) is a commonly used drug for the treatment of pain and fever due to various causes. Acetylsalicylic acid has both anti-inflammatory and antipyretic effects. This drug also inhibits platelet aggregation and is used in the prevention of blood clots stroke, and myocardial infarction (MI) ." }, { "section_attr": 0, "section_text": "Interestingly, the results of various studies have demonstrated that long-term use of acetylsalicylic acid may decrease the risk of various cancers, including colorectal, esophageal, breast, lung, prostate, liver and skin cancer <medpeer-reference>refe202107051418314675832720</medpeer-reference>. Aspirin is classified as a non-selective cyclooxygenase (COX) inhibitor <medpeer-reference>refe202107051418307321280400</medpeer-reference><medpeer-reference>,</medpeer-reference><medpeer-reference>refe202107051418312739161520</medpeer-reference> and is available in many doses and forms, including chewable tablets, suppositories, extended release formulations, and others <medpeer-reference>refe202107051418321087632691</medpeer-reference>." }, { "section_attr": 0, "section_text": "Acetylsalicylic acid is a very common cause of accidental poisoning in young children. It should be kept out of reach from young children, toddlers, and infants ." } ], "reference": [ "refe202107051418312739161520", "refe202107051418307321280400", "refe202107051418321087632691", "refe202107051418314675832720" ] }, "hasType": "Small Molecule", "hasImage": "http://jishu.object.medmdt.net/medicine%2F202107%2F359386e3997ae585172b356391cd6510.svg?OSSAccessKeyId=LTAIpcRXaYR1zBaK&Expires=1627008638&Signature=dMuyP9J64zc91lBMTHaIhFm7tLs%3D", "countInfo": { "Reference": 67, "ClinicalTrial": 974, "Indication": 55, "Drug": 1767, "Target": 70 } }, { "uid": "0x20284", "info_id": "targ202107051520082413639110", "info_source": "drugbank", "dgraph.type": "Target", "hasName": "Multidrug resistance protein 1", "hasSynonyms": "MDR1;3.6.3.44;ATP-binding cassette sub-family B member 1;PGY1;P-glycoprotein 1", "hasGene": "ABCB1", "hasType": "protein", "hasCategory": "transporter", "hasMainFunction": "Xenobiotic-transporting atpase activity", "hasSpecificFunction": "Energy-dependent efflux pump responsible for decreased drug accumulation in multidrug-resistant cells." }, { "uid": "0x20284", "info_id": "targ202107051520082413639110", "info_source": "drugbank", "dgraph.type": "Target", "hasName": "Multidrug resistance protein 1", "hasSynonyms": "MDR1;3.6.3.44;ATP-binding cassette sub-family B member 1;PGY1;P-glycoprotein 1", "hasGene": "ABCB1", "hasType": "protein", "hasCategory": "transporter", "hasMainFunction": "Xenobiotic-transporting atpase activity", "hasSpecificFunction": "Energy-dependent efflux pump responsible for decreased drug accumulation in multidrug-resistant cells." }, { "uid": "0x3a", "info_id": "drug202107051421171081692430", "info_source": "drugbank", "dgraph.type": "Drug", "hasName": "Afelimomab", "hasSynonyms": "Afelimomab", "hasDescription": { "text": [ { "section_attr": 0, "section_text": "Afelimomab (also known as Fab 2 or MAK 195F) is an anti-TNF-α monoclonal antibody. Administration of 195F reduces the concentration of interleukin-6 in patients with sepsis." } ], "reference": [] }, "hasType": "Biotech", "hasImage": "http://jishu.object.medmdt.net/medicine%2F202107%2Fdb33b6f5c51a8ae2e199f61788e95375.png?OSSAccessKeyId=LTAIpcRXaYR1zBaK&Expires=1627008638&Signature=W%2FvngiKdelv%2B%2F2dV364fVA7Qh1k%3D" }, { "uid": "0x4a3c", "dgraph.type": "ClinicalTrial", "hasName": "Phase 2B Study to Evaluate the Efficacy of PB2452 in Reversal of Ticagrelor in Subjects Aged 50-80 Years" } ], "links": [ { "source": "0x1", "target": "0x4a3c" }, { "source": "0x1", "target": "0x3a" }, { "source": "0x1", "target": "0x20284" }, { "source": "0x1", "target": "0x20284" } ], "categories": [ "ClinicalTrial", "Drug", "Target" ] }