cog:InProcessAdapter

cog:InProcessAdapter is the adapter kind for constellation graphs built and served inside the host process. The host registers a builder factory of this kind with the CoG runtime's adapter registry; at handshake, a declaration whose sdg:adapterKind names the kind is resolved to that factory (no registration means cog:HandshakeFailedUnknownAdapter). The factory builds the quads, and queries are answered in-memory — the declaration's sdg:endpoint is a urn:cog:graph:* token, not a network address.

Its sibling cog:RemoteHttpAdapter covers graphs served by a separate process; the kind/registry indirection is what lets a declaration switch between them without other changes.

Usage

  • Used as the object of sdg:adapterKind on sdg:ConstellationGraph declarations.
cog:InProcessAdapter — Sparqdown Docs