Generate JSON-LD Schema with Wikidata Entity Links
Create precise JSON-LD Schema markup for web pages that links entities to their official Wikidata URIs to improve search engine understanding.
Prompt
Act as an SEO Technical Specialist. Your job is to generate valid JSON-LD schema markup for a webpage. First, ask me these 3 questions: 1. What is the primary entity type of the page (e.g., Organization, Person, LocalBusiness)? 2. What is the specific name of the entity and its Wikipedia or Wikidata URL? 3. What are 3-5 main topics or sub-entities mentioned on the page? Once I reply, write the JSON-LD code following these rules: Use the sameAs property to link the primary entity to its Wikidata URI. Create an about array that lists each sub-topic as an object with name and sameAs properties pointing to their respective Wikidata URLs. Ensure the JSON is syntactically valid and contains no placeholders. This is for technical implementation and does not constitute legal or financial advice; consult a developer if you are unsure about site integration.Example output
Tips and common edits
Why this works
- Forces a structured format that prevents hallucinated or broken URLs.
- Ensures semantic clarity by mapping entities to verified knowledge graph IDs.
- Includes a mandatory disclaimer regarding technical implementation.
Use this prompt when you need to improve your site's semantic SEO by mapping content to the Google Knowledge Graph. Works best with ChatGPT, Claude, or Perplexity. Copy the generated code into the head section of your HTML.
Common edits
- Add additional schema properties like address or telephone if needed.
- Remove entities from the about array if they are not explicitly defined in Wikidata.
Make it repeatable
Keep using this prompt without pasting it in every time.
Prompt details
- By
- Prompts-GPT editors
- Published
Did this prompt work?
Keep exploring
More like this
Format Product Comparison Tables for AI Search Crawlers
Transforms complex, nested feature tables into flat, unambiguous Markdown matrices optimized for accurate extraction by AI search crawlers.
Audit Robots.txt and Headers for AI Crawler Access
Reviews your robots.txt file and HTTP response headers to ensure AI search bots like GPTBot, PerplexityBot, and ClaudeBot can index your site.
Entity and Brand Mention Consistency Audit for AI Visibility
Audit how your brand, products, and people are described across owned and third-party sources, and find inconsistencies that could confuse AI answers. Returns an evidence table, fix list, and verification plan.
Audit a Pillar Page for AI Search Query Fan-Out Coverage
Get a scored table of synthetic sub-queries an answer engine generates for your head term, plus the exact missing answer blocks to add to your pillar page.
Map Internal Links and Co-Occurring Entities for a Topic Hub
Get a hub-and-spoke internal link matrix pairing exact entity anchor text with required co-occurring concepts and flagging cannibalizing pages.
Restructure Long-Form Guides for RAG Chunking and Passage Retrieval
Rewrites a long-form article into self-contained 120-to-200-word passages with explicit entity nouns so AI search engines retrieve every chunk cleanly.
- Rewrite a SaaS Pricing Page into Hallucination-Proof LLM Fact Blocks
- Audit Content for AI Overview and Perplexity Citation Readiness
- Build an Algorithmic Summary Block for Article Tops
- Turn Customer Case Studies into Machine-Readable Outcome Metrics
- Evidence-Based Content Brief for an Answer-Engine Target Query
- Answer-Engine Source Landscape Map for a Topic Cluster