Prototype Graph Runtime
Ontology.Core
Production-ready prototype graph runtime with typed nodes, property edges, child collections, and multi-parent TypeOf inheritance.
Quick Start (source)
using Ontology;
Initializer.Initialize();
Prototype animal = Prototypes.GetOrInsertPrototype("Animal");
Prototype dog = Prototypes.GetOrInsertPrototype("Dog", "Animal");
Prototype fido = dog.CreateInstance("Fido");
Console.WriteLine(fido.TypeOf(animal)); // True
Core Concepts
- Prototype graph model with typed nodes and relationships.
- Property edges and child collections as first-class runtime structures.
- Multi-parent TypeOf inheritance for reusable semantics.
- Structural comparison, categorization checks, and path parameterization primitives.
- Interop utilities for bridging native values into graph runtime structures.
Build and Dependencies
Scripts\update_dlls.bat
dotnet build Ontology.Core.sln
Shared binaries are resolved from local lib/ and Deploy/.
Keep split repos as sibling folders when using shared script workflows.
Troubleshooting
- Missing assemblies during build: refresh dependencies with
Scripts\update_dlls.bat. - Unexpected behavior across split repos: verify sibling folder names and update script paths if customized.
- Test expectations: repo-local test projects are not currently included in
ontology-core.