prompt role
- CURIE:
gmeow:promptRole - IRI: https://blackcatinformatics.ca/gmeow/promptRole
- Category: property
- Defined by:
gmeow:slices/ai - Box roles: RBox role (What is this?)
The conversational role this prompt occupies (open vocabulary: system, user, assistant, tool).
Structure
Property shape: object property; gmeow:Prompt -> gmeow:PromptRole; functional
Practical Pattern
Use gmeow:promptRole from gmeow:Prompt to gmeow:PromptRole when the relationship itself belongs in the native GMEOW graph.
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:prompt-extract a gmeow:Prompt ;
gmeow:promptRole gmeow:promptRoleSystem ;
gmeow:filledFrom ex:template-extract-v1 ;
gmeow:contentDigest "blake3:00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff" .
ex:template-extract-v1 a gmeow:PromptTemplate ;
rdfs:label "claim-extraction template v1"@en ;
gmeow:promptRole gmeow:promptRoleSystem .
Common Companion Terms
gmeow:Prompt, gmeow:PromptRole
Usage Advice
Use when
- Use to tag a
gmeow:Promptwith the conversational role it occupies — system, user, assistant, or tool — drawn from thegmeow:PromptRolevocabulary.
Avoid when
- Avoid asserting several roles on one prompt (it is functional — one prompt, one role; a multi-role turn is several prompts) and avoid minting a per-role subproperty (the role is a value).
How to use
- Assert exactly one
gmeow:promptRoleperPromptat agmeow:PromptRoleindividual; mint a fresh individual if a needed conversational role is not seeded, since the vocabulary is open.
Examples
- ex:sysPrompt
gmeow:promptRolegmeow:promptRoleSystem.