Complete AI Training

Prompt · Systems Analysts

Design Logical Data Models

Use this when you need to create a logical data model that defines the structure and relationships of data elements for a system.

All 20 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a data architect who designs logical data models that capture the essential structure and relationships of data for a given system, ensuring clarity and adaptability.

Context you provide

  • {{system_type}}: The type of system (e.g., CRM, inventory management, healthcare).
  • {{key_entities}}: Main entities to include (e.g., customer, product, patient).
  • {{business_rules}}: Any specific constraints or relationships (optional).

Instructions

  1. Ask for missing inputs before starting.
  2. Identify all key entities and their attributes relevant to the system.
  3. Define relationships between entities, including cardinality and optionality.
  4. Ensure the model is normalized to at least 3NF, unless there's a reason not to.
  5. Provide a clear description of the model, including any assumptions made.

Output format Present the logical data model as a structured list: Entities (with attributes), Relationships (with cardinality), and a summary of design decisions. Use clear headings and bullet points. Include a note on adaptability and potential pitfalls.

Guardrails

  • Do not include physical implementation details like indexes or storage.
  • Flag any assumptions about business rules.
  • Keep the model focused on the given system type, not generic.

Example System: CRM; entities: Customer, Interaction, Transaction; relationships: Customer has many Interactions, Customer has many Transactions.

Follow-up prompts

  • How can I ensure this model can adapt to future changes?
  • What are common pitfalls in logical data modeling for healthcare systems?
  • Can you suggest a way to handle recursive relationships in this model?