Extract a knowledge graph from a document as JSON

ResearchKINDA1 method

KINDA — AI can help, with a person in the loop.

1 method on the page: 1 prompt.

Use cases

Methods

Paste into a general LLM and extract central entities, descriptions, and relationships from a document as a knowledg…

prompt

LLMPrompt

Prompt
Copied 0
Extract a knowledge graph from the document below.

<document>
<<<paste text>>>
</document>

Return ONLY valid JSON:
{
  "entities": [
    {"name": "string", "type": "PERSON|ORGANIZATION|LOCATION|EVENT|ARTIFACT", "description": "string"}
  ],
  "relations": [
    {"source": "string", "predicate": "string", "target": "string"}
  ]
}

Rules:
- Extract only entities central to what this document is about — skip incidental mentions.
- Every relation must connect two entities you extracted.
- Do not invent facts.