跳到主要内容

Literature Knowledge Mining Commands: lkm

bohr lkm searches literature knowledge graphs and retrieves claims, variables, reasoning paths, and paper graphs.

Commands

CommandUsageDescription
claimbohr lkm claim [command]Retrieve reasoning for claims already ingested into LKM by global claim ID.
graphbohr lkm graph [flags]Retrieve the ingested paper-level knowledge graph (nodes and edges) for a paper already in LKM.
parsebohr lkm parse [command]Upload a local PDF and extract its research questions, conclusions, and reasoning steps.
reasoningbohr lkm reasoning [flags]Search scientific reasoning chains already ingested into LKM.
searchbohr lkm search <query> [flags]Search papers ….
variablesbohr 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

ParameterDescription
--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.