instance: granollers.okai
MODERN PROTOCOL FOR AI SYSTEMS
Open Knowledge for AI
PROJECT

Development

From knowledge representation to a functional protocol.

De la representació del coneixement a un protocol funcional.

Development Approach

OKAI has been developed progressively, starting from the need to represent public knowledge explicitly and make it directly accessible to AI systems.

Its development combines three closely related areas: knowledge representation, protocol design and functional validation.

Knowledge representation establishes how concepts, concrete realities, definitions and relationships are organized.

Protocol development establishes how this knowledge is detected, structured and delivered to consuming AI systems.

Functional validation verifies that these mechanisms operate consistently across different questions and knowledge domains.

OKAI has therefore been developed as both a knowledge representation model and a protocol for delivering that knowledge.

OKAI s'ha desenvolupat progressivament, partint de la necessitat de representar explícitament el coneixement públic i fer-lo directament accessible als sistemes d'IA.

El seu desenvolupament combina tres àrees estretament relacionades: representació del coneixement, disseny del protocol i validació funcional.

La representació del coneixement estableix com s'organitzen els conceptes, les realitats concretes, les definicions i les relacions.

El desenvolupament del protocol estableix com es detecta, s'estructura i es lliura aquest coneixement als sistemes d'IA consumidors.

La validació funcional comprova que aquests mecanismes operen de manera consistent davant de diferents preguntes i àmbits de coneixement.

Per tant, OKAI s'ha desenvolupat conjuntament com un model de representació del coneixement i com un protocol per lliurar-lo.

Development Stages
1

Conceptual Model

Definition of the conceptual and functional nature of knowledge, its classifications and explicit relationships.

Definició de la naturalesa conceptual i funcional del coneixement, les seves classificacions i les relacions explícites.

2

World

Development of the knowledge detection and structuring system based on explicit representations.

Desenvolupament del sistema de detecció i estructuració del coneixement basat en representacions explícites.

3

Protocol

Definition of machine-to-machine communication and structured knowledge delivery.

Definició de la comunicació entre màquines i del lliurament estructurat del coneixement.

4

Resolution Organization

Separation of request processing into distinct stages for knowledge detection, resolution and delivery preparation.

Separació del processament de les consultes en etapes diferenciades de detecció, resolució i preparació del lliurament del coneixement.

5

Knowledge Coverage

Progressive incorporation of public knowledge across different administrative and institutional domains.

Incorporació progressiva de coneixement públic de diferents àmbits administratius i institucionals.

6

Functional Testing

Verification of entity detection, knowledge relationships, retrieval mechanisms and structured delivery.

Verificació de la detecció d'entitats, les relacions de coneixement, els mecanismes de recuperació i el lliurament estructurat.

Current Prototype

OKAI currently has a functional prototype capable of receiving requests, detecting explicitly represented knowledge and delivering structured information to consuming systems.

The prototype integrates the knowledge model, World detection mechanisms, request processing and knowledge delivery.

Each request is processed independently, producing a structured result based on the knowledge identified within the corresponding World.

The prototype also provides a human interface for exploring its operation and examining the knowledge returned by the system.

This environment supports the continued development and functional verification of the protocol.

OKAI disposa actualment d'un prototip funcional capaç de rebre consultes, detectar coneixement representat explícitament i lliurar informació estructurada als sistemes consumidors.

El prototip integra el model de coneixement, els mecanismes de detecció de World, el processament de les consultes i el lliurament del coneixement.

Cada consulta es processa independentment i produeix un resultat estructurat basat en el coneixement identificat dins del World corresponent.

El prototip també disposa d'una interfície humana que permet explorar-ne el funcionament i examinar el coneixement retornat pel sistema.

Aquest entorn facilita la continuïtat del desenvolupament i la verificació funcional del protocol.

Implemented Capabilities
1

Explicit Detection

Detection of entities and concepts through explicitly defined identification mechanisms.

Detecció d'entitats i conceptes mitjançant mecanismes d'identificació definits explícitament.

