Literature Knowledge Mining Commands: lkm
bohr lkm searches literature knowledge graphs and retrieves claims, variables, reasoning paths, and paper graphs.
Commands
| Command | Usage | Description |
|---|---|---|
claim | bohr lkm claim [command] | Retrieve reasoning for claims already ingested into LKM by global claim ID. |
graph | bohr lkm graph [flags] | Retrieve the ingested paper-level knowledge graph (nodes and edges) for a paper already in LKM. |
parse | bohr lkm parse [command] | Upload a local PDF and extract its research questions, conclusions, and reasoning steps. |
reasoning | bohr lkm reasoning [flags] | Search scientific reasoning chains already ingested into LKM. |
search | bohr lkm search <query> [flags] | Search papers …. |
variables | bohr lkm variables [command] | Retrieve variables already ingested into LKM by global variable ID. |
For subcommands inside a command group, run bohr lkm <group> --help.
Common parameters
| Parameter | Description |
|---|---|
--top-k <number> | Maximum number of results, default 10 |
--offset <number> | Result offset, default 0 |
--mode <hybrid\|semantic\|lexical> | Search mode, default hybrid |
--sort <comprehensive\|relevance\|recent\|journal> | Result sorting mode |
--keywords <a,b> | Filter by keywords |
--scopes <a,b> | Limit searched knowledge scopes |
Examples
bohr lkm search "catalysis mechanism" --mode semantic --top-k 20
bohr lkm reasoning --query "photosynthesis energy transfer" --top-k 5
bohr lkm variables batch gcn_abc gcn_def
bohr lkm graph --paper-id 812481689673531392
lkm parse uploads a local PDF and extracts its research questions, conclusions, and reasoning steps; use it when the paper may not be in the LKM corpus yet. Other LKM subcommands only query papers already ingested. Extraction is asynchronous: submit returns a task id.
LKM commands are charged by request. Claim, variable, and paper IDs should come from previous LKM results.