/** * meta-ontology.ts - AIQL v2.2.0 Meta-Cognitive Ontology * * Defines semantic foundational concepts and relations for self-aware AI systems. * This ontology enables agents to reason about their own knowledge, capabilities, * and epistemic states through standard AIQL graph structures. * * Design Philosophy: * - Everything is concepts and relations (semantic-first) * - No new syntax - reuse existing !Query, !Desire intents * - Meta-concepts enable reflexive queries: [has_knowledge_about] * - Higher cognition emerges from semantic graph structure */ /** * Core meta-concepts for self-aware reasoning * These are semantic primitives that ground meta-cognition in the knowledge graph */ export interface MetaConcept { name: string; description: string; category: 'epistemic' | 'agentive' | 'cognitive' | 'affective' | 'embodied'; } /** * META_CONCEPTS - Semantic primitives for self-awareness * * Epistemic: Knowledge, belief, understanding states * Agentive: Agent identity and self-reference * Cognitive: Capabilities, skills, reasoning abilities * Affective: Motivational and emotional states */ export declare const META_CONCEPTS: Record; /** * Semantic relations for meta-cognitive reasoning */ export interface MetaRelation { name: string; description: string; domain: string; range: string; inverse?: string; } /** * META_RELATIONS - Semantic links for self-aware graphs * * These relations enable queries like: * - [has_knowledge_about] * - [lacks_knowledge_about] * - [has_capability] */ export declare const META_RELATIONS: Record; /** * Check if a concept is a valid meta-concept */ export declare function isMetaConcept(conceptName: string): boolean; /** * Check if a relation is a valid meta-relation */ export declare function isMetaRelation(relationName: string): boolean; /** * Get meta-concept by name */ export declare function getMetaConcept(name: string): MetaConcept | undefined; /** * Get meta-relation by name */ export declare function getMetaRelation(name: string): MetaRelation | undefined; /** * Validate semantic coherence of a meta-statement * Checks if relation's domain/range match subject/object categories */ export declare function validateMetaStatement(subjectName: string, relationName: string, objectName: string): { valid: boolean; reason?: string; }; /** * Get all meta-concepts by category */ export declare function getMetaConceptsByCategory(category: MetaConcept['category']): MetaConcept[]; /** * Get inverse relation if it exists */ export declare function getInverseRelation(relationName: string): string | undefined; /** * Check if a relation is reflexive (can have same subject and object) */ export declare function isReflexiveRelation(relationName: string): boolean; /** * Generate semantic description of meta-statement */ export declare function describeMetaStatement(subjectName: string, relationName: string, objectName: string): string; //# sourceMappingURL=meta-ontology.d.ts.map