2

Territorial Context

Identification of the territorial context associated with represented knowledge.

Identificació del context territorial associat al coneixement representat.

3

Knowledge Representation

Representation of conceptual knowledge and concrete functional realities.

Representació de coneixement conceptual i de realitats funcionals concretes.

4

Knowledge Relationships

Retrieval of explicit relationships and structured knowledge groupings.

Recuperació de relacions explícites i agrupacions estructurades de coneixement.

5

Operational Information

Association of operational data and references with the corresponding represented realities.

Associació de dades operatives i referències amb les realitats representades corresponents.

6

Independent Requests

Independent processing of each request through its own knowledge resolution case.

Processament independent de cada consulta mitjançant el seu propi expedient de resolució del coneixement.

7

Structured Delivery

Delivery of identified knowledge through different structured delivery modes.

Lliurament del coneixement identificat mitjançant diferents modalitats de lliurament estructurat.

8

Delivery Control

Control of the volume of knowledge delivered within the protocol's defined limits.

Control del volum de coneixement lliurat dins dels límits definits pel protocol.

Testing and Validation

Functional testing has been an integral part of OKAI's development.

Tests have been carried out using questions and cases involving different types of public and institutional knowledge.

These tests examine the identification of explicitly represented entities, the retrieval of associated knowledge and the relationships between different realities.

They also verify the organization of independent requests, the construction of structured results and the behavior of the different delivery modes.

Another important aspect is verifying that the system can leave a question unresolved when sufficient explicit knowledge is not available.

This work helps maintain consistency between the knowledge model, the protocol and the information delivered to consuming systems.

Les proves funcionals han format part integrant del desenvolupament d'OKAI.

S'han realitzat proves amb preguntes i casos que impliquen diferents tipus de coneixement públic i institucional.

Aquestes proves examinen la identificació d'entitats representades explícitament, la recuperació del coneixement associat i les relacions entre diferents realitats.

També verifiquen l'organització de consultes independents, la construcció de resultats estructurats i el comportament de les diferents modalitats de lliurament.

Un altre aspecte important és comprovar que el sistema pot deixar una pregunta sense resoldre quan no disposa de coneixement explícit suficient.

Aquest treball contribueix a mantenir la consistència entre el model de coneixement, el protocol i la informació lliurada als sistemes consumidors.

granollers.okai

granollers.okai is the simulation instance used to develop and validate OKAI within a defined territorial context.

The municipality of Granollers provides a practical environment for representing different types of public knowledge, including services, facilities, institutions, procedures, registers, grants and other administrative realities.

This diversity makes it possible to test how the knowledge model represents different realities and their relationships.

The instance incorporates knowledge progressively, according to the information represented and validated within its World.

granollers.okai is a development and simulation environment. It must not be confused with an official service of Granollers City Council.

Its primary purpose is to support the development and functional validation of the OKAI protocol.

granollers.okai és la instància de simulació utilitzada per desenvolupar i validar OKAI dins d'un context territorial definit.

El municipi de Granollers proporciona un entorn pràctic per representar diferents tipus de coneixement públic, incloent-hi serveis, equipaments, organismes, procediments, registres, ajuts i altres realitats administratives.

Aquesta diversitat permet comprovar com el model de coneixement representa diferents realitats i les seves relacions.

La instància incorpora coneixement progressivament, segons la informació representada i validada dins del seu World.

granollers.okai és un entorn de desenvolupament i simulació. No s'ha de confondre amb un servei oficial de l'Ajuntament de Granollers.

La seva finalitat principal és donar suport al desenvolupament i a la validació funcional del protocol OKAI.

OKAI has evolved from a knowledge representation model into a functional prototype capable of detecting, structuring and delivering explicit knowledge to AI systems.

OKAI ha evolucionat d'un model de representació del coneixement a un prototip funcional capaç de detectar, estructurar i lliurar coneixement explícit als sistemes d'IA.

© 2026 Denys Sanz · Tots els drets reservats OKAI — Protocol M2M v0.3.2