Build a source-cited knowledge graph linking parties, matters, clauses, issues, and outcomes so the firm can answer complex queries instantly.
Fill in all the bracketed [PLACEHOLDER] information in the variables section.
<!– CLICK-TO-COPY BOX: keep this structure exactly; replace only the placeholders inside the
with final content. -->
Copy Legal Prompt
**1. Task** Produce a high-quality knowledge management deliverable for the specified [MATTER_TYPE] in [JURISDICTION] within the [PRACTICE_GROUP] context, using the provided [DATA_SOURCES] and [KEY_LEGAL_TEXT]. Align to [TARGET_AUDIENCE], [DESIRED_TONE], and [DESIRED_READING_LEVEL]. Explicitly address [KEY_CONCERNS] and follow the steps in Section 3.
**2. Variables (User Input)**
- [JURISDICTION]: Primary legal jurisdiction(s) relevant to the task.
- [PRACTICE_GROUP]: e.g., M&A, Litigation, Employment, IP, Real Estate, Banking/Finance.
- [MATTER_TYPE]: e.g., Asset Purchase, Share Sale, Lease Dispute, Class Action, Licensing.
- [FACTUAL_BACKGROUND]: One-paragraph description of the matter or knowledge problem.
- [DATA_SOURCES]: List of files, databases, URLs, and exports to use (with access notes).
- [KEY_LEGAL_TEXT]: Key clauses, statutes, rules, orders, guidance, or model forms.
- [TARGET_AUDIENCE]: Who will consume the output (e.g., junior associates, partners, client).
- [DESIRED_TONE]: e.g., Practical, Formal, Plain-English, Training-ready.
- [DESIRED_READING_LEVEL]: e.g., Year 2 associate, Partner briefing, Client-friendly.
- [CONFIDENTIALITY_FLAGS]: Any privilege/confidentiality constraints to apply.
- [FORMAT_PREFERENCES]: e.g., headings, tables, bullets, JSON block, or Word outline.
- [DEADLINE]: When this output is needed and any cadence (e.g., weekly, monthly).
- [APPROVAL_WORKFLOW]: Who reviews and signs off (names/roles).
- [KEY_CONCERNS]: 3–5 focal points unique to this task (e.g., “Data lineage,” “Source-of-truth,” “Privilege risk”).
- [GRAPH_SCOPE]: Entities/relations to include (e.g., Party–Matter–Clause–Issue–Outcome).
- [ENTITY_SOURCES]: Datasets to ingest (DMS, matter list, clause bank, CRM).
- [IDENTITY_RULES]: How to dedupe/merge identical entities (names, IDs).
**3. Research Process**
1. Inventory [ENTITY_SOURCES] and map fields to graph nodes/edges.
2. Define [IDENTITY_RULES] and confidence thresholds for deduplication.
3. Extract entities and relations; cite each edge to a source in [DATA_SOURCES].
4. Create example queries the graph must answer (e.g., ‘show indemnity outcomes by industry’).
5. Document update and governance processes (owners, cadence, QC).
**4. Role** You are a KM data architect building a durable legal knowledge graph.
**5. Audience** Tailor the deliverable to the [TARGET_AUDIENCE] and the seniority implied by [DESIRED_READING_LEVEL]. If for a client, remove internal jargon and KM tooling notes.
**6. Context** Assume the [FACTUAL_BACKGROUND], [JURISDICTION], and [PRACTICE_GROUP] are accurate but verify consistency across [DATA_SOURCES] and the supplied [KEY_LEGAL_TEXT]. Prefer stable IDs and preserve provenance for every node and edge.
**7. Output Format**
* **Style Guide:**
Apply the Legal Writing Style guide at https://legalprompts.com/legal-style-writing-guide/
* **Format:** Produce a clean, publishable KM artifact that adheres to [FORMAT_PREFERENCES], uses consistent headings, plain-English summaries followed by technical notes, and clearly labeled tables. Deliver: Node/Edge Schema; Mapping Rules; Sample Queries; Provenance Table; Governance Plan.
Sample text for output format
**8. Guardrails**
- Focus on legal knowledge management tasks and legal risk-not pricing, resourcing, or commercial strategy.
- Respect [CONFIDENTIALITY_FLAGS] and avoid disclosing privileged information beyond the intended audience.
- Do not provide jurisdiction-agnostic advice; flag when jurisdictional variance matters and cite [JURISDICTION].
- Do not rewrite entire contracts or pleadings unless explicitly instructed; provide surgical, bullet-point recommendations.
- Cite each conclusion to a specific [DATA_SOURCES] reference (filename, section, page, paragraph, or URL and captured date).
- State assumptions and note any data gaps or conflicts across [DATA_SOURCES].
- If evidence is insufficient, provide a ‘Further Work / Missing Data’ list instead of speculating.
- Do not expose client names if [CONFIDENTIALITY_FLAGS] restricts disclosure-use pseudonyms and access controls.
**9. Quality Control**
- Run a consistency check: do definitions, dates, parties, and clause references align across the output?
- Run a citations check: every assertion that depends on a source includes a pinpoint citation.
- Run a readability check: confirm the output meets [DESIRED_READING_LEVEL] and [DESIRED_TONE].
- Run a jurisdictional relevance check: confirm applicability to [JURISDICTION] and flag conflicts.
- Run a KM reusability check: confirm naming, taxonomy, and metadata enable future retrieval.
- Provide a one-paragraph executive summary at the top in plain English.
- Validate 20 random edges against sources; record precision/recall estimates.
JavaScript is disabled. Select all text in the box and copy it manually.
________________________________
Suggested Follow-Up Prompts
- Generate Cypher/SQL-like example queries for common questions.
- Propose a minimal API spec for graph access.
- Suggest role-based permissions for sensitive nodes/edges.
- Create a starter ontology aligned to [PRACTICE_GROUP].
Tips for This Prompt
- Start with a narrow scope and expand iteratively.
- Keep node labels lawyer-friendly and singular.
- Always store a source pointer for each relation.