has prompt
- CURIE:
gmeow:hasPrompt - IRI: https://blackcatinformatics.ca/gmeow/hasPrompt
- Category: property
- Defined by:
gmeow:slices/ai - Box roles: RBox role (What is this?)
A prompt presented in this invocation. Non-functional: a chat invocation carries several prompts in conversational roles (gmeow:promptRole).
Structure
Property shape: object property; gmeow:ModelInvocation -> gmeow:Prompt
Practical Pattern
Use gmeow:hasPrompt from gmeow:ModelInvocation to gmeow:Prompt 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:invocation-19 a gmeow:ModelInvocation ;
gmeow:usedModel ex:assistant ;
gmeow:hasPrompt ex:prompt-extract ;
gmeow:samplingTemperature 0.0 ;
gmeow:atTime "2026-05-15T10:00:00Z"^^xsd:dateTime ;
gmeow:eventTemporalFrame gmeow:temporalFrameUTCGregorian .
Common Companion Terms
gmeow:ModelInvocation, gmeow:Prompt
Usage Advice
Use when
- Use to link a
gmeow:ModelInvocationto eachgmeow:Promptpresented in it — assert several, in their conversational roles, for a multi-turn chat invocation.
Avoid when
- Avoid flattening prompt text onto the invocation (mint a
gmeow:Promptso it is content-addressable and role-tagged) and avoid treating it as functional — a chat carries system, user, and tool prompts together.
How to use
- Point the
ModelInvocationat one or moregmeow:Promptindividuals, each carryinggmeow:promptRoleandgmeow:contentDigest; a contested or templated prompt links to itsgmeow:PromptTemplateviagmeow:filledFrom.
Examples
- ex:inv1
gmeow:hasPromptex:sysPrompt, ex:userPrompt.