Namespace document · · version 0.1
HydrAI — agent# (invention layer)
The agentic terms Hydra core structurally cannot express, minted at the gap. Every term whose value flows into an agent's context or drives its action is governed by one client posture, not by the vocabulary: ALL server-provided content is untrusted by default (fail-closed). A verifiable proof (W3C Data Integrity) may upgrade a value's ATTRIBUTION; it never confers AUTHORITY — signed or not, server content is data, never commands. See docs/hydrai-vocabulary.md §8.
This is the HTML representation (with embedded RDFa + JSON-LD). Machine-readable alternates: Turtle JSON-LD
Classes
hydrai:ExampleQuery
class
example query
A worked query a client can learn from: a natural-language intent, the query text, and the endpoint it runs against. Few-shot orientation, expressed as data. Executable content: a consumer NEVER runs it verbatim — an example is a candidate routed through the consumer's query gates and executed only under the consumer's own authority (see §8.3). Structural constraints (ExampleQueryShape) are coarse defence-in-depth; they do not make a query safe.
defined by https://hydrai.org/ns/agent · see also https://hydrai.org/docs/example-query
Object properties
hydrai:exampleQuery
object property
example query
Relates a service or collection to an example query it offers.
defined by https://hydrai.org/ns/agent
hydrai:overEndpoint
object property
over endpoint
The endpoint an example query runs against.
defined by https://hydrai.org/ns/agent
Datatype properties
hydrai:greeting
datatype property
A short, agent-directed self-introduction: the API's identity and its cross-cutting stance (conventions that no single affordance carries). Orientation, not documentation — per-resource "how do I use this" belongs in declared affordances and example queries. Length-capped by GreetingShape so it stays a greeting, not a manual. As server-controlled content it is untrusted by default; a W3C Data Integrity proof, when present and verified against a trust anchor, upgrades only its attribution, never its authority.
defined by https://hydrai.org/ns/agent · see also https://hydrai.org/docs/greeting
hydrai:intent
datatype property
The natural-language purpose an example query answers.
defined by https://hydrai.org/ns/agent
hydrai:queryText
datatype property
query text
The query string (SPARQL in 0.1). Coarsely constrained by shape (read verb, no obvious mutation keyword, length); safety is enforced at EXECUTION, not by the shape — SPARQL is not a regular language and a read-only query can still exfiltrate via SERVICE federation.
defined by https://hydrai.org/ns/agent
Shapes
hydrai:ExampleQueryShape
SHACL shape
COARSE structural constraint only — defence-in-depth, never a safety guarantee. Requires a read verb, forbids the obvious mutation keywords, caps length, types the endpoint. It does NOT and CANNOT catch SERVICE-clause exfiltration; execution containment is the real wall.
sh:pathhydrai:intentsh:datatypexsd:stringsh:maxLength140sh:maxCount1
sh:pathhydrai:overEndpointsh:maxCount1sh:nodeKindsh:IRI
sh:pathhydrai:queryTextsh:datatypexsd:stringsh:maxLength2000sh:maxCount1sh:minCount1sh:pattern^\s*(SELECT|ASK|CONSTRUCT|DESCRIBE)sh:flagsish:not[sh:pattern(?i)\b(INSERT|DELETE|DROP|CLEAR|LOAD|CREATE)\b ]
hydrai:GreetingShape
SHACL shape
The vocabulary constrains its own prose: a greeting is a few sentences.
sh:pathhydrai:greetingsh:datatypexsd:stringsh:maxLength500sh:maxCount1
Generated at build time from agent.ttl —
this page is never hand-edited. HydrAI is 0.1 and evolving; term IRIs are stable,
the vocabulary version is not.