query_graph
Query structured relations and verbatim snippets for an entity across papers. Combines typed edges with full-text recall to surface missed connections.
Instructions
Dual-path knowledge-graph query for an entity (gene / factor / phenotype / …).
Path 1 — structured typed edges (ACTIVATES / INHIBITS / PROMOTES / CAUSES / PREVENTS / ASSOCIATED_WITH) mentioning the entity, aggregated ACROSS papers with verbatim evidence + source note. Cross-paper agreement = stronger (shown as ×N). Path 2 — full-text verbatim snippet recall net (same engine as search_snippets), so a relation the edge extractor missed is still surfaced (goal: 無遺漏).
Args: entity: e.g. 'TXNDC5', 'TGF-beta', 'pulmonary fibrosis'. mode: 'edges' | 'snippets' | 'both' (default 'both'). top_k: snippet notes to pull for the recall net (default 12).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | both | |
| top_k | No | ||
| entity | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |