{"_id":"@aiql-org/examples","_rev":"5-9adbe3a879fdbbc33a0154e933939ed1","name":"@aiql-org/examples","dist-tags":{"latest":"2.9.0"},"versions":{"2.6.5":{"name":"@aiql-org/examples","version":"2.6.5","keywords":["aiql","examples","snippets"],"author":{"name":"AIQL Contributors"},"license":"MIT","_id":"@aiql-org/examples@2.6.5","maintainers":[{"name":"aiql_valsee","email":"info@aiql.org"}],"homepage":"https://github.com/aiql-org/aiql-core#readme","bugs":{"url":"https://github.com/aiql-org/aiql-core/issues"},"dist":{"shasum":"600b4f7c4635606c483221fefc581a0f367caeaa","tarball":"https://registry.npmjs.org/@aiql-org/examples/-/examples-2.6.5.tgz","fileCount":79,"integrity":"sha512-IQ+BDkuNTlm2DHAV72fQFnWPm9tXQAwI5Fy5ef/a1sSZG2v4BEjsRFh5pxKWpWVkL5aU0rjB2ry8OMO+84DYvQ==","signatures":[{"sig":"MEUCIF0IIRrzr1mS0lxHPDirAPsT5DkJiXNw6XXOi9pA9Rr9AiEA8HF/v1Crm+GUX4bAIePXPdVL1M8Pa8BVZaDiABQOonY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":113488},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"f8aef5680ddf447b5ecbcd869bb1eb133e50974f","scripts":{"build":"tsc && npm run generate-manifest","prepublishOnly":"npm run build","generate-manifest":"node scripts/generate-manifest.js"},"_npmUser":{"name":"aiql_valsee","email":"info@aiql.org"},"repository":{"url":"git+https://github.com/aiql-org/aiql-core.git","type":"git","directory":"packages/examples"},"_npmVersion":"10.8.2","description":"Official AIQL example snippets and test cases","directories":{},"_nodeVersion":"20.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/examples_2.6.5_1771363387058_0.38131474392505327","host":"s3://npm-registry-packages-npm-production"}},"2.6.6":{"name":"@aiql-org/examples","version":"2.6.6","keywords":["aiql","examples","snippets"],"author":{"name":"AIQL Contributors"},"license":"MIT","_id":"@aiql-org/examples@2.6.6","maintainers":[{"name":"aiql_valsee","email":"info@aiql.org"}],"homepage":"https://github.com/aiql-org/aiql-core#readme","bugs":{"url":"https://github.com/aiql-org/aiql-core/issues"},"dist":{"shasum":"09ceb357e81dc556c39cb6eedf3e12b75b0a18c6","tarball":"https://registry.npmjs.org/@aiql-org/examples/-/examples-2.6.6.tgz","fileCount":81,"integrity":"sha512-HqzICXp/MUf4bFHOYy/t4qZM89xdaIJ+vCk3B0t2xhVmWYT38lgiIMscLVRwY0hu+JT40mc/3Onm3EC+CU/Hgw==","signatures":[{"sig":"MEUCIFeFVCbnUTffVGAgW14Ktttji1PpAQRZuwLqdo52oH5BAiEAoJ4e0ITh1Ws46JPm6MtiGjFCqCYsiQD9+HwoICLZzAk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":115702},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"51abbf3230ccefeab4f947f78970c952f2a7b321","scripts":{"build":"tsc && npm run generate-manifest","prepublishOnly":"npm run build","generate-manifest":"node scripts/generate-manifest.js"},"_npmUser":{"name":"aiql_valsee","email":"info@aiql.org"},"repository":{"url":"git+https://github.com/aiql-org/aiql-core.git","type":"git","directory":"packages/examples"},"_npmVersion":"10.8.2","description":"Official AIQL example snippets and test cases","directories":{},"_nodeVersion":"20.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/examples_2.6.6_1771381656583_0.3421358201338891","host":"s3://npm-registry-packages-npm-production"}},"2.7.0":{"name":"@aiql-org/examples","version":"2.7.0","keywords":["aiql","examples","snippets"],"author":{"name":"AIQL Contributors"},"license":"MIT","_id":"@aiql-org/examples@2.7.0","maintainers":[{"name":"aiql_valsee","email":"info@aiql.org"}],"homepage":"https://github.com/aiql-org/aiql-core#readme","bugs":{"url":"https://github.com/aiql-org/aiql-core/issues"},"dist":{"shasum":"6eb789291033136d3b68dfbcfcd62ded7c61a3a7","tarball":"https://registry.npmjs.org/@aiql-org/examples/-/examples-2.7.0.tgz","fileCount":88,"integrity":"sha512-FwHknjY1dbPcr9DN68qRxriqMUFghsoCh1flsA2h0+DJryfLcZm00VS9lEpdFIuw5GkwZyA9t6J7YUVeCBqIBA==","signatures":[{"sig":"MEYCIQCgOLZ3WzMMoNJSlD2f8yywj34tgCyMieh5l50D8Fxp0QIhALi9/FW62GR2ncwJb4fjmqjnFeQqMfVrjnIj3WBZAxvk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":488254},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"c432946a51e16767eb305a63a25b214ce89dff51","scripts":{"build":"tsc && npm run generate-manifest","prepublishOnly":"npm run build","generate-manifest":"node scripts/generate-manifest.js"},"_npmUser":{"name":"aiql_valsee","email":"info@aiql.org"},"repository":{"url":"git+https://github.com/aiql-org/aiql-core.git","type":"git","directory":"packages/examples"},"_npmVersion":"10.8.2","description":"Official AIQL example snippets and test cases","directories":{},"_nodeVersion":"20.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/examples_2.7.0_1771437110976_0.3748646391303574","host":"s3://npm-registry-packages-npm-production"}},"2.8.0":{"name":"@aiql-org/examples","version":"2.8.0","keywords":["aiql","examples","snippets"],"author":{"name":"AIQL Contributors"},"license":"MIT","_id":"@aiql-org/examples@2.8.0","maintainers":[{"name":"aiql_valsee","email":"info@aiql.org"}],"homepage":"https://github.com/aiql-org/aiql-core#readme","bugs":{"url":"https://github.com/aiql-org/aiql-core/issues"},"dist":{"shasum":"95bc2d961c003aa5e3602687c56f6357c5378498","tarball":"https://registry.npmjs.org/@aiql-org/examples/-/examples-2.8.0.tgz","fileCount":89,"integrity":"sha512-meZV6PRa/gym+asP9Jc4k2RjSVfkHTIRIBJATqPUa17tKTl0tOCnRcmit8f89qYAbAOo6roVMjfenWAi012eoQ==","signatures":[{"sig":"MEUCIGPg5YzQXHyhNJu/azxEVBFfcvQZHXPYlEtS4mieGpTZAiEA1AmMo6tYiIZnJfkM8zaFOh/mIDeAu4Lz8GE2yET/YHI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":488712},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"ddaced045e75ddb5ed1258c4556bd98016daf847","scripts":{"build":"tsc && npm run generate-manifest","prepublishOnly":"npm run build","generate-manifest":"node scripts/generate-manifest.js"},"_npmUser":{"name":"aiql_valsee","email":"info@aiql.org"},"repository":{"url":"git+https://github.com/aiql-org/aiql-core.git","type":"git","directory":"packages/examples"},"_npmVersion":"10.8.2","description":"Official AIQL example snippets and test cases","directories":{},"_nodeVersion":"20.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/examples_2.8.0_1771468748554_0.5501835553509447","host":"s3://npm-registry-packages-npm-production"}},"2.9.0":{"name":"@aiql-org/examples","version":"2.9.0","type":"module","description":"Official AIQL example snippets and test cases","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"generate-manifest":"node scripts/generate-manifest.js","build":"tsc && npm run generate-manifest","prepublishOnly":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/aiql-org/aiql-core.git","directory":"packages/examples"},"publishConfig":{"access":"public"},"keywords":["aiql","examples","snippets"],"author":{"name":"AIQL Contributors"},"license":"MIT","devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"engines":{"node":">=18.0.0"},"_id":"@aiql-org/examples@2.9.0","gitHead":"12866c47f211ab63f82c911b9d1e805d29ed2864","bugs":{"url":"https://github.com/aiql-org/aiql-core/issues"},"homepage":"https://github.com/aiql-org/aiql-core#readme","_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-Gihs51hEkwuW1R12HhJcHh/G80X/gVrEzR6I17Hh9gCacbBuT8kVAoBfWCKHXtuwr/lgUPpV37mwumRmRMxkrg==","shasum":"a9a1cab321d9910c139928168264a05b94f182c2","tarball":"https://registry.npmjs.org/@aiql-org/examples/-/examples-2.9.0.tgz","fileCount":89,"unpackedSize":488712,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCJIleUQxkLg/dcBC5UuFduia4I9+mRZaOQGH4PPxb3ogIhAOpji5q5OB0YEotAudb+DiNwx0amIno0DZRlhwYkyp3J"}]},"_npmUser":{"name":"aiql_valsee","email":"info@aiql.org"},"directories":{},"maintainers":[{"name":"aiql_valsee","email":"info@aiql.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/examples_2.9.0_1771478741579_0.5510904447105547"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-17T21:23:06.976Z","modified":"2026-02-19T05:25:41.906Z","2.6.5":"2026-02-17T21:23:07.191Z","2.6.6":"2026-02-18T02:27:36.725Z","2.7.0":"2026-02-18T17:51:51.150Z","2.8.0":"2026-02-19T02:39:08.748Z","2.9.0":"2026-02-19T05:25:41.758Z"},"bugs":{"url":"https://github.com/aiql-org/aiql-core/issues"},"author":{"name":"AIQL Contributors"},"license":"MIT","homepage":"https://github.com/aiql-org/aiql-core#readme","keywords":["aiql","examples","snippets"],"repository":{"type":"git","url":"git+https://github.com/aiql-org/aiql-core.git","directory":"packages/examples"},"description":"Official AIQL example snippets and test cases","maintainers":[{"name":"aiql_valsee","email":"info@aiql.org"}],"readme":"# @aiql-org/examples\n\nThis package contains 65 comprehensive AIQL code examples demonstrating all language features from v1.0 through v2.6.0.\n\n## Directory Structure\n\n```\nexamples/\n├── getting-started/          # 49 examples - Core AIQL features (v1.0-v2.1)\n├── meta-cognition/           # 5 examples - Self-awareness & introspection (v2.2.0)\n├── robotics/                 # 3 examples - Organic robotics control (v2.4.0)\n├── semantic-contradiction/   # 5 examples - Lying & conflict detection (v2.5.0)\n└── quantum-consciousness/    # 3 examples - Quantum semantics (v2.6.0)\n```\n\n## Usage\n\n### As a Node.js Dependency\n\n```javascript\nimport examples from '@aiql-org/examples';\n\nconsole.log(examples.manifest); \n// Output: List of categories and files\n\n// Load specific example content (if provided by the API, otherwise verify dist/ usage)\n```\n\n(Note: The package exports a `dist/examples.json` manifest and raw `.aiql` files in `dist/` or `src/`)\n\n## Getting Started Examples (49 files)\n\n### Basic Syntax & Metadata\n- `query-python-for-data-science.aiql` - Basic !Query with attributes and confidence\n- `full-metadata-system.aiql` - All 5 metadata markers ($id, $$group, ##seq, ~temp, ~~entropy)\n- `aiql-syntax-comments.aiql` - Single-line // and multi-line /* */ comments\n\n### Temporal Tense Annotations (v1.1.0)\n- `temporal-tense-historical-events.aiql` - Past, present, future tenses\n- `progressive-tenses-ongoing-actions.aiql` - Present/past/future progressive\n- `perfect-tenses-completed-actions.aiql` - Present/past/future perfect\n- `perfect-progressive-duration-emphasis.aiql` - Perfect progressive tenses\n- `all-12-tenses-complete-reference.aiql` - Complete tense reference card\n- `tense-with-context-historical-timeline.aiql` - Tense + context + provenance\n\n### Affective Computing\n- `affective-computing-joy-expression.aiql` - !Assert with emotional states\n- `affective-query-curiosity-threshold.aiql` - !Query for emotional thresholds\n- `affective-state-desire-for-knowledge.aiql` - !Assert with desires\n- `goal-driven-learning-quantum-physics.aiql` - !Goal intent with subgoals\n- `affective-computing-joy-stress-desire.aiql` - Multiple !Feel and !Desire intents\n\n### Metadata Control\n- `ai-temperature-deterministic-math.aiql` - ~temp:0.3 for precise reasoning\n- `statement-grouping-physics-laws.aiql` - $$group and ##seq for organization\n\n### Data Pipelines & Workflows\n- `multi-relation-data-pipeline.aiql` - ETL workflows with multiple relations\n- `data-pipeline-etl-operations.aiql` - Extract → filter → sort → limit chains\n- `etl-pipeline-extract-transform-load.aiql` - Sequential ##seq workflow\n\n### Context Parameters\n- `meta-reasoning-future-ai-beliefs.aiql` - time:future, mode:possibility\n- `multi-context-mars-colonization.aiql` - Multiple context parameters\n- `rich-context-agi-speculation.aiql` - time, mode, scope combinations\n\n### Security (Quantum-Proof Cryptography)\n- `dilithium-digital-signature.aiql` - #sign() with DILITHIUM\n- `kyber-quantum-encryption.aiql` - #encrypt() with KYBER\n- `secure-agent-communication.aiql` - #secure() combined signing + encryption\n\n### Provenance Tracking\n- `research-provenance-llm-paper.aiql` - @version, @origin (DOI), @cite arrays\n- `sql-storage-python-knowledge-base.aiql` - SQL transpilation with provenance\n\n### Knowledge Graphs\n- `knowledge-graph-python-ecosystem.aiql` - Multi-relation ontology\n- `semantic-taxonomy-animal-kingdom.aiql` - Hierarchical is_a ontology\n- `semantic-composition-defining-justice.aiql` - Complex concept composition\n- `maximum-feature-density-aiql-v1-0.aiql` - All v1.0 features in one example\n\n### Reasoning & Inference\n- `syllogistic-logic-socrates-is-mortal.aiql` - Classic syllogism with ##seq\n- `causal-inference-climate-change-impact.aiql` - Multi-hop causal chains\n- `analogical-reasoning-king-queen-pattern.aiql` - Analogy encoding (A:B :: C:D)\n- `theory-of-mind-nested-agent-beliefs.aiql` - Nested belief modeling\n- `bayesian-inference-covid-diagnosis.aiql` - Probabilistic reasoning\n- `historical-causality-wwi-to-wwii.aiql` - Temporal event sequences (1914-1939)\n\n### Logic System (v2.0.0)\n- `v2-0-logic-propositional-operators.aiql` - AND, OR, NOT, IMPLIES\n- `v2-0-logic-predicate-logic-quantifiers.aiql` - FORALL, EXISTS quantifiers\n- `v2-0-inference-modus-ponens.aiql` - Modus ponens inference rule\n- `v2-0-inference-consistency-checking.aiql` - Contradiction detection\n- `v2-0-logic-complex-reasoning.aiql` - Combined operators + quantifiers + inference\n\n### Formal Verification (v2.0.1)\n- `v2-0-1-coq-formal-verification.aiql` - Coq Gallina transpilation\n- `v2-0-1-lean-theorem-proving.aiql` - Lean 4 theorem proving\n\n### Relationships (v2.1.0)\n- `v2-1-relationship-historical-timeline.aiql` - Temporal relationships (before/after)\n- `v2-1-relationship-climate-causation.aiql` - Causal relationships (causes/enables)\n- `v2-1-relationship-workflow-dependencies.aiql` - Dependency relationships (depends_on)\n- `v2-1-relationship-scientific-discovery.aiql` - Logical relationships (supports/contradicts)\n- `v2-1-relationship-bidirectional-temporal.aiql` - Symmetric relationships (simultaneous)\n\n## Meta-Cognition Examples (v2.2.0) - 5 files\n\n- `self-knowledge-introspection.aiql` - !Query with <Self> meta-concept\n- `knowledge-gap-detection.aiql` - Detecting undefined concepts\n- `capability-self-assessment.aiql` - Inferring agent capabilities from KB\n- `uncertainty-acknowledgment.aiql` - Recognizing low-confidence statements\n- `semantic-exploration-triggering.aiql` - Curiosity-driven exploration\n\n## Robotics Examples (v2.4.0 Organic) - 3 files\n\n- `motor-control-with-safety.aiql` - !Task with device context, safety as knowledge\n- `camera-sensing-query.aiql` - !Query for sensor data\n- `multi-device-coordination.aiql` - Gripper + camera + IMU coordination\n\n## Semantic Contradiction Examples (v2.5.0) - 5 files\n\n- `taxonomy-conflict-detection.aiql` - Disjoint class detection (Mammal vs Reptile)\n- `property-cardinality-violation.aiql` - Multiple values for cardinality:'one' properties\n- `lying-detection-with-trust-weighting.aiql` - Trust-weighted credibility scoring\n- `trust-score-management.aiql` - Defining trust levels for sources\n- `contradiction-query-graph-generation.aiql` - !Relationship graph generation\n\n## Quantum Consciousness Examples (v2.6.0) - 3 files\n\n- `schrodingers-cat-epistemic-superposition.aiql` - Quantum superposition with @coherence\n- `quantum-consciousness-metric.aiql` - Coherence as consciousness proxy (IIT Φ)\n- `quantum-enhanced-uncertainty.aiql` - Confidence vs coherence comparison\n\n## License\n\nMIT - See LICENSE file in repository root.\n\n## Resources\n\n- **Playground**: https://aiql.org/playground\n- **NPM Package**: [@aiql-org/core](https://www.npmjs.com/package/@aiql-org/core)\n","readmeFilename":"README.md"}