Prompt Template
- CURIE:
gmeow:PromptTemplate - IRI: https://blackcatinformatics.ca/gmeow/PromptTemplate
- Category: class
- Defined by:
gmeow:slices/ai - Box roles: TBox role (What is this?)
A reusable, versioned prompt with unfilled variables — the published artifact (EvidenceSpan audit machinery ships the claim-extraction template as data, not code). Concrete prompts link back via gmeow:filledFrom.
Structure
Subclass of: gmeow:Prompt
Practical Pattern
Use gmeow:PromptTemplate as a specialized kind of gmeow:Prompt. Add statement metadata or a standpoint when the assertion needs provenance, confidence, or vantage.
Example Snippets
These snippets are generated from canonical slice examples and trimmed to the Turtle blocks where this term appears.
Grounded Claim
- Source:
slices/core/ai/examples/grounded-claim.ttl - Examples catalog: open in catalog#example-slices-core-ai-examples-grounded-claim
ex:template-extract-v1 a gmeow:PromptTemplate ;
rdfs:label "claim-extraction template v1"@en ;
gmeow:promptRole gmeow:promptRoleSystem .
Common Companion Terms
Usage Advice
Use when
- Use for a reusable, versioned prompt carrying unfilled variables — a published artifact (e.g. the claim-extraction template shipped as data) that concrete prompts instantiate.
Avoid when
- Avoid typing a filled, ready-to-send instruction as a template (that is a plain
gmeow:Prompt) — the template is the unfilled, versioned source agmeow:Promptpoints back to viagmeow:filledFrom.
How to use
- Type the artifact
gmeow:PromptTemplate, content-address each version withgmeow:contentDigest, and let concretegmeow:Promptindividuals link to it viagmeow:filledFromso an output traces to the exact template version.
Examples
- ex:extractTmpl a
gmeow:PromptTemplate;gmeow:contentDigestex:sha256